LiteLLMLiteLLM/ MODELS

FLUX Kontext Max API Pricing

By Black Forest Labs · 3 providersblack_forest_labs/flux-kontext-max
Price
$0.08 per image
Context
4K tokens
Max output
4K tokens

As of November 24, 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.

Prices updated Checked

FLUX Kontext Max pricing by provider

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

FLUX Kontext Max prices by provider in US dollars, token prices per 1M tokens, as of November 24, 2026. Source: LiteLLM model price file.
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
Replicatereplicate/black-forest-labs/flux-kontext-max$0.08–––

What FLUX Kontext Max costs in practice

Generating 1,000 images

Black Forest Labs$80.00
Replicate$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 $LITELLM_API_KEY" \
  -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 3 providers through LiteLLM: Black Forest Labs, Fireworks AI and Replicate.

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. Maintainers update it from each provider's published pricing, and this page is usually rebuilt within 20 minutes of every change. Provider pricing pages:

LiteLLM docs: Black Forest Labs, Fireworks AI, Replicate.

Provider pages: Black Forest Labs, Fireworks AI, Replicate.