Set up Token Share with CC Switch
CC Switch is a free desktop app that sets up Claude Code, Codex and Claude Desktop without editing files. Add Token Share as a custom provider and switch with one click.
Install CC Switch
- 1Sign in to Token Share and open the API Keys page.
- 2Click Create key, choose the Inference type, and copy the key that starts with
sk-token-. It is shown in full only once. - 3Top up with USDT on the Billing page. Claude models are paid from topped-up balance only.
- 1Download the installer for your system from CC Switch Releases:
.msi(or the portable.zip) on Windows,.dmgon macOS,.deb,.rpmor.AppImageon Linux. On macOS you can also runbrew install --cask cc-switch. - 2If macOS blocks the first launch, open System Settings → Privacy & Security and allow it. If Windows shows a SmartScreen warning, click More info → Run anyway.
CC Switch only switches settings. Install the tools themselves first: Claude Code, Codex CLI, or the Claude desktop app.
Claude Code
- 1Open CC Switch and select the Claude Code tab at the top (the first icon), then click the orange + in the top-right corner.
- 2Choose a custom provider rather than a preset. Name it Token Share, set the endpoint to
https://token-share.app(no/v1) and paste your key. - 3Set the model to
claude-sonnet-5-5or any Claude id from the model list. - 4Save, then click Enable on the Token Share card. Claude Code picks it up without a restart.
If the form shows a JSON editor for the settings, you can paste this instead of filling the fields — it is the same block the dashboard’s CC Switch tab gives you:
{
"env": {
"ANTHROPIC_API_KEY": "<your-pool-api-key>",
"ANTHROPIC_BASE_URL": "https://token-share.app",
"ANTHROPIC_MODEL": "claude-sonnet-5-5",
"ANTHROPIC_DEFAULT_OPUS_MODEL": "claude-sonnet-5-5",
"ANTHROPIC_DEFAULT_SONNET_MODEL": "claude-sonnet-5-5",
"ANTHROPIC_DEFAULT_HAIKU_MODEL": "claude-sonnet-5-5",
"CLAUDE_CODE_SUBAGENT_MODEL": "claude-sonnet-5-5",
"CLAUDE_CODE_MAX_CONTEXT_TOKENS": "260000",
"CLAUDE_CODE_ATTRIBUTION_HEADER": "0"
}
}Codex
- 1Select the Codex tab (the OpenAI icon) and click +.
- 2Choose custom. Name it Token Share, set the endpoint to
https://token-share.app/v1(with/v1) and paste your key. - 3Set the model to
gpt-5.6-solor any GPT id from the model list. - 4Save, click Enable, then restart Codex — it does not switch providers while running.
Claude Desktop
- 1Select the Claude Desktop tab (the second Claude icon) and click +.
- 2Choose custom, set the endpoint to
https://token-share.appand paste your key. - 3Save, click Enable, then quit Claude Desktop completely and open it again.
Button names can differ slightly between CC Switch versions. To go back to your own subscription, enable the official provider on the same tab.
Ready? Three steps to start
- 1Sign in to the console
- 2Top up your balance
- 3Create an API key