black-forest-labs logo
black-forest-labs

Black Forest Labs: FLUX.2 Klein 4B

Source description (English)

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. Pricing is based on the output...

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 output
$0.014
per megapixel
API

Quick start

Set OPENROUTER_API_KEY locally. Python requires requests; JavaScript runs in Node.js. Keep the key on the server.

API documentation

curl --fail-with-body https://openrouter.ai/api/v1/images \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"black-forest-labs/flux.2-klein-4b","prompt":"A sunlit mountain landscape"}'
Capabilities

InputOutput

Input
textimage
Output
image
API

Supported API parameters

seed
Available providers

1 Provider

Checked: September 7, 2026

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

Not provided
Context
41K
Maximum output
37K
black-forest-labs

4 models

All models