FLUX 2 Klein 4B API Pricing
replicate/black-forest-labs/flux-2-klein-4b- Price
- $0.001 per megapixel
As of November 21, 2026, FLUX 2 Klein 4B costs $0.001 per megapixel from Replicate, the lowest of 2 providers.
FLUX 2 Klein 4B pricing by provider
3 listings across 2 providers. Token prices are in US dollars per 1M tokens. The highlighted row is the price quoted above.
| Provider | Model name in LiteLLM | Per image | Context |
|---|---|---|---|
| Replicate | replicate/black-forest-labs/flux-2-klein-4b | – | – |
| fal | fal_ai/fal-ai/flux-2/klein/4b | $0.005 | – |
| fal | fal_ai/fal-ai/flux-2/klein/4b/edit | $0.01 | – |
FLUX 2 Klein 4B features
Input: image.
- Image input
Use FLUX 2 Klein 4B with LiteLLM
Call FLUX 2 Klein 4B through the LiteLLM Python SDK, or put it behind the LiteLLM proxy and send OpenAI-format requests to /v1/images/generations. LiteLLM tracks the cost of every request at these prices.
from litellm import image_generation
response = image_generation(
model="replicate/black-forest-labs/flux-2-klein-4b",
prompt="A cute baby sea otter",
)model_list:
- model_name: flux-2-klein-4b
litellm_params:
model: replicate/black-forest-labs/flux-2-klein-4b
# credentials: see the provider's LiteLLM docs pagecurl http://0.0.0.0:4000/v1/images/generations \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $LITELLM_API_KEY" \
-d '{
"model": "flux-2-klein-4b",
"prompt": "A cute baby sea otter",
"n": 1,
"size": "1024x1024"
}'FLUX 2 Klein 4B price history
| Date | Price |
|---|---|
| November 10, 2026 | $0.005 per image |
| November 11, 2026 | $0.001 per megapixel |
FLUX 2 Klein 4B FAQ
How much does FLUX 2 Klein 4B cost?
FLUX 2 Klein 4B costs $0.001 per megapixel from Replicate, the lowest of 2 providers.
Which providers offer FLUX 2 Klein 4B?
FLUX 2 Klein 4B is available from 2 providers through LiteLLM: Replicate and fal.
How do I call FLUX 2 Klein 4B with an OpenAI-compatible API?
Use the LiteLLM Python SDK with model="replicate/black-forest-labs/flux-2-klein-4b", or add the model to the LiteLLM proxy's config.yaml and send requests to /v1/images/generations from any OpenAI client. LiteLLM tracks the cost of every request at the prices on this page.
What features does FLUX 2 Klein 4B support?
FLUX 2 Klein 4B supports image input.
When did LiteLLM add FLUX 2 Klein 4B?
FLUX 2 Klein 4B was added to LiteLLM's model price file on November 10, 2026.
Sources
Prices come from LiteLLM's open-source model_prices_and_context_window.json, which LiteLLM uses to calculate the cost of every request. Maintainers update it from each provider's published pricing, and this page is usually rebuilt within 20 minutes of every change. Provider pricing pages: