ZZSwitch

Clear top-up quota, actual usage depends on models and multipliers

Cost-effective AI API relay entry

ZZSwitch is built for heavy AI coding-tool users, including Claude Code, Codex, CC Switch, OpenCode, OpenClaw, Cursor, Cline and Cherry Studio. Redeem quota when needed, create one token, and connect through either an OpenAI-compatible API or a root endpoint for Claude/CC-style tools.

ZZSwitch
Common API endpoints
OpenAI / Codex
https://api.zzswitch.com/v1
Root / CC / Claude
https://api.zzswitch.com
Pay as needed
No monthly lock-in
Tool fit
AI coding

Why ZZSwitch

The goal is not more setup complexity, but clearer API cost control

Pricing

Transparent pricing logic

Redeem codes add account quota. Calls are charged by model base price, group/channel multiplier and token usage, with real-time values shown in the console.

Flexible

Good for small tests

You do not need to buy a large package upfront. Start small, confirm your workflow, then add quota as needed.

Tools

Designed for real tool flows

Codex, Claude Code, Cursor and Cline can consume long contexts. A unified entry makes balance and token management easier.

STEP 1

Create account

After these steps, put the ZZSwitch API endpoint and token into your AI tool and run a small test.

STEP 2

Buy a code

After these steps, put the ZZSwitch API endpoint and token into your AI tool and run a small test.

STEP 3

Redeem quota

After these steps, put the ZZSwitch API endpoint and token into your AI tool and run a small test.

STEP 4

Create token

After these steps, put the ZZSwitch API endpoint and token into your AI tool and run a small test.

Tool Guides

Integration guides for common AI tools

Endpoint requirements differ by tool: OpenAI-compatible clients usually use `/v1`, while Claude/CC-style tools may need the root endpoint.

Codex setup guide

Connect Codex to ZZSwitch with the right endpoint, API token and model name before running large tasks.

Claude Code setup guide

Connect Claude Code to ZZSwitch with the right endpoint, API token and model name before running large tasks.

CC Switch setup guide

Connect CC Switch to ZZSwitch with the right endpoint, API token and model name before running large tasks.

OpenCode setup guide

Connect OpenCode to ZZSwitch with the right endpoint, API token and model name before running large tasks.

OpenClaw setup guide

Connect OpenClaw to ZZSwitch with the right endpoint, API token and model name before running large tasks.

Cursor setup guide

Connect Cursor to ZZSwitch with the right endpoint, API token and model name before running large tasks.

Cline setup guide

Connect Cline to ZZSwitch with the right endpoint, API token and model name before running large tasks.

Cherry Studio setup guide

Connect Cherry Studio to ZZSwitch with the right endpoint, API token and model name before running large tasks.

FAQ

Answers to quota, API endpoint and redeem-code questions. See the FAQ page for more details.

What is ZZSwitch? +

ZZSwitch is an API relay entry for AI coding tools, helping users connect Claude Code, Codex, Cline, OpenCode, Cherry Studio and other tools with unified quota and tokens.

Which tools are supported? +

Common directions include Claude Code, Codex, CC Switch, OpenCode, OpenClaw, Cursor, Cline, Cherry Studio and other OpenAI-compatible clients.

Does registration include free quota? +

Currently registration does not automatically grant free quota. Real calls require redeemed balance.

What does 1 RMB code = 1 USD API quota mean? +

It is a top-up conversion rule, not the final price of every model. Actual cost depends on model price, multipliers and token usage.

Which API endpoint should I fill in? +

OpenAI-compatible clients and Codex usually use https://api.zzswitch.com/v1. Claude/CC-style tools that ask for a root endpoint should use https://api.zzswitch.com.

Ready to try ZZSwitch?

Redeem a small amount first, then create a token for Codex, Claude Code, Cursor, Cline and other tools.