FLUX 2 Klein 4B Base
Image
API id
baseInput / 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 Base. 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/base",
messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)Quick answers
Which APIs offer FLUX 2 Klein 4B Base?
FLUX 2 Klein 4B Base runs on 2 APIs: fal and Replicate.
Is FLUX 2 Klein 4B Base being retired?
No retirement date is scheduled for it on any API we track.
What is FLUX 2 Klein 4B Base's API model id?
Use base with fal. Other hosts use their own ids: flux-2-klein-4b-base on Replicate.
Sources
Raw catalog entry for base on fal
{
"litellm_provider": "fal_ai",
"metadata": {
"notes": "fal bills fal-ai/flux-2/klein/4b/base at $0.009 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.009,
"output_cost_per_pixel": 8.58306884765625e-9,
"source": "https://fal.ai/models/fal-ai/flux-2/klein/4b/base",
"supported_endpoints": [
"/v1/images/generations"
]
}