LiteLLMModels

FLUX Kontext Pro API Pricing

As of October 10, 2026, FLUX Kontext Pro costs $0.04 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-proPrices updated Checked
Per image
$0.04
Context window
4,096 tokens
Max output
4,096 tokens
Providers
2
Added to LiteLLM
December 2025

FLUX Kontext Pro 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-pro$0.04–––
Fireworks AIfireworks_ai/accounts/fireworks/models/flux-kontext-pro–$0.04$0.044K

What FLUX Kontext Pro costs in practice

Generating 1,000 images

Black Forest Labs$40.00

Use FLUX Kontext Pro with LiteLLM

Call FLUX Kontext Pro 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-pro",
    image=open("image.png", "rb"),
    prompt="Describe your edit",
)
Proxy config.yaml
model_list:
  - model_name: flux-kontext-pro
    litellm_params:
      model: black_forest_labs/flux-kontext-pro
      # 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-pro" \
  -F image=@image.png \
  -F prompt="Describe your edit"

FLUX Kontext Pro FAQ

How much does FLUX Kontext Pro cost?

FLUX Kontext Pro costs $0.04 per image on Black Forest Labs.

What is the context window of FLUX Kontext Pro?

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

Which providers offer FLUX Kontext Pro?

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

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

Use the LiteLLM Python SDK with model="black_forest_labs/flux-kontext-pro", 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 Pro?

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