TokenDNS LogoTokenDNS

Using with CC Switch

CC Switch is a helper for configuring and managing model routing. This page covers installing it, adding TokenDNS as a provider, and verifying the setup in Claude Code.

Download CC Switch

CC Switch makes it easier to configure and manage model routing. Open the CC Switch website, download the build for your operating system and install it.

Configure a provider

  1. Open CC Switch and click the + button in the top-right corner.
  2. Choose Claude as the provider type.
  3. Put your TokenDNS API key into the API Key field.
  4. Put the TokenDNS endpoint into the request URL field.
  5. Click "Add", go back to the home screen, select the new provider and click "Enable".

Verify Claude Code

Open a new terminal and run:

claude

Then send a test message:

Hi, please introduce yourself briefly.

If the model replies, the configuration works.

If the first launch asks you to sign in

If Claude Code shows a sign-in prompt or an onboarding screen on first launch:

  1. Open "Settings → General" in CC Switch.
  2. Turn on "Skip Claude Code first-install confirmation".
  3. Start Claude Code again.

If a configuration change does not take effect, quit and reopen the terminal. Already running processes do not reload their configuration automatically.

On this page