Router One Documentation
A concise guide from account setup to calling the OpenAI-compatible API gateway.
What is Router One?
Router One is a unified LLM API gateway. It gives your application one OpenAI-compatible endpoint for model calls, smart routing, fallback, budgets, and request-level observability.
Core value
Use one API key and one base URL for common LLM tools and models. Router One handles provider differences, cost tracking, and routing behind the gateway.
Main API entry points:
text
OpenAI-compatible API / Codex CLI / OpenClaw / Hermes Agent:
https://api.router.one/v1
Claude Code / Anthropic-compatible endpoint:
https://api.router.oneGet started
1
2
3
Send your first request
Use the Chat Completions endpoint with Authorization: Bearer <key>.
Endpoint referenceExample request
bash
curl https://api.router.one/v1/chat/completions \
-H "Authorization: Bearer sk-your-api-key" \
-H "Content-Type: application/json" \
-d '{
"model": "auto",
"messages": [{"role": "user", "content": "Hello"}]
}'API reference
Chat
Images
Videos
Configuration guides
Common error codes
401 | Invalid or missing API key | Check the Authorization header. |
402 | Insufficient balance | Top up or adjust the budget. |
429 | Rate limit exceeded | Check Dashboard -> Logs, then reduce request rate or contact support to raise limits. |
500 | Internal server error | Retry shortly; contact support if it persists. |