black-forest-labs logo
black-forest-labs

Black Forest Labs: FLUX.2 Klein 4B

FLUX.2 [klein] 4B is the fastest and most cost-effective model in the FLUX.2 family, optimized for high-throughput use cases while maintaining excellent image quality. Priced at $0.014 per megapixel. 40,960 token context window. Includes independent benchmarks from Artificial Analysis.

Overview

Model specifications

Context
40,960 tokens
Maximum output
36,864 tokens
Architecture
text+image->image
Tokenizer
Other
Knowledge cutoff
Not provided
Moderated
No
OPENROUTER

Complete pricing

Synchronized OpenRouter rates. Token prices are shown per one million tokens.

Image
$0.014
/megapixel
API

Quick start

Call this exact model ID through OpenRouter’s OpenAI-compatible API.

curl https://openrouter.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"black-forest-labs/flux.2-klein-4b","messages":[{"role":"user","content":"Hello!"}]}'
Capabilities

InputOutput

Input
textimage
Output
image
API

Supported API parameters

seed
Available providers

1 Provider

Live providers on OpenRouter

Provider availability, latency, throughput and routing can change continuously. Open the source page for current operational data.

OpenRouter

Black Forest Labs

unknown
Context
41K
Maximum output
37K
Input
Free
Output
Free
Cache read
Not provided
Cache write
Not provided
black-forest-labs

models

All models