OmniRoute logo

Run OmniRoute on FLUX-2-klein-4b

by Diego SouzaCoding agentomniroute.online

OmniRoute is an open-source gateway you run yourself: one endpoint in front of 350 providers, with quota-aware fallback, token compression, and MCP support, built for Claude Code, Codex, Cursor, OpenCode, Cline and Copilot. Opper is listed in its provider catalogue, so you paste your Opper key once under Providers and every agent you point at OmniRoute can pick from Opper's 700+ models, EU-hosted routes included, alongside whatever else you have configured.

RunOmniRoute logoOmniRouteonin

Connect OmniRoute to FLUX-2-klein-4b

Add Opper in OmniRoute

In OmniRoute (v3.8.51 or later), open Providers → API key providers, pick Opper and paste your key; on older builds add a custom OpenAI-compatible provider with base URL https://api.opper.ai/v3/compat. Then pick FLUX-2-klein-4b.

Model id
Get your API key

Where you can run it

FLUX-2-klein-4b runs on the routes below. Route only to EU providers when your data has to stay in Europe.

ProviderRegionZero data retentionTrainingInputOutput
DeepInfraUSNo——

The model

by Black Forest Labs

FLUX-2-klein-4b by Black Forest Labs, lightweight 4B parameter Apache 2.0 model for fast local image generation and editing on consumer GPUs.

Available on

Pricing$0.014 / megapixel

Privacy

ZDR
Training
No
Region
US

More apps on Opper

Run OmniRoute on FLUX-2-klein-4b

One key, 700+ models, a choice of region, and zero data retention. Switch the model behind your app without changing your workflow.

Get startedView Documentation