Overview›Introduction
routing.run gives you one interface for the models in its live catalog across multiple providers through one predictable REST API.
Every provider has its own details: authentication methods, rate limits, model naming, streaming protocols, response formats, and error shapes. routing.run handles that provider-specific work for you. You connect your API key once, then call any supported model with the same request pattern across all providers.
That is the point: when you authenticate, stream responses, set generation parameters, or handle errors, you do it the routing.run way. Your code calls routing.run. routing.run monitors configured routes, translates the request for the selected model, and returns a consistent OpenAI-compatible response.
You need a routing.run account and an API key.
Keep your API key on your server. Do not ship it in browser code, mobile apps, public repositories, or logs.
routing.run speaks the OpenAI and Anthropic APIs, so it drops straight into the coding agents and chat harnesses you already use — pick one, set the base URL and your key, and choose a currently available model from the catalog.
Point Claude Code at routing.run via the Anthropic-compatible base URL.
Environment
export ANTHROPIC_BASE_URL="https://api.routing.run"export ANTHROPIC_API_KEY="rk_live_your_api_key" claudeAll API requests use this base URL pattern:
https://api.routing.run/v1/{endpoint}For example:
https://api.routing.run/v1/chat/completionsUse POST for chat completions and embeddings, GET for listing and retrieving models.
routing.run is not a model host — it routes requests to existing inference providers. It does not fine-tune models, store conversation data, or provide training infrastructure.