Documentation

Get your agent working, give it abilities, then dig into the reference.

Get your agent working

Get your key, then pick your agent. One key works with any agent.

Start here

Get your key, connect your agent, then give it abilities. Three steps, a few minutes.

Connect your agent

Point any agent at Flux with two settings: the base URL and your key. Setup pages for every agent, plus the rules that work for anything else.

Give your agent abilities

Beyond models, one Flux key gives your agent abilities: search, reading pages, speech, transcription, images, apps and a second opinion. See where each one stands and how to call it.

Build with Flux

Guides for your own code on Flux: agents, chatbots, batch work, streaming, tools, structured outputs, vision, long inputs and retries, plus recipes that combine abilities.

Routing and models

How flux-auto picks a model, the three lanes, the receipt headers on every response, and where to find the live model catalogue.

Billing

How FluxRouter billing works: metering by the alias you send, the plans, the Free plan, spend caps, and where to read your usage and invoices.

Migrate

Move to Flux from the OpenAI API, the Anthropic API or OpenRouter. Change the base URL, the key and the model; the rest of your code stays the same.

Troubleshooting

Fix the most common FluxRouter problems fast: an agent that won't connect, error codes including 402, latency, truncated output, and each ability from speech to apps.

API reference

FluxRouter API reference: base URLs, authentication, every endpoint, model aliases, the models list, response headers, errors and quick raw HTTP requests.

Trust

How FluxRouter handles your requests and data, how to keep your key safe, what we expect of how the service is used, and where to check live status.