Black Forest LabsReleased on Jan 1, 2025

Flux 2 Flex: Benchmarks, Pricing & Context Window

Flux 2 Flex is a image generation model from Black Forest Labs, released in January 2025.

Max-quality image generation and editing with support for ten reference images

Input
TextImage
Output
Image

Flux 2 Flex examples

Recent arena outputs from Flux 2 Flex, picked from the highest-ranked matchups.

Flux 2 Flex 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-2-flex",
        "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 2 Flex pricing

Providers

Flux 2 Flex starts at $0.0500 per generated image via Fal. See all 2 providers below with their per-image pricing, latency, and modality support.

ProviderPrice $/imageLatency sInputOutput
Fal logoFal
$0.0500
Replicate logoReplicate
$0.0600

Flux 2 Flex benchmarks

Rankings

Performance by category and language

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

Quality Tracker

Similar Models

How Flux 2 Flex compares to its closest neighbors on each image arena it competes in.

Notice missing or incorrect data?

Flux 2 Flex license

Flux 2 Flex is released under the Proprietary license, which restricts commercial use.

License
Proprietary
Non-commercial

Proprietary license - usage restrictions apply

Models like Flux 2 Flex

Other image models ranked closest to Flux 2 Flex.

FAQ

Common questions about Flux 2 Flex.

Who created Flux 2 Flex?

Flux 2 Flex was created by Black Forest Labs.

What is the license for Flux 2 Flex?

Flux 2 Flex is released under the Proprietary license.

Is Flux 2 Flex multimodal?

Yes, Flux 2 Flex is multimodal and can accept both text and images as input.

Where can I use Flux 2 Flex?

Flux 2 Flex is available through 2 providers including Fal, Replicate.