Skip to main content

FLUX.2 Klein 4B

FLUX.2 [klein] 4B is the fastest and most cost-effective model in the FLUX.2 family, optimized for high-throughput use cases while maintaining excellent image quality. Pricing is based on the output...

Model card on Hugging Face
Output price
$0.0085 per image
Context
41K tokens
Released
Jan 15, 2026
Agent setup

Paste into Claude Code, Cursor, or Codex

Help me set up the Respan gateway: fetch and follow https://www.respan.ai/docs/agent-setup.md. Use model "flux.2-klein-4b".

Read docs

Providers

3 providers, cheapest first, OpenRouter last, priced after gateway discounts.

ProviderInputOutput
EmpirioLabsempiriolabs/flux.2-klein-4b
—$0.0085/image
DeepInfradeepinfra/black-forest-labs/FLUX-2-klein-4b
—$0.013351/megapixel
OpenRouteropenrouter/flux.2-klein-4b
$0.00/M$3.417969/M

Is a provider down? OpenRouter status

Pricing

Averaged across 3 providers, in USD after gateway discounts.

Average input
$0.00 per 1M
Average output
$1.15 per image

Cost by volume

Total cost from 0 to 1T tokens.

$0.00/MOpenRouter

Throughput and latency

30-day averages from requests through the Respan gateway. Under each figure, every model on the gateway by its average, this one in blue.

Output speed

Higher is better

1166tokens/sacross providers

Faster than 97% of the other 599 models on the gateway

Response latency

Lower is better

6.1sacross providers

Faster than 27% of the other 780 models on the gateway

Apps

Use FLUX.2 Klein 4B in the tools you already run. Each guide points the app at the Respan gateway.

Setup guides for more apps are in the integration docs.

FLUX.2 Klein 4B FAQ

Short answers, built from the data on this page.

FLUX.2 Klein 4B is a model from Black Forest Labs, released on Jan 15, 2026. FLUX.2 [klein] 4B is the fastest and most cost-effective model in the FLUX.2 family, optimized for high-throughput use cases while maintaining excellent image quality. Pricing is based on the output...

On the Respan gateway, input starts at $0.00 per 1M tokens on every provider, and output starts at $0.0085 per image on EmpirioLabs, after gateway discounts. Averaged across its 3 providers, it costs $0.00 per 1M input tokens and $1.15 per image.

FLUX.2 Klein 4B is available through 3 providers: EmpirioLabs, DeepInfra, and OpenRouter.

FLUX.2 Klein 4B accepts up to 41K tokens of context on its largest provider route.

Point any OpenAI-compatible SDK at https://gateway.respan.ai/v1 with your Respan API key and set the model to "flux.2-klein-4b". To set it up with a coding agent, copy the agent setup prompt at the top of this page.

Certified where it counts.

Built to meet the security and privacy standards that enterprise and healthcare teams require.

ISO 27001

The internationally recognized standard for information security management.

SOC 2

Secure, compliant management of your data across all of our systems.

GDPR

Operated under GDPR, the world's strictest standard for data privacy.

HIPAA

HIPAA compliant, with a BAA available for healthcare teams.

Works with your entire stack

Use Respan with your favorite frameworks and tools.

AnthropicAI21 LabsxAIVercel AI SDK
LangChainOpenRouterAssemblyAICursor
LiteLLMGroqBasetenMem0
CohereCogneeLlamaIndexFireworks
DeepSeekLinkupHaystackTogether AI
PerplexityInference.netPostHogRubyLLM
SlackMastraAzure OpenAIMistral
AWS BedrockMoonshotHyperspellBAML
ModaInstructorGoogle GeminiParasail
ReductoZapierAgnoNebius
OpenAINovita AIReplicateSuperagent

Built for AI agents.
Break less.
Ship more.