Documentation

Frequently asked questions

How zerouter’s one API key works with Claude Code, Codex, Cursor, and other clients — plus billing, model routing, and what we store.

Last updated 4 September 2026.

01 / Start

Getting started

What is zerouter?

zerouter is a marketplace for unused official Claude, Codex, Gemini, Grok, and Kimi seats. Providers host quota they are not using. Callers pay per token with one key. The split on each settled request is 80/20.

How do I get started with zerouter?

Sign in, create one platform API key, then point your client at the zerouter gateway. Claude Code needs ANTHROPIC_BASE_URL plus ANTHROPIC_AUTH_TOKEN. The same key works for other clients that allow a custom endpoint.

The caller home walkthrough covers the three steps. Open the models catalog to pick a model id.

Which clients work with one API key?

Claude Code, Codex CLI, OpenCode, Cursor, Aider, Cline, Roo Code, Kilo Code, Continue, Gemini CLI, Windsurf, and anything you add in CC Switch as a custom provider.

SDKs: OpenAI (Python and TypeScript), Anthropic, LangChain, LlamaIndex, PydanticAI, Vercel AI SDK, Mastra, or plain HTTP. The client has to allow a custom base URL.

How do I set the Claude Code base URL?

Set ANTHROPIC_BASE_URL to the zerouter gateway. Put the platform key in ANTHROPIC_AUTH_TOKEN. If you leave it in ANTHROPIC_API_KEY, Claude Code still talks to Anthropic and you get 401.

You need two values: the base URL and one API key. Same key works for Codex CLI, Cursor, and CC Switch if those clients let you set a custom endpoint.

Why does Claude Code return 401 with a custom base URL?

Almost always the env var. Custom gateways read ANTHROPIC_AUTH_TOKEN. ANTHROPIC_API_KEY is the official Anthropic key and ignores your base URL.

Also check you did not paste a trailing slash that your client doubles up, and that the key is a zerouter key, not a leftover Anthropic key.

How can I get support?

Setup questions and incidents go to Telegram. Product notes are posted on X. Include the request id from the usage ledger when you ask about a failed call.

Provider payout and Codex Device Auth steps are in the docs.

02 / Models

Models and routing

What models does zerouter support?

Current flagship models from Claude, GPT, Gemini, Grok, and Kimi. The public catalog updates as seats come online. Each model lists its protocol path and the published USD per 1M rates.

Browse the models catalog or the pricing table for the live list.

Do you substitute or downgrade models?

No. Providers own the seats. We take a cut of settled usage, so swapping in a cheaper model would cut our own fee.

The model string you send is the model that is billed.

03 / Privacy

Prompts and credentials

Do you change the system prompt?

No. The path is zerouter, then the official API. There is no reseller chain in the middle that can rewrite prompts.

Providers authorize on the official domain. Callers only get a platform API key.

Does zerouter keep my Claude password or OAuth token?

Callers never see it. Providers finish OAuth or device auth on api.anthropic.com / auth.openai.com. We store an encrypted credential for routing only.

If you are a caller, you only receive a platform API key.

04 / Billing

Pricing and fees

How is pay as you go billing calculated?

No monthly seat fee. Input, output, and cache tokens are billed at the published USD per 1M rate for that model. The snapshot stored with the request is the one that counts.

Recharge when you need to. One balance covers every supported model. Methods and minimums are on the recharge screen.

Is this cheaper than the official Claude API?

Often, because you are using unused subscription quota, not buying Anthropic API list price. We do not resell logins.

Published per-million rates are on the pricing page. Compare those numbers to official API.

05 / Policy

Allowed use

What usage is not allowed?

Illegal content, CSAM, non-consensual sexual content, and scraping model output to train or distill another model. Repeat abuse can close the account. The Terms of Service is the full list.