What Flux gives your agent

One key, any agent: every major model, picked for each kind of task, plus abilities your agent can call on the same key.

Your agent already has a brain. Flux gives it everything else, on one key.

Flux is a gateway that speaks the OpenAI and Anthropic APIs. Any agent or tool that lets you set a base URL and a key can use it, with no rewrite. You change the base URL, paste your Flux key, and the same agent keeps working.

One key, any agent

  • One key for every model. A single Flux key (sk-...) reaches every model on the gateway. No per-provider keys to juggle. The live list is on Models.
  • Any agent. Murage and Wayland have Flux built in. Claude Code, Codex, Cursor, Hermes, OpenClaw and Cline each have a setup page under Agents, and anything else with an OpenAI or Anthropic endpoint works too. See Connect your agent.
  • Drop-in compatible. Existing OpenAI or Anthropic SDK code works after a one-line base URL change.

Models, picked for the job

Send a request to flux-auto and Flux picks among vetted models for each kind of task, cost-aware. When you need the same model every time, pin it instead. See Let Flux pick, or pin a model and How routing works.

Abilities on the same key

Through the Flux tools server, your agent can call abilities as tools, billed to the same account. Your own code can call the same abilities over the API. Where each one stands today:

AbilityStatus
Read a pageLive
Search the webRolling out
Speech to textLive
Text to speechRolling out
Make and edit imagesLive
Use appsShipping
Second opinionRolling out
MemoryShipping

Some abilities reach agents as tools a little after they reach the API. Give your agent abilities shows both, what each badge means, and what is paid.

Two compatible APIs

Flux exposes both major wire formats on the same key.

OpenAI-compatible at https://api.fluxrouter.ai/v1:

  • POST /v1/chat/completions
  • POST /v1/responses
  • GET /v1/models

Authenticate with Authorization: Bearer sk-....

Anthropic-compatible at https://api.fluxrouter.ai/anthropic:

  • POST /anthropic/v1/messages

Point your Anthropic SDK's base_url at https://api.fluxrouter.ai/anthropic, with no /v1 on the end. The full endpoint list is in the API reference.

What it costs

Billing is pay as you go, by lane, and every response tells you which model answered. Current rates are on Pricing, and How billing works explains the rules.

Next

Get your key and connect your agent in a few minutes.