FLUX.2 Klein 9B is Black Forest Labs' ultra-fast distilled text-to-image model on Workers AI, optimized for interactive workflows and low-latency previews.
Upstream Providers
ZDR only
Cloudflare AI Gateway
cloudflare
In$0.015 per first MP; $0.002 per subsequent MP; $0.002 per input image MPOut—TTFT1.0s
ZDR
Uptime & Health
No uptime data yet
These providers haven't been health-probed for this model yet. The router still routes around upstreams that fail live requests — uptime fills in once probe history accrues.
Code samplesall endpoints & SDKs
POST /api/v1/images/generations
curl https://anyrouter.dev/api/v1/images/generations \
-H "Authorization: Bearer $ANYROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "black-forest-labs/flux-2-klein-9b",
"prompt": "A photo of a Cloudflare-orange cloud, soft studio lighting"
}'No API key yetSet
ANYROUTER_API_KEY — Dashboard → KeysRequest examplereflects the filters above
{
"model": "black-forest-labs/flux-2-klein-9b",
"messages": [
{
"role": "user",
"content": "Say hi in 3 words."
}
]
}Change sort, ZDR, effort, or pin a provider to add routing params.