TokenLab

Core Guides

TokenLab vs OpenRouter

Price and top-up fee comparison for developers moving from OpenRouter to TokenLab, with a three-line migration

Both services give one OpenAI-compatible endpoint for many models. This page compares what you pay for real-time requests and for adding credit. TokenLab prices are the platform prices in our model registry (revision of 2026-11-10) and OpenRouter prices are the rates its model pages publish (read 2026-11-12); both change, so use GET /v1/models/:model/pricing or the Models page for current numbers.

Top-up fee

TokenLabOpenRouter
Fee when you add creditNone. The credited amount is the amount you pay for, before any bonus5.5% on Standard, 8% on Business, charged when you buy credits (OpenRouter pricing)
First top-upA $10 first top-up credits $15 (includes a $5 bonus, first top-up only)See OpenRouter's pricing page
Credit expiryBalance does not expireOpenRouter reserves the right to expire unused credits after one year of purchase (OpenRouter FAQ)

Price per 1M tokens, real-time requests

USD, input / output. OpenRouter prices are its standard real-time rates, taken from its own model pages: Claude Sonnet 5.5, GPT-6.1 Sol and Gemini 3.8 Flash. Its endpoint list prices the same model differently per provider and sometimes below list during promotions; these are the model-page rates. OpenRouter also sells :batch variants at half price; they are not compared here.

ModelTokenLabOpenRouter
claude-sonnet-5-5$0.70 / $3.50$2.00 / $10.00
gpt-6.1-sol (up to 272K input tokens)$0.60 / $3.00$2.00 / $10.00
gemini-3.8-flash$0.375 / $1.875$0.75 / $3.75

These TokenLab prices are the Verified route. Verified is the route TokenLab tested; Official runs on the model maker or a major platform at the maker's published price. See Billing and pricing for how Auto, Verified and Official choose a route and what happens when one is unavailable.

Move from OpenRouter

  1. Set the base URL to https://api.tokenlab.sh/v1.
  2. Replace the API key with a TokenLab key.
  3. Use the TokenLab model ID without an OpenRouter provider prefix, for example claude-sonnet-5-5. List IDs with GET /v1/models.
from openai import OpenAI

client = OpenAI(base_url="https://api.tokenlab.sh/v1", api_key="YOUR_TOKENLAB_KEY")
reply = client.chat.completions.create(
    model="claude-sonnet-5-5",
    messages=[{"role": "user", "content": "Hello"}],
)
print(reply.choices[0].message.content)

More clients are in Migration guides. Start with the quickstart and add credit from the Console.

On this page