Same OpenAI SDK you already use. Point base_url at api.tokenroute.io and swap the API key. Python, JavaScript, Go — anything that speaks OpenAI works.
OpenAI, Anthropic, Google Gemini, DeepSeek, Mistral — all under a single key, single bill, single dashboard. Add more providers without rotating credentials across vendors.
No subscriptions, no minimums. Top up with a card, watch per-request cost in your dashboard in real time, see exactly which provider got how much of your spend.
from openai import OpenAI
client = OpenAI(
api_key="sk-tr-…", # from /dashboard/keys
base_url="https://api.tokenroute.io/v1",
)
response = client.chat.completions.create(
model="claude-sonnet-4-5", # or gpt-4o, gemini-2.5-pro, deepseek-chat…
messages=[{"role": "user", "content": "Summarize this commit log."}],
)
print(response.choices[0].message.content)Any OpenAI client works — Node.js, Go, Ruby, curl. Streaming, function calling, JSON mode, vision — all passed through unchanged.
You pay the published list price from each upstream provider — OpenAI, Anthropic, Google Gemini, DeepSeek, Mistral — billed per token as you use it. Credits you top up go directly against that cost: no minimums, no monthly fee. Balance you haven't spent stays available indefinitely.
Create an account