One API · Every model

Route every prompt to the right model.

One OpenAI-compatible key for the models you already use. Buy tokens once, pay only for what you send, and fall back automatically when a provider goes down.

curlPythonNode
curl https://api.terrabot.[domain]/v1/chat/completions \
  -H "Authorization: Bearer $TERRA_KEY" \
  -d '{
    "model": "anthropic/claude-sonnet-5.5",
    "messages": [{"role": "user", "content": "Hello"}]
  }'
tokens: [in] \u2192 [out]cost: $[0.0000]
Models fromAnthropicOpenAIGoogleMetaMistralDeepSeek

40+

models behind one key

6

providers with live fallback

99.9%

uptime over the last 90 days

1.2B

tokens routed this month

Built for developers who watch every token.

$

Honest per-token pricing

Provider price plus one flat fee you can see on every model page. No hidden markup, no expiring credits.

⇄

Smart routing and fallback

Route by price, speed or region. If one provider fails, the request moves to the next one without your code noticing.

⚿

One key, one bill

Drop-in compatible with the OpenAI SDK. Set spend limits per key and see every request in your logs.

How credits work

01

Top up your balance

Buy credit packs by card, then spend it across every model on one bill.

02

Call any model

Change one string to switch models. Each request is charged for input and output tokens.

03

Track every token

See spend by day, model and key, with low-balance alerts before you run dry.