Back to Models

FLUX.1 Kontext Max

black-forest-labsblack-forest-labs/flux-kontext-max

Highest-quality FLUX.1 Kontext variant. Slower than Pro but yields the best edit fidelity.

FLUX.1 Kontext [max] is Black Forest Labs' premium hosted image-editing model released May 29, 2025 alongside [pro]. It is the highest-fidelity tier in the Kontext suite, delivering maximum prompt adherence, typography quality, and editing consistency without compromising inference speed (3-5 seconds at 1 MP). The model is closed-source and available exclusively through BFL's hosted API (and partners such as SiliconFlow).

For TheRouter operators, [max] is the premium tier for production workflows that prioritize visual fidelity over cost β€” typography-heavy designs, brand assets, and multi-turn editing sessions where every pixel matters. It is served at twice the per-image price of [pro] ($0.08 vs $0.04) and shares the same asynchronous API contract, supported parameters, and regional endpoints.

Best for
  • β€’ Typography-heavy designs, brand assets, marketing creatives, and any workflow where text legibility inside images is critical.
  • β€’ Highest-fidelity iterative editing sessions requiring minimal visual drift across many turns.
Reach for something else if
  • β€’ Cost-sensitive or high-volume batch generation β€” use [pro] or [dev] for better price/performance.
  • β€’ Self-hosting or on-prem deployment β€” [max] is hosted-only; open weights are only available for the [dev] variant.
Context Length
--
Max Output
--
Image Priceper request
$0.0864/ image
Input Priceper request
$0.0864/ 1M tokens

Modalities

textimage→image

Capabilities

VisionImage GenerationImage Edit

Media Generation Capabilities

image_edit
sizes
  • 1024x1024
  • 1024x1536
  • 1536x1024
  • 1280x720
  • 720x1280
aspect_ratios
  • 1:1
  • 16:9
  • 9:16
  • 4:3
  • 3:4
max_reference_images
1
defaults
size
1024x1024

Pricing Breakdown

TypeRate
Image$0.0864 / image
Input$0.0864 / 1M tokens
Per image$0.0864 / image

Per-image flat fee. Black Forest Labs' published price: FLUX.1 Kontext [max] $0.08/image (bfl.ai/pricing, FLUX.1 tab, read 2026-07-29).

Supported Parameters

promptsizeimageseedaspect_ratioprompt_upsamplingsafety_tolerance

Specifications

Release date2025-05-29bfl.ai β†—verified
AvailabilityHosted API only (BFL global + regional endpoints; SiliconFlow via TheRouter)docs.bfl.ai β†—verified
Inference speed3-5 seconds at 1 MP (reported by BFL)www.businesswire.com β†—verified
License / accessCommercial via BFL API and authorized partners only; no open weightsbfl.ai β†—verified
Training cutoff / dataNot publicly disclosedunknown

API Usage Examples

Use the global api.therouter.ai endpoint shown below for new integrations; the legacy China accelerated endpoint is retired.

Recommended: use the async API

Image generation typically takes 30–180s, beyond the edge sync timeout. The examples below use the ?async=true submit + poll pattern. Read the full async image generation & edit guide β†’

cURL
# 1) Submit job (returns 202 immediately with a polling URL).
# Image generation takes 30-180s β€” always use the async path in production.
JOB=$(curl -s -X POST "https://api.therouter.ai/v1/images/generations?async=true"   -H "Content-Type: application/json"   -H "Authorization: Bearer $THE_ROUTER_API_KEY"   -d '{
    "model": "black-forest-labs/flux-kontext-max",
    "prompt": "A cinematic product render with soft studio lighting"
  }' | python3 -c "import sys,json;print(json.load(sys.stdin)['id'])")
echo "submitted: $JOB"

# 2) Poll until terminal (succeeded / failed / cancelled / expired).
while :; do
  R=$(curl -s "https://api.therouter.ai/v1/jobs/$JOB"     -H "Authorization: Bearer $THE_ROUTER_API_KEY")
  S=$(echo "$R" | python3 -c "import sys,json;print(json.load(sys.stdin)['status'])")
  echo "status: $S"
  case "$S" in
    succeeded) echo "$R" | python3 -c "import sys,json;print(json.load(sys.stdin)['unsigned_urls'][0])"; break ;;
    failed|cancelled|expired) echo "$R"; exit 1 ;;
  esac
  sleep 5
done

Image Editing Examples

Upload an image and describe the edit you want with a text prompt; the model returns the edited image as base64.

cURL
# Same async submit + poll pattern as /v1/images/generations.
JOB=$(curl -s -X POST "https://api.therouter.ai/v1/images/edits?async=true"   -H "Authorization: Bearer $THE_ROUTER_API_KEY"   -F "model=black-forest-labs/flux-kontext-max"   -F "prompt=Turn this scene into a watercolor painting"   -F "size=1024x1024"   -F "image=@input.png" | python3 -c "import sys,json;print(json.load(sys.stdin)['id'])")
echo "submitted: $JOB"

while :; do
  R=$(curl -s "https://api.therouter.ai/v1/jobs/$JOB"     -H "Authorization: Bearer $THE_ROUTER_API_KEY")
  S=$(echo "$R" | python3 -c "import sys,json;print(json.load(sys.stdin)['status'])")
  echo "status: $S"
  case "$S" in
    succeeded) echo "$R" | python3 -c "import sys,json;print(json.load(sys.stdin)['unsigned_urls'][0])"; break ;;
    failed|cancelled|expired) echo "$R"; exit 1 ;;
  esac
  sleep 5
done

More from black-forest-labs

Similar models

Cross-provider sibling models

News & changes

2025-05-29

Black Forest Labs launches FLUX.1 Kontext [pro] and [max]

BFL announced the Kontext suite at the end of May 2025, introducing two closed hosted models ([pro] and the premium [max]) alongside a private beta of the open-weight [dev] variant. The announcement highlighted 3-5 second inference at 1 MP, state-of-the-art character consistency, and the introduction of KontextBench for evaluation.

re-authored by TheRouterbfl.ai β†—

Frequently asked

What is the difference between Kontext [max] and [pro]?

[max] is the premium tier focused on maximum prompt adherence, typography quality, and editing consistency. It runs at the same advertised speed (3-5 s at 1 MP) but commands twice the per-image price on SiliconFlow. [pro] remains the recommended default for most production workloads.

re-authored by TheRouterbfl.ai β†—
Can I self-host FLUX.1 Kontext [max]?

No. [max] is a closed, hosted-only model. The only open-weight Kontext variant is [dev] (12B), which is available on Hugging Face and compatible with existing FLUX.1 [dev] inference stacks.

re-authored by TheRouterbfl.ai β†—
Fact ledger β€” every claim on this page traces here
sourceURLretrieved
Release datebfl.ai β†—2026-05-25verified
Availabilitydocs.bfl.ai β†—2026-05-25verified
Inference speedwww.businesswire.com β†—2026-05-25verified
License / accessbfl.ai β†—2026-05-25verified
Training cutoff / dataβ€”β€”unknown
Black Forest Labs launches FLUX.1 Kontext [pro] and [max]bfl.ai β†—2026-05-25verified
What is the difference between Kontext [max] and [pro]?bfl.ai β†—2026-05-25to verify
Can I self-host FLUX.1 Kontext [max]?bfl.ai β†—2026-05-25to verify
Help & contact