LiteLLMModels

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.

By Black Forest LabsModel ID black_forest_labs/flux-kontext-maxPrices updated Checked
Per image
$0.08
Context window
4,096 tokens
Max output
4,096 tokens
Providers
2
Added to LiteLLM
December 2025

FLUX Kontext Max pricing by provider

2 listings across 2 providers. Token prices are in US dollars per 1M tokens. The highlighted row is the price quoted above.

ProviderModel name in LiteLLMPer imageInputOutputContext
Black Forest Labsblack_forest_labs/flux-kontext-max$0.08–––
Fireworks AIfireworks_ai/accounts/fireworks/models/flux-kontext-max–$0.08$0.084K

What FLUX Kontext Max costs in practice

Generating 1,000 images

Black Forest Labs$80.00

Use FLUX Kontext Max with LiteLLM

Call FLUX Kontext Max through the LiteLLM Python SDK, or put it behind the LiteLLM proxy and send OpenAI-format requests to /v1/images/edits. LiteLLM tracks the cost of every request at these prices.

Python SDK
from litellm import image_edit

response = image_edit(
    model="black_forest_labs/flux-kontext-max",
    image=open("image.png", "rb"),
    prompt="Describe your edit",
)
Proxy config.yaml
model_list:
  - model_name: flux-kontext-max
    litellm_params:
      model: black_forest_labs/flux-kontext-max
      # credentials: see the provider's LiteLLM docs page
Call the proxy
curl http://0.0.0.0:4000/v1/images/edits \
  -H "Authorization: Bearer sk-1234" \
  -F model="flux-kontext-max" \
  -F image=@image.png \
  -F prompt="Describe your edit"

FLUX Kontext Max 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.

Sources

Prices come from LiteLLM's open-source model_prices_and_context_window.json, which LiteLLM uses to calculate the cost of every request. Provider pricing pages:

LiteLLM docs: Black Forest Labs, Fireworks AI.

Provider pages: Black Forest Labs, Fireworks AI.