Black Forest LabsReleased on Aug 1, 2024

Flux Kontext Max: Pricing, Performance & Examples

Flux Kontext Max is a image generation model from Black Forest Labs, released in August 2024, with a 1K-token context window.

A premium text-based image editing model that delivers maximum performance and improved typography generation for transforming images through natural language prompts

Input
TextImage
Output
Image

Flux Kontext Max examples

Recent arena outputs from Flux Kontext Max, picked from the highest-ranked matchups.

Flux Kontext Max API

POST/v1/generations

Set for image-to-image / editing models.

Run a request to see the response

Use it in your code

OpenAI-compatible endpoint through the LLM Stats gateway.

import requests

# Create the generation. wait="auto" long-polls (up to 60s) so most short
# jobs return as "completed" in a single round-trip.
res = requests.post(
    "https://gateway.llm-stats.com/v1/generations",
    headers={"Authorization": "Bearer YOUR_API_KEY"},
    json={
        "model": "flux-kontext-max",
        "input": {"prompt": "A beautiful sunset over mountains"},
        "wait": "auto",
    },
)
job = res.json()

# If it didn't finish inside the wait window, poll the same resource.
while job["status"] in ("queued", "running"):
    res = requests.get(
        f"https://gateway.llm-stats.com/v1/generations/{job['id']}",
        params={"wait": 60},
        headers={"Authorization": "Bearer YOUR_API_KEY"},
    )
    job = res.json()

if job["status"] == "completed":
    print("image:", job["output"]["media"][0]["url"])
else:
    print("Failed:", job["error"]["message"])

Need an API key? Create one above in the playground, or read the API documentation.

Flux Kontext Max pricing

Providers

Flux Kontext Max starts at $0.0800 per generated image via Replicate.

ProviderPrice $/imageLatency sModalities in / out
Replicate logoReplicate
$0.0800
0.00
/

Flux Kontext Max latency

Flux Kontext Max time to first token, sustained output throughput, and failed-request rate from live API traffic over the trailing 7 days.

Provider operational metrics

Time to first token, output throughput, and failed-request rate from live API traffic

Loading chart...
Loading chart...
Loading chart...

Flux Kontext Max benchmarks

Rankings

Performance by category and language

Where Flux Kontext Max is strongest across prompt themes and languages. Conservative TrueSkill score (μ − 3σ), only axes with 3+ votes.

Quality Tracker

Similar Models

How Flux Kontext Max compares to its closest neighbors on each image arena it competes in.

Notice missing or incorrect data?

Flux Kontext Max license

Flux Kontext Max is a proprietary model available under its provider's product and API terms.

License
Proprietary
Hosted access

Proprietary license - usage restrictions apply

Models like Flux Kontext Max

Other image models ranked closest to Flux Kontext Max.

FAQ

Common questions about Flux Kontext Max.

Who created Flux Kontext Max?

Flux Kontext Max was created by Black Forest Labs.

What is the license for Flux Kontext Max?

Flux Kontext Max is released under the Proprietary license.

Is Flux Kontext Max multimodal?

Yes, Flux Kontext Max is multimodal and can accept both text and images as input.

Where can I use Flux Kontext Max?

Flux Kontext Max is available through 1 provider including Replicate.