FLUX 2 Klein 4B
Image
API id
4bInput / 1M
-
not listed
Output / 1M
-
not listed
Context window
-
tokens
Max output
-
tokens per reply
Hosts
2
2 listings
Released
-
date not published
Where to run it
2 hosts serve FLUX 2 Klein 4B. The comparison is on blended price, 3 parts input to 1 part output.
Capabilities
Core
- Streaming
- Function calling
- JSON mode
- Structured outputs
Multimodal
- Vision
- Image input
- Audio
- Image generation
- Video
Advanced
- Reasoning
- Tool calling
- MCP
- Prompt caching
- Batch API
- Embeddings
- Takes in
- Text
- Produces
- Images
Similar models
This model has no listed price, so these are current models with similar capabilities.
Smaller Black Forest Labs models
No similar Black Forest Labs model keeps its key capabilities.
Other frontier labs
Open-weight picks
No similar open-weight match.
Call it
Using fal's API.
Python
from litellm import completion
response = completion(
model="fal_ai/4b",
messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)Quick answers
Which APIs offer FLUX 2 Klein 4B?
FLUX 2 Klein 4B runs on 2 APIs: fal and Replicate.
Is FLUX 2 Klein 4B being retired?
No retirement date is scheduled for it on any API we track.
What is FLUX 2 Klein 4B's API model id?
Use 4b with fal. Other hosts use their own ids: flux-2-klein-4b on Replicate.
Sources
Raw catalog entry for 4b on fal
{
"litellm_provider": "fal_ai",
"metadata": {
"notes": "fal bills fal-ai/flux-2/klein/4b at $0.005 per megapixel, rounding each image up to the nearest megapixel. The per-pixel rate is used when Fal reports the output size, and the flat per-image price prices the default 1 MP output like the sibling flux entries"
},
"mode": "image_generation",
"output_cost_per_image": 0.005,
"output_cost_per_pixel": 4.76837158203125e-9,
"source": "https://fal.ai/models/fal-ai/flux-2/klein/4b",
"supported_endpoints": [
"/v1/images/generations"
]
}