Claude Desktop can use a third-party inference gateway when developer mode is enabled. Choose the setup path based on your BetterToken API Key group: enter the Anthropic-compatible endpoint directly, or forward requests through a CC Switch local route.Documentation Index
Fetch the complete documentation index at: https://docs.bettertoken.ai/llms.txt
Use this file to discover all available pages before exploring further.
If you use a Claude group API key, you can enter
https://www.bettertoken.ai directly in Claude Desktop. If you use a Codex group API key, configure a local route through CC Switch first, then enter the local service address in Claude Desktop. Do not enter the Codex / OpenAI-compatible endpoint https://www.bettertoken.ai/v1 directly in Claude Desktop Gateway.Setup steps
Download Claude Desktop
Download the latest Claude Desktop app from the official link:Download Claude for MacAfter installation, do not sign in to a Claude account. Continue to the next step and enable developer mode.
Enable developer mode
Open Claude Desktop, then choose Help → Troubleshooting → Enable Developer Mode from the macOS menu bar.
In the confirmation window, click Enable, then restart Claude Desktop.


- Claude group
- Codex group
Enter BetterToken API settings
In the settings window, select Gateway, then enter:
After you select Gateway auth scheme, Claude Desktop automatically fetches the available models for the Claude group. Click Apply locally after entering the settings.
| Field | Value |
|---|---|
| Gateway base URL | https://www.bettertoken.ai |
| Gateway API key | Copy your API Key from Token management in the BetterToken console |
| Gateway auth scheme | x-api-key |

Confirm the app relaunch
After Claude writes the local configuration, it asks for a relaunch. Click Relaunch now so the new gateway configuration takes effect.

Troubleshooting
If the Developer menu does not appear in Claude Desktop, confirm that you clicked Enable and fully restarted the app. If requests fail, check these items first:- Gateway base URL matches the setup path: use
https://www.bettertoken.aifor a Claude group, or the local service address copied from CC Switch for a Codex group - Gateway API key comes from Token management in the BetterToken console
- Gateway auth scheme matches the API Key group: use
x-api-keyfor a Claude group andbearerfor a Codex group - You clicked Apply locally
- If you use a Codex group, the main routing switch and the Claude route are enabled in CC Switch Routing settings
- You clicked Relaunch now and selected Continue with Gateway after restart











