Sign up, create a token, then call it from any OpenAI-compatible client.
Open the Tokens page in your console and create one. A token starts with sk-
and carries both your identity and your balance — treat it like a password.
Never ship it in frontend code or commit it to a repository.
We are fully OpenAI-compatible, so you only change the base URL:
https://api.router.ai/v1
Most SDKs call this base_url or OPENAI_BASE_URL.
curl https://api.router.ai/v1/chat/completions \
-H "Authorization: Bearer $YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"model":"gpt-5.6-terra","messages":[{"role":"user","content":"Hello"}]}'
After a successful call the usage and charge appear on your Billing page. If nothing shows up, the request never reached us (usually a wrong key or URL) — it is not a billing delay.
Tip: new accounts get a small trial credit. When the balance runs out the API returns 402; topping up resumes service with no reconfiguration.