Black Forest Labs: FLUX.2 Klein 4B
One API key. Live prices. Ready-to-run code.
2 Klein 4B is Black Forest Labs' compact, fast image generation and editing model designed for low-latency inference and efficient local deployment. 0 license.
Served on OneInfer by DeepInfra, Black Forest Labs and fal. Use it with the same API key and pay-as-you-go wallet as every other model in the catalog.
blackforestlabs/flux-2-klein-4bCall FLUX.2 Klein 4B in 5 steps
DeepInfra, Black Forest Labs and fal serve this model. The pricing table below lists each provider’s rate.
- Image generation
- from $0.0050 / image
- Context
- 41K
- Input
- text, image
- Output
- image
- Tool calling
- Not listed
About this model
FLUX.2 Klein 4B is Black Forest Labs' compact, fast image generation and editing model designed for low-latency inference and efficient local deployment. It uses a 4-billion-parameter flow-based architecture and supports text-to-image generation, image-to-image editing, and multi-reference visual composition. The model is suitable for rapid prototyping, interactive creative applications, local image generation, and resource-conscious deployment. The open-weight 4B variant is available under the Apache 2.0 license.
Input modalities
text
Accepted as model input
image
Accepted as model input
Providers
Available routing options for this model through OneInfer.
- Available
- Image generation
- $0.015 / image
- Image generation
- $0.0050 / image
- Routing
- OneInfer optimized
- Available
- Image generation
- $0.014 / image
- Image generation
- $0.015 / image
- Routing
- OneInfer optimized
- Available
- Image generation
- $0.0050 / image
- Image generation
- $0.010 / image
- Routing
- OneInfer optimized
Pricing
Current OneInfer pricing for this model.
| Usage | Price |
|---|---|
| Image generationstandard, 1024x1024 | $0.0050 / image |
| Image generationstandard, 512x512 | $0.0050 / image |
| Image generationstandard, 768x768 | $0.0087 / image |
| Image generationstandard, 1024x768 | $0.012 / image |
| Image generationstandard, 768x1024 | $0.012 / image |
| Image generationstandard, 1280x768 | $0.014 / image |
| Image generationstandard, 768x1280 | $0.014 / image |
| Image generationstandard, 1024x1536 | $0.010 / image |
| Image generationstandard, 1536x1024 | $0.010 / image |
| Image generationstandard, 1536x1536 | $0.015 / image |
| Image generationstandard, 1920x1088 | $0.010 / image |
| Image generationstandard, 1088x1920 | $0.010 / image |
| Image generationstandard, 1024x2048 | $0.010 / image |
| Image generationstandard, 2048x1024 | $0.010 / image |
| Image generationstandard, 2048x2048 | $0.017 / image |
Performance and benchmarks
Independent evaluations and live cluster operational metrics
We haven’t measured this model yet.
API guide
Generate your access token
Use your API key to generate the JWT access token required by the Models API.
Add the JWT token
Copy the generated JWT token and replace
JWT_TOKENin the example below.Check your credits
If your balance is too low, before calling the model.
Run the API example
Choose your preferred language, copy the example, and send your first model request.
curl -X POST https://api.oneinfer.ai/v1/ula/generate-image \ -H "Authorization: Bearer YOUR_JWT_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "model": "blackforestlabs/flux-2-klein-4b", "messages": [ { "role": "user", "content": "A futuristic city skyline at dusk" } ], "number": 1, "size": "1024x1024", "quality": "standard" }'
Community reviews and ratings
Visitor and developer evaluations of Black Forest Labs: FLUX.2 Klein 4B's real-world intelligence, code accuracy, and speed
Top community tags
No community reviews yet
Be the first to share developer feedback on Black Forest Labs: FLUX.2 Klein 4B's latency, code accuracy, and reliability in production.