One API key for every frontier model.
OpenAI- and Anthropic-compatible endpoints in front of 14 models from 4 providers. Pay from a prepaid balance, or route through your own provider keys.
Every request gets failover, budget checks and a line in your usage log.
- Published models
- 14
- Billable to your balance
- 6
Works with the Chat Completions, Responses and Anthropic Messages protocols. Read the quickstart.
What happens to a request
Gateway pipeline, in order- model
- anthropic/claude-opus-5.5
- models
- ["openai/gpt-6.1-sol"]
- stream
- true
Authenticate
one keyCheck your API key and organization status.
Rate limit
req/minApply the requests-per-minute limit on your key.
Check budgets
key, team, orgEnforce key spend caps, team budgets and organization limits before the call.
Plan the route
model policyChoose an allowed model and an available platform or BYOK endpoint.
Try in order
ordered failoverReserve balance and send the request. Retryable provider errors can trigger a fallback.
Meter
list price + feeRead the provider's usage report. Estimated token usage is flagged in Activity.
Record
request logStore the attempt chain, charged amount and ledger entry with the request.
Only the attempt that produces the response is metered. Generated tokens are billed if a stream is interrupted.
Platform models
Pay from a prepaid balance
Platform models are billed at the provider's list price plus a 5.5% platform fee on the Starter plan. Add credits, create a key and call any platform model. No provider accounts needed.
6 platform models available today.
Your own provider keys (BYOK)
Keep your provider contracts
Your provider bills you for tokens; RouteHaven adds the same failover, budgets and logging, with a 5% service fee on list-price usage, paid from your balance. Keys are encrypted and never shown again.
Optional. Teams can mix platform and BYOK models under one policy.
Choose the model. Keep the integration.
Provider list prices per 1M tokens. Platform fees depend on your plan.
Access and prices come from the live catalog. Each model page includes pricing notes and capabilities.
Controls around every request.
The same controls apply to platform and BYOK models, to API traffic and to the Workspace.
Failover you can read back
Pass a models list or use routehaven/auto. On retryable provider errors, the next endpoint is tried and the full attempt chain is stored with the request.
Budgets enforced before the call
Organization and team monthly limits, per-key spend caps, model policies and rate limits are checked before a request leaves the gateway. Balance is reserved and released when the response settles.
Request-level usage
Prompt, completion and cached tokens, latency, time to first token, list price, platform fee and the charged amount for every request. Filter by key, model, provider or team and export to CSV.
Three protocols, one key
Chat Completions, Responses and Anthropic Messages, with streaming and tool calling where the model supports it. Use the OpenAI SDK, the Anthropic SDK or Claude Code.
| Name | Key | Team | Spent | Limit | Rate | Last used |
|---|---|---|---|---|---|---|
| production-api | sk-rh-7f3a… | Platform | $412.18 | $2,000.00 | 600/min | 2 min ago |
| staging | sk-rh-c91e… | Platform | $8.04 | $100.00 | 60/min | yesterday |
| evals-nightly | sk-rh-20bd… | Research | $96.50 | none | 120/min | 6 h ago |
Your first request in three steps.
Full API documentationCreate an account
Sign up with your email. Your account comes with its own organization, so you can invite teammates with roles and team budgets whenever you need to.
Create an API key
Keys start with sk-rh-. A spend limit, a model allow-list and an expiry date are all optional.
Make a request
Call a platform model with your balance, a free sandbox model, or add a provider key for BYOK models. The request appears in Activity with its cost.
curl https://api.routehaven.ai/v1/chat/completions \
-H "Authorization: Bearer $ROUTEHAVEN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "anthropic/claude-opus-5.5",
"models": ["openai/gpt-6.1-sol"],
"messages": [{"role": "user", "content": "Summarize the last request latency numbers in one sentence."}],
"stream": true
}'Running this for a larger team?
Invoicing, credit terms, higher rate limits and custom model policies are handled on the Enterprise plan.