TokenMaster
Checking gateway…

Every frontier model.
One API key.

Claude, GPT, Kimi, GLM and Qwen behind one OpenAI- and Anthropic-compatible endpoint. Change the base URL, and your existing code keeps working.

  • 28+ models
  • Automatic failover
  • No subscription
  .env: the only change
- OPENAI_BASE_URL=https://api.openai.com/v1
+ OPENAI_BASE_URL=/v1
- OPENAI_API_KEY=sk-proj-…
+ OPENAI_API_KEY=sk-tm-…

Setup

Running in under a minute

Three steps. No provider account, no card on file, no subscription.

1

Create an account

Sign up with email. Your dashboard shows your balance, keys and every request as it happens.

2

Pick a credit pack

Choose a package or redeem a code from a reseller. Bigger packs come with more bonus credit.

3

Paste your key and base URL

Copy your sk-… key into Claude Code, Cursor or your SDK.


Packages

Prepaid credit packs

Credit works with every model at official list prices, and bigger packs add more bonus. You can also top up any amount from your wallet.

  • Official upstream APIs
  • Credit never expires
  • Multi-channel failover
  • Per-key spending caps

Catalogue

Models and per-token prices

This list comes live from the gateway. Open a provider to see prices per 1M tokens, then copy the model ID straight into your code.

Loading models…


Platform

Built for production traffic

The same gateway serves one developer or a team running coding agents around the clock.

Three API formats

/v1/chat/completions, /v1/messages and Gemini. Streaming, tool calls, vision and extended thinking all work.

Automatic failover

Every model runs on more than one upstream channel. A failed call retries on the next channel, and channels that keep failing are switched off automatically.

Keys with limits

Each key can have a spending cap, an expiry date, a model allow-list and an IP allow-list, so you can share keys without sharing your wallet.

Request-level usage

Every call is logged with its model, tokens, cost and latency. You can view charts by day or model, and export a CSV.

Built-in playground

Try any model in your browser and compare answers before you change any code.

Referral rewards

Share your invite link. You earn credit when people you invite top up.


Integrate

One base URL, three formats

Only the path changes. Full guides for every tool are in the docs.

OpenAI format

openai-python/node, Cursor, Cline. The URL ends in /v1.

Anthropic format

Claude Code and @anthropic-ai/sdk. Don't add /v1.

Gemini format

@google/genai and Gemini CLI. Calls go to /v1beta/models.

  ~/.zshrc
export ANTHROPIC_BASE_URL=
export ANTHROPIC_AUTH_TOKEN=sk-your-key
export ANTHROPIC_MODEL=claude-sonnet-4-6
claude

Self-service

Check a key's balance

Paste a key to see its remaining credit. The check runs in your browser, and nothing is stored.

From code

Any key can read its own balance. OpenAI-style billing routes are supported too.

curl /api/usage/token/ \
  -H "Authorization: Bearer sk-your-key"

For full per-request history, open Usage logs in your dashboard.


FAQ

Questions before you buy

What exactly is Token Master?

An LLM gateway. You set your tool's base URL to Token Master and use one of our keys. We send each request to the model provider and charge your credit for the tokens it used. If your app can't change its base URL, it won't work with us.

Which tools and SDKs work?

The OpenAI, Anthropic and Google GenAI SDKs, plus Claude Code, Codex CLI, Gemini CLI, Cursor, Cline, n8n, LangChain, OpenClaw, Hermes Agent, and any tool that lets you set a custom base URL.

How does package credit work?

A package adds dollar credit to your wallet, and that credit is spent at each model's official per-token list price. Bigger packages add bonus credit. Any key on your account can spend the credit, unless you set a cap on that key.

Does credit expire? Is there a monthly fee?

No to both. Unused credit stays on your account.

Can I use one key on several machines or share it with a team?

Yes, keys have no device limit. For teams, create one key per person or project and give each its own cap. That keeps usage logs separate, and you can revoke one key without affecting the others.

Are there rate limits?

Each package includes an RPM allowance, shown on its card. Traffic is spread across several upstream channels. If you need more, contact us for a dedicated pool.

What is the refund policy?

Credit can't be refunded once it's purchased. The one exception is a key that can't be used because of a fault on our side. Start with the smallest package if you want to test first.

Ship with every model today

Sign up for free. The playground and dashboard are open right away.