Skip to content
StatusGet API key

The model you asked for, at full precision, with automatic failover.

One OpenAI-compatible API for frontier and open models, served by several providers, billed per token in USD.

from openai import OpenAI
import os
client = OpenAI(
base_url="https://api.thetoken.dev/v1",
api_key=os.environ["TOKEN_API_KEY"],
)
reply = client.chat.completions.create(
model="moonshotai/kimi-k3",
messages=[{"role": "user", "content": "Hello"}],
)
print(reply.choices[0].message.content)
11models4providers…request success, 30 days, of …5.5%credit purchase fee, no hidden costs

Request success loading, from TOKEN's request logs.

Three promises

Full precision

Every model is served at the maker's released precision, never a quantized copy. Each provider's stated precision is shown with the date we checked it.

How precision is verified

Automatic failover

If a provider fails, your request moves to the next one, up to three times. You see one response at the same price.

How routing works

Clear billing

One price per model, whichever provider answers. Prepaid credit in USD, top-ups charged in SAR at 3.75 SAR per USD, and every request's cost in your usage log.

See prices

All 11 models

Works with

Claude CodeCursorClineOpenCodeOpenAI SDKLangChainand any OpenAI-compatible client.

How to start

  1. Create an account. Verify your email and get $0.50 of starter credit.
  2. Top up. From $5, charged in SAR (cards, mada, Apple Pay), with the 5.5% fee shown at checkout.
  3. Copy your key. Point any OpenAI-compatible client at https://api.thetoken.dev/v1.

Reliability, measured

Daily request success over 30 days. How it is measured ·Status page

Start with $0.50 of free credit

One API key for every model on TOKEN.

Get API key