LiteLLMLiteLLM/ MODELS

FLUX 2 Klein 4B API Pricing

By Black Forest Labs · 2 providersreplicate/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.

Prices updated Checked

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.

FLUX 2 Klein 4B prices by provider in US dollars, token prices per 1M tokens, as of November 21, 2026. Source: LiteLLM model price file.
ProviderModel name in LiteLLMPer imageContext
Replicatereplicate/black-forest-labs/flux-2-klein-4b––
falfal_ai/fal-ai/flux-2/klein/4b$0.005–
falfal_ai/fal-ai/flux-2/klein/4b/edit$0.01–

FLUX 2 Klein 4B features

Input: image.

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.

Python SDK
from litellm import image_generation

response = image_generation(
    model="replicate/black-forest-labs/flux-2-klein-4b",
    prompt="A cute baby sea otter",
)
Proxy config.yaml
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 page
Call the proxy
curl 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

DatePrice
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:

LiteLLM docs: Replicate, fal.

Provider pages: Replicate, fal.