Skip to content

FLUX.2 [schnell] API

undefineds max · up to 2K · Released Feb 25, 2026 · By Black Forest Labs · Apache 2.0

FLUX.2 [schnell] costs $0.0018 per image, against an official rate of $0.003 — 40% below official pricing. It is a Black Forest Labs model under the Apache 2.0 licence, callable through an OpenAI-compatible endpoint with the model id `black-forest-labs/flux-2-schnell`. This model is listed for reference and is not currently served by an upstream provider, so requests for it return no available channel.

Not currently available. No configured upstream serves this model, so a request for it returns no available channel. The rate below is what it will cost when it is enabled.

Input

$0.0018/img

$0.0030/img

Billing

per image

no per-job minimum

Savings

40%

off official

  • No markup
  • OpenAI SDK compatible
  • No minimum spend
  • Apache 2.0

Four-step distilled generation under Apache 2.0. Fast and cheap enough to put image generation directly in a user-facing loop.

Copy this and go

The model id is already filled in. Nothing in this snippet needs editing except your key.

from openai import OpenAI

client = OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://router.xark.io/api/v1"   # ← the only line that changes
)

response = client.chat.completions.create(
    model="black-forest-labs/flux-2-schnell",
    messages=[{"role": "user", "content": "Hello"}]
)

FLUX.2 [schnell] pricing across providers

Rates as published by each provider. We update these when they change; if you spot one that's stale, tell us and we'll fix it.

ProviderInputOutput
AI Token Router$0.0018/img
Official (Black Forest Labs)$0.0030/img
Replicate$0.0035/img
fal.ai$0.0030/img
OpenRouterNot offered

What it's good at

  • User-facing real-time image generation
  • High-volume thumbnail and variant production
  • Prototyping before committing to a heavier model
Full technical documentation

Related

Other image models

FLUX.2 [schnell] questions

Every figure below is read from the same catalogue entry as the table above, so the two cannot disagree.

What does FLUX.2 [schnell] cost on AI Token Router, and what is the official rate?

FLUX.2 [schnell] is billed at $0.0018 per image here, against Black Forest Labs's official $0.0030 — 40% below, or $0.0012 per image back. There is no platform fee, no minimum spend and no per-job surcharge on top of that rate, and failed requests are not billed. The official figure is published next to ours because a discount with no stated benchmark is not a claim anyone can check.

Can I call FLUX.2 [schnell] right now?

No. FLUX.2 [schnell] is catalogued but not currently servable — no configured upstream provider carries it, so a request naming `black-forest-labs/flux-2-schnell` returns `no available channel` instead of a result. The rate on this page is what it will cost once an upstream serves it, not something you can spend today. The image models you can call today are Qwen-Image. 7 of the 24 catalogued models are callable, and every page says which it is.

How do I generate an image with FLUX.2 [schnell]?

POST to `https://router.xark.io/api/v1/images/generations` with `"model": "black-forest-labs/flux-2-schnell"` and a prompt, or call `images.generate` on an OpenAI SDK pointed at `https://router.xark.io/api/v1`. The request and response shapes follow the OpenAI images API, so an existing integration needs the base URL and the model id changed and nothing else. The bare name `flux-2-schnell`, without the provider prefix, resolves to the same model.

What resolution does FLUX.2 [schnell] output, and what counts as one billable image?

FLUX.2 [schnell] outputs at up to 2K. Billing is per generated image at $0.0018/img — one rate, so resolution, prompt length and the number of denoising steps do not change what you are charged, and a request that fails is not billed at all. Asking for several images in one call bills as that many images, which is the same as making the calls separately.

What licence is FLUX.2 [schnell] under, and can I use it commercially?

FLUX.2 [schnell] is published by Black Forest Labs under the Apache 2.0 licence. Apache 2.0 is a standard permissive licence: commercial use, modification and redistribution are allowed, subject to keeping the notices and stating what you changed. It also carries an explicit patent grant from the contributors, which terminates if you bring a patent claim over the work — that grant is usually the reason a legal team prefers it to MIT. No user threshold and no field-of-use restriction apply.

How does FLUX.2 [schnell] pricing here compare with other providers carrying it?

Of the 2 other providers we track carrying FLUX.2 [schnell], the lowest is fal.ai at $0.0030/img, against our $0.0018/img. That is where the rates stood when we last reconciled them, and it can change without notice — we are not claiming to be the cheapest source for this model, only that our rate sits below Black Forest Labs's official $0.0030/img. If you find one of these figures stale, tell us and we will correct it.

What is FLUX.2 [schnell] actually good at?

Four-step distilled generation under Apache 2.0. Fast and cheap enough to put image generation directly in a user-facing loop. In practice that points at user-facing real-time image generation, high-volume thumbnail and variant production and prototyping before committing to a heavier model. The specifics that actually decide a fit — the rate, the licence and what it will and will not serve today — are all on this page rather than behind a sales conversation.

Start using FLUX.2 [schnell] today

$5 in free credits, no credit card required.