# FLUX Kontext Max API Pricing

As of October 10, 2026, FLUX Kontext Max costs $0.08 per image on Black Forest Labs. It has a 4,096-token context window and returns up to 4,096 tokens per response.

- Page: https://models.litellm.ai/models/flux-kontext-max
- Lab: Black Forest Labs
- LiteLLM model name: `black_forest_labs/flux-kontext-max`
- Context window: 4,096 tokens
- Max output: 4,096 tokens
- Added to LiteLLM: December 2025
- Prices updated: October 10, 2026

## Pricing by provider

Token prices in USD per 1M tokens.

| Provider | Model name | Input | Output | Cache read | Per image | Per second | Context |
|---|---|---|---|---|---|---|---|
| Black Forest Labs | `black_forest_labs/flux-kontext-max` | – | – | – | $0.08 | – | – |
| Fireworks AI | `fireworks_ai/accounts/fireworks/models/flux-kontext-max` | $0.08 | $0.08 | – | – | – | 4K |

## Cost examples

Generating 1,000 images:

- Black Forest Labs: $80.00

## Use it with LiteLLM

```python
from litellm import image_edit

response = image_edit(
    model="black_forest_labs/flux-kontext-max",
    image=open("image.png", "rb"),
    prompt="Describe your edit",
)
```

## FAQ

### How much does FLUX Kontext Max cost?

FLUX Kontext Max costs $0.08 per image on Black Forest Labs.

### What is the context window of FLUX Kontext Max?

FLUX Kontext Max has a 4,096-token context window and returns up to 4,096 tokens per response.

### Which providers offer FLUX Kontext Max?

FLUX Kontext Max is available from 2 providers through LiteLLM: Black Forest Labs and Fireworks AI.

### How do I call FLUX Kontext Max with an OpenAI-compatible API?

Use the LiteLLM Python SDK with model="black_forest_labs/flux-kontext-max", or add the model to the LiteLLM proxy's config.yaml and send requests to /v1/images/edits from any OpenAI client. LiteLLM tracks the cost of every request at the prices on this page.

### When did LiteLLM add FLUX Kontext Max?

FLUX Kontext Max was added to LiteLLM's model price file in December 2025.

Source: LiteLLM model price file, https://github.com/BerriAI/litellm/blob/main/model_prices_and_context_window.json
