Overview›Quick Start
Send your first chat completion in under a minute.
curl or any HTTP clientMake a chat completion request with curl:
curl https://api.routing.run/v1/chat/completions \ -H "Authorization: Bearer rk_live_your_api_key" \ -H "Content-Type: application/json" \ -d '{ "model": "kimi-k2.6", "messages": [{"role": "user", "content": "Hello!"}] }'Install the OpenAI Python SDK and point it at routing.run:
pip install openaifrom openai import OpenAI client = OpenAI( api_key="rk_live_your_api_key", base_url="https://api.routing.run/v1") response = client.chat.completions.create( model="gpt-5.6-terra", messages=[{"role": "user", "content": "Hello!"}]) print(response.choices[0].message.content)routing.run is OpenAI- and Anthropic-compatible, so it drops into most coding agents and chat harnesses — set the base URL and your API key, then pick 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" claude