FLUX.1 Kontext Max
FLUX.1 Kontext Max is Black Forest Labs's experimental maximum-fidelity editing tier. It prioritizes typography accuracy, precise prompt adherence, and edit consistency for tasks where exact instruction fidelity is the primary requirement.
import { experimental_generateImage as generateImage } from 'ai';
const result = await generateImage({ model: 'bfl/flux-kontext-max', prompt: 'A red balloon on a wooden table.'});Playground
Try out FLUX.1 Kontext Max by Black Forest Labs. Usage is billed to your team at API rates. Free users (those who haven't made a payment) get $5 of credits every 30 days.
Providers
Route requests across multiple providers. Copy a provider slug to set your preference. Visit the docs for more info. Using a provider means you agree to their terms, listed under Legal.
| Provider |
|---|
P50 throughput on live AI Gateway traffic, in tokens per second (TPS). Visit the docs for more info.
P50 time to first token (TTFT) on live AI Gateway traffic, in milliseconds. View the docs for more info.
More models by Black Forest Labs
| Model |
|---|
About FLUX.1 Kontext Max
Black Forest Labs introduced FLUX.1 Kontext Max on June 1, 2025 alongside Kontext Pro, positioning it as the experimental, maximum-performance tier of the Kontext family. Black Forest Labs describes it as delivering "greatly improved prompt adherence and typography generation, and high consistency for editing, all without compromise on speed."
The defining use cases for Kontext Max over Kontext Pro are typography and exact instruction fidelity. Typography is notoriously difficult for generative image models. Rendering legible, accurate text within an image (a sign, a label, an overlay) requires the model to treat characters as precise visual elements rather than free-form strokes. Kontext Max targets this specifically: editing text content within an existing image, correcting labels, adding legible fine print, or generating scenes where on-screen text must be precise.
Prompt adherence is the other axis. Kontext Pro follows editing instructions reliably in an iterative workflow. Kontext Max raises the ceiling on how precisely those instructions execute. When detailed, multi-clause editing prompts specify exact colors, precise spatial arrangements, or specific visual attributes, Max is the variant to use.
Like all Kontext models, Max supports iterative multi-turn editing. Each output becomes the reference for the next turn, preserving character and style consistency across a sequence of changes.
What To Consider When Choosing a Provider
- Configuration: Black Forest Labs labels Kontext Max as experimental. It's the right model when you need the highest Kontext tier. If you prioritize throughput and iteration speed over maximum fidelity, evaluate Kontext Pro first. See $0.08 for current pricing.
- Zero Data Retention: AI Gateway does not currently support Zero Data Retention for this model. See the documentation for models that support ZDR.
- Authentication: AI Gateway authenticates requests using an API key or OIDC token. You do not need to manage provider credentials directly.
When to Use FLUX.1 Kontext Max
Best For
- Typography-critical editing: Changing text content, correcting signs or labels, or adding legible on-image text while preserving surrounding context
- High-precision prompt following: Detailed instructions specifying exact colors, precise layouts, or specific visual attributes must execute as literally as possible
- Higher-fidelity edits: Production workflows where Kontext Pro's edits don't follow the prompt closely enough
- Character and identity preservation: Complex editing sequences where consistency across turns is a hard requirement
Consider Alternatives When
- High-volume iteration: Kontext Pro targets fast-iteration editing where throughput and speed matter more than maximum precision
- Pure text-to-image generation: FLUX.2 Pro or FLUX.2 Max offer better raw generation quality when no reference image is used
- Real-time agent editing: FLUX.2 Klein targets sub-second latency inside an agent loop
Conclusion
FLUX.1 Kontext Max sits at the top of the Kontext family for prompt adherence and on-image text accuracy. When Kontext Pro's output doesn't match the editing instruction closely enough, or when text rendering accuracy is non-negotiable, Kontext Max is the appropriate next step.
Frequently Asked Questions
What does Kontext Max improve over Kontext Pro?
Black Forest Labs positions Kontext Max above Kontext Pro for prompt adherence and on-image text, at the same inference speed. Use Max when an edit instruction or on-image text must match the prompt more literally than Kontext Pro delivers.
Why is typography quality a differentiator for Kontext Max?
Rendering legible, accurate text within images is difficult for many generative models. Kontext Max targets on-image text edits: it can change text in a sign, label, or UI element while preserving surrounding context. It scores higher on those tasks than Kontext Pro.
Is Kontext Max suitable for multi-turn editing sessions?
Yes. Kontext Max shares the multi-turn iterative editing capability of the Kontext suite. Each output can serve as the reference image for the next editing step. That keeps character and style aligned across many sequential changes.
When should I choose Kontext Max over Kontext Pro?
Choose Max when the exact language of the edit instruction must be followed with maximum fidelity, or when text within images must be rendered accurately. Choose Pro when speed and iteration throughput are the primary concerns and moderate prompt adherence is sufficient.
Does the experimental designation affect reliability?
Black Forest Labs labels Kontext Max as experimental, meaning it's still being refined. The model is fully accessible through AI Gateway. Evaluate it on your specific editing tasks to confirm it meets your quality and consistency requirements before committing to a production integration.
What inference speed does Kontext Max achieve?
Kontext models achieve fast inference speeds relative to many competing models, and Kontext Max's improvements come "without compromise on speed."
What does FLUX.1 Kontext Max cost per image?
Current pricing is shown on this page. AI Gateway routes across providers, and rates may vary by provider.