Make your first request in 5 minutes

Sign up, create a token, then call it from any OpenAI-compatible client.

1. Create a token

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.

2. Point your client at us

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.

3. Send a request

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"}]}'

4. Confirm billing

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.

Related articles

Blog