Documentation Index
Fetch the complete documentation index at: https://docs.routing.run/llms.txt
Use this file to discover all available pages before exploring further.
Get your API key
Create an account
Sign in with GitHub at app.routing.run.
Create an API key
Open API Keys → Create Key, name it, then copy the value. It always starts with
rk_ and is shown only once.Sanity check
GET/v1/models returns a small public catalog and does not require authentication:
Use
https://api.routing.run by default. If it is slow or returning errors, switch to https://ai.routing.sh. It is a secondary endpoint hosted by the routing.run team and uses the same /v1 paths and API keys.First chat completion
Use/v1/chat/completions as your default integration path. It is the most reliable endpoint for apps, SDKs, and coding agents.
Recommended starting models:
route/glm-5.1-precisionfor strongest reasoning-first workflowsroute/qwen3.6-plusfor the smoothest general coding-agent behaviorroute/kimi-k2.5for larger-context agent workflows
- OpenAI SDK
- Anthropic-style HTTP (fallback)
- cURL
/v1/messages accepts Anthropic-style request bodies, but the current response shape is not fully Anthropic SDK-compatible. Use direct HTTP for now if you need predictable parsing.Live checks also showed that some reasoning-oriented models can return an empty
content string on /v1/messages. For coding agents and editor integrations, prefer /v1/chat/completions unless you specifically need Anthropic-style requests.Next steps
OpenAI compatibility
Full reference for the recommended default endpoint.
Anthropic compatibility
Compatibility reference for Anthropic-style requests.
Available models
Browse all models, tiers, and pricing.
Coding agents
Configure your AI coding tool to use routing.run.