TokenFlyTokenFly
API GuideGetting StartedClient Setup

CC Switch Setup

Manage Tokenfly Provider configuration with CC Switch

Installation

CC Switch (official site ccswitch.io, GitHub farion1231/cc-switch) is a desktop app for managing Provider configuration across multiple AI coding tools like Claude Code and Codex. Requires Windows 10 or later.

Download the Windows portable build from the Releases page:

CC-Switch-v3.15.0-Windows-Portable.zip

Unzip and double-click the .exe file to run it directly — no installation required (an .msi installer build is also available).

Adding a Provider

CC Switch doesn't require manually editing config files — it writes the configuration for the relevant tool (e.g. Claude Code, Codex) through its GUI:

  1. Open CC Switch and click Add Provider.
  2. Select the tool to connect (e.g. Claude Code).
  3. Choose custom configuration and fill in:
    • Base URL: https://tokenfly.com (use https://tokenfly.com/v1 when connecting Codex)
    • API Key: sk-xxx
    • Model: gpt-5.4
  4. Click Enable to activate the Provider (you can also switch directly from the system tray icon).

Configuration Reference

FieldPurpose
Base URLService gateway address
API KeyAccess token
ModelModel name to use

Taking Effect

After switching Providers:

  • Claude Code: takes effect immediately, no restart needed.
  • Other tools (e.g. Codex): the corresponding terminal / CLI needs to be restarted for the change to take effect.

Verification

After switching to the new Provider, open the corresponding CLI tool and start a conversation — a normal reply from gpt-5.4 confirms the setup works.

How is this guide?