[Black Forest Labs](/ai-gateway/models/labs/bfl)

# 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. Your use is subject to Black Forest Labs's [Terms](https://bfl.ai/legal/terms-of-service) & [Privacy](https://bfl.ai/legal/privacy-policy) Policies.

Image Gen

[Use with AI Gateway](https://vercel.com/d?to=%2F%5Bteam%5D%2F%7E%2Fai%3Futm_source%3Dgateway-model-page%26utm_campaign%3Dai-gateway-models&title=Get+Started+with+Vercel+AI+Gateway) [View docs](https://vercel.com/docs/ai-gateway)

AI SDKChat Completions

```
1import { experimental_generateImage as generateImage } from 'ai';
2

3const result = await generateImage({
4  model: 'bfl/flux-kontext-max',
5  prompt: 'A red balloon on a wooden table.'
6});
```

[Read docs](https://vercel.com/docs/ai-gateway/sdks-and-apis/ai-sdk)

[Overview](/ai-gateway/models/flux-kontext-max) [About](/ai-gateway/models/flux-kontext-max/about) [Providers](/ai-gateway/models/flux-kontext-max/providers) [Similar](/ai-gateway/models/flux-kontext-max/similar) [FAQ](/ai-gateway/models/flux-kontext-max/faq)

## [Copy link to heading](#playground)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.

![bfl logo](/vc-ap-vercel-marketing/_next/image?url=https%3A%2F%2F7nyt0uhk7sse4zvn.public.blob.vercel-storage.com%2Fdocs-assets%2Fstatic%2Fdocs%2Fai-gateway%2Flogos%2Fblackforestlabs.png&w=48&q=75)FLUX.1 Kontext Max

Prompt

Describe what you want the model to generate.

Reference images(optional)

Add up to 4 images

Aspect ratio

21:916:94:33:21:12:33:49:169:21

Images to generate

1234

![bfl logo](/vc-ap-vercel-marketing/_next/image?url=https%3A%2F%2F7nyt0uhk7sse4zvn.public.blob.vercel-storage.com%2Fdocs-assets%2Fstatic%2Fdocs%2Fai-gateway%2Flogos%2Fblackforestlabs.png&w=96&q=75)

Your generated image will appear here

## [Copy link to heading](#providers)Providers

Route requests across multiple providers. Copy a provider slug to set your preference. Visit the [docs](/docs/ai-gateway/provider-options) for more info. Using a provider means you agree to their terms, listed under Legal.

| Provider |
| --- |

| Input | Output | Cache | Web Search | Capabilities | ZDR | No Training | Release Date |  |
| --- | --- | --- | --- | --- | --- | --- | --- | --- |

| ![bfl logo](/vc-ap-vercel-marketing/_next/image?url=https%3A%2F%2F7nyt0uhk7sse4zvn.public.blob.vercel-storage.com%2Fdocs-assets%2Fstatic%2Fdocs%2Fai-gateway%2Flogos%2Fblackforestlabs.png&w=48&q=75) [Black Forest Labs](/ai-gateway/models/providers/bfl) Legal:[Terms](https://bfl.ai/legal/terms-of-service)•[Privacy](https://bfl.ai/legal/privacy-policy) |  | $0.08/img |  | — |  |  |  | 05/29/2025 |  |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |

## [Copy link to heading](#more-models-by-black-forest-labs)More models by Black Forest Labs

All

Image

Video

| Model |
| --- |

| Context | Latency | Throughput | Input | Output | Cache | Web Search | Capabilities | Providers | ZDR | No Training | Release Date |  |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |

| ![bfl logo](/vc-ap-vercel-marketing/_next/image?url=https%3A%2F%2F7nyt0uhk7sse4zvn.public.blob.vercel-storage.com%2Fdocs-assets%2Fstatic%2Fdocs%2Fai-gateway%2Flogos%2Fblackforestlabs.png&w=48&q=75) [bfl/flux\-3-video](/ai-gateway/models/flux-3-video) |  |  |  |  | $0.06/sec+5 more |  | — |  | ![bfl logo](/vc-ap-vercel-marketing/_next/image?url=https%3A%2F%2F7nyt0uhk7sse4zvn.public.blob.vercel-storage.com%2Fdocs-assets%2Fstatic%2Fdocs%2Fai-gateway%2Flogos%2Fblackforestlabs.png&w=48&q=75) |  |  | 08/04/2026 |  |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| ![bfl logo](/vc-ap-vercel-marketing/_next/image?url=https%3A%2F%2F7nyt0uhk7sse4zvn.public.blob.vercel-storage.com%2Fdocs-assets%2Fstatic%2Fdocs%2Fai-gateway%2Flogos%2Fblackforestlabs.png&w=48&q=75) [bfl/flux-2-klein-4b](/ai-gateway/models/flux-2-klein-4b) |  |  |  |  | $0.014/MP |  | — |  | ![bfl logo](/vc-ap-vercel-marketing/_next/image?url=https%3A%2F%2F7nyt0uhk7sse4zvn.public.blob.vercel-storage.com%2Fdocs-assets%2Fstatic%2Fdocs%2Fai-gateway%2Flogos%2Fblackforestlabs.png&w=48&q=75) |  |  | 01/15/2026 |  |
| ![bfl logo](/vc-ap-vercel-marketing/_next/image?url=https%3A%2F%2F7nyt0uhk7sse4zvn.public.blob.vercel-storage.com%2Fdocs-assets%2Fstatic%2Fdocs%2Fai-gateway%2Flogos%2Fblackforestlabs.png&w=48&q=75) [bfl/flux-2-klein-9b](/ai-gateway/models/flux-2-klein-9b) |  |  |  |  | $0.015/MP |  | — |  | ![bfl logo](/vc-ap-vercel-marketing/_next/image?url=https%3A%2F%2F7nyt0uhk7sse4zvn.public.blob.vercel-storage.com%2Fdocs-assets%2Fstatic%2Fdocs%2Fai-gateway%2Flogos%2Fblackforestlabs.png&w=48&q=75) |  |  | 01/15/2026 |  |
| ![bfl logo](/vc-ap-vercel-marketing/_next/image?url=https%3A%2F%2F7nyt0uhk7sse4zvn.public.blob.vercel-storage.com%2Fdocs-assets%2Fstatic%2Fdocs%2Fai-gateway%2Flogos%2Fblackforestlabs.png&w=48&q=75) [bfl/flux-2-flex](/ai-gateway/models/flux-2-flex) |  |  |  |  | $0.06/MP |  | — |  | ![bfl logo](/vc-ap-vercel-marketing/_next/image?url=https%3A%2F%2F7nyt0uhk7sse4zvn.public.blob.vercel-storage.com%2Fdocs-assets%2Fstatic%2Fdocs%2Fai-gateway%2Flogos%2Fblackforestlabs.png&w=48&q=75) |  |  | 11/25/2025 |  |
| ![bfl logo](/vc-ap-vercel-marketing/_next/image?url=https%3A%2F%2F7nyt0uhk7sse4zvn.public.blob.vercel-storage.com%2Fdocs-assets%2Fstatic%2Fdocs%2Fai-gateway%2Flogos%2Fblackforestlabs.png&w=48&q=75) [bfl/flux-kontext-pro](/ai-gateway/models/flux-kontext-pro) | 512 |  |  |  | $0.04/img |  | — |  | ![bfl logo](/vc-ap-vercel-marketing/_next/image?url=https%3A%2F%2F7nyt0uhk7sse4zvn.public.blob.vercel-storage.com%2Fdocs-assets%2Fstatic%2Fdocs%2Fai-gateway%2Flogos%2Fblackforestlabs.png&w=48&q=75) ![prodia logo](/vc-ap-vercel-marketing/_next/image?url=https%3A%2F%2F7nyt0uhk7sse4zvn.public.blob.vercel-storage.com%2Fdocs-assets%2Fstatic%2Fdocs%2Fai-gateway%2Flogos%2Fprodia.png&w=48&q=75) |  |  | 05/29/2025 |  |
| ![bfl logo](/vc-ap-vercel-marketing/_next/image?url=https%3A%2F%2F7nyt0uhk7sse4zvn.public.blob.vercel-storage.com%2Fdocs-assets%2Fstatic%2Fdocs%2Fai-gateway%2Flogos%2Fblackforestlabs.png&w=48&q=75) [bfl/flux-pro-1.0-fill](/ai-gateway/models/flux-pro-1.0-fill) |  |  |  |  | $0.05/img |  | — |  | ![bfl logo](/vc-ap-vercel-marketing/_next/image?url=https%3A%2F%2F7nyt0uhk7sse4zvn.public.blob.vercel-storage.com%2Fdocs-assets%2Fstatic%2Fdocs%2Fai-gateway%2Flogos%2Fblackforestlabs.png&w=48&q=75) |  |  | 10/01/2024 |  |

## [Copy link to heading](#about-flux1-kontext-max)About FLUX.1 Kontext Max

Black Forest Labs introduced FLUX.1 Kontext Max on May 29, 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.

## [Copy link to heading](#what-to-consider-when-choosing-a-provider)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: Zero Data Retention is offered on a per-provider and model basis. See the [documentation](https://vercel.com/docs/ai-gateway/security-and-compliance/zdr) for details.
- Authentication: AI Gateway authenticates requests using an [API key](https://vercel.com/docs/ai-gateway/authentication-and-byok#api-key-authentication) or [OIDC token](https://vercel.com/docs/ai-gateway/authentication-and-byok#oidc-token-authentication). You do not need to manage provider credentials directly.

## [Copy link to heading](#when-to-use-flux1-kontext-max)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

## [Copy link to heading](#conclusion)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.