Skip to contentToken MarketDocs

CCSwitch

Last updated: 2026-08-03; third-party tools can change at any time. If configuration fails, follow the latest official documentation.

CCSwitch (CC Switch) manages AI coding providers, routing, and usage across Claude Code, Claude Desktop, Codex, Gemini CLI, OpenCode, OpenClaw, Hermes, and other tools. It writes or takes ownership of local tool configuration; Token Market does not use it as a server-side proxy.

Official Website and GitHub

Download CCSwitch only from the official site or the GitHub repository above, and read the official user manual before configuring it. If you encounter a mirror or third-party download page, return to the official repository and verify the version.

Install

  1. Open CCSwitch Releases and download the current platform installation package.
  2. Install and launch CCSwitch, then follow the UI prompts to select the coding tool to manage.
  3. Switch to the target application, then add an app-specific custom provider under provider management.

Configure Token Market Provider

FieldValueDescription
Provider nameToken MarketUsed as the local display identifier.
Claude Code endpointhttps://api.tokensmarket.ai/v1Select an Anthropic Messages-compatible format.
Codex endpointhttps://api.tokensmarket.ai/v1Prefer OpenAI Responses; enabling Chat conversion requires Local Routing and verification.
OpenCode endpointhttps://api.tokensmarket.ai/v1Select OpenAI-compatible Chat Completions.
API Key<YOUR_TOKEN_MARKET_API_KEY>Store only in secure local storage.
Model<MODEL_ID>Copy the actual model ID from the Model Market, or retrieve it through /v1/models and verify each entry.

After saving, switch to the Token Market provider and run both Stream Check and a read-only request. Restart Codex after switching providers to refresh its model catalog. Consider Universal Provider only after verifying each application individually with the same protocol and endpoint; then configure failover, MCP, Skills, or session sync as needed. Before switching providers, make sure the current tool has no write task in progress to avoid rerouting a request midway.

The CCSwitch interface, protocol conversion, and supported tools vary by version. If fields or menus differ, follow the official user manual, GitHub README, and release notes.

Was this page helpful?