Installing CC Switch is just the first step. What really determines your experience and your bill is the relay API provider you plug into it. The market is flooded with channels claiming "90% off." But when running Claude Code, some people end up with bills higher than the official API and constant model downgrading, while others enjoy stable, cost-effective service. The difference all comes down to how you choose your provider. This article presents 4 hard criteria, explains why account pool relays ruin the CC Switch experience, and demonstrates how to set up TeamoRouter in CC Switch.
4 Hard Criteria for Choosing a CC Switch Provider
CC Switch is essentially a configuration management shell — it forwards your requests to whatever upstream you configure. So upstream quality = your actual experience. These 4 criteria are far more useful than just looking at listed prices:
1. Cache Hit Rate (Determines Your Actual Bill, Not the Listed Price)
This is the most overlooked yet most critical factor. Every round of conversation in an agent workflow resends long context strings. If your upstream doesn't support official-level Prompt Caching, every round recalculates tokens at full price, causing consumption to skyrocket 10x or more.
This is where many "90% off" relay services fail: their listed price is low, but because they use account pools with rotating accounts where caching never hits, your actual bill ends up higher than official pricing. Always ask: What's the cache hit rate? How much is the cache hit discount?
2. Are Rates/Pricing Publicly Available?
A legitimate gateway publishes a timestamped public pricing page showing per-model input/output token rates, cache pricing, and tiered discount rules. If prices are only shared privately or the pricing page is vague, you can basically rule them out — you'd have no way to verify what multiplier you're being charged.
3. Are Failed Requests Charged?
Intentionally trigger a failed request (500/429) and check your bill. Legitimate gateways only charge for successfully completed requests. Services that also charge for failures will cost you far more than the listed price over time.
4. Can You Connect Directly via BaseUrl? (Affects CC Switch Stability)
If a provider is 100% compatible with the Anthropic/OpenAI protocol, you can either manage it as a provider in CC Switch or connect directly via baseUrl — one fewer local routing process means one less class of "proxy conflict / reconnecting" issues. Providers that only work with their own proprietary client and can't be connected directly sacrifice flexibility and stability.
Why Account Pool Relays Ruin the CC Switch Experience
Many cheap relay services operate on an "account pool rotation" model: they use a pool of shared accounts and randomly pick one for each request. For CC Switch users, this mechanism creates a cascading set of problems:
- Cache completely invalidated: Context lands on different accounts each time, bringing Prompt Caching hit rates to nearly zero → token consumption explodes.
- Model swapped/downgraded: When upstream is under pressure during peak hours, the pool silently downgrades Opus/Sonnet to cheaper models — this manifests as "configuration keeps reverting to flash" in CC Switch.
- Account ban chain reaction: If one account in the pool gets banned by the official provider, all users routed through it are affected, showing up as sudden 401/502 errors.
- Rate limit jitter: The pool's overall concurrency is limited, triggering 429 errors and reconnecting during peak hours.
Bottom line: Even the best CC Switch setup can't save a bad upstream. When choosing a provider, prioritize a gateway that uses official channels and has high cache hit rates, even if the multiplier is slightly higher — don't gamble on a "90% off account pool."
Connecting TeamoRouter to CC Switch (Recommended Setup)
Measured against the 4 hard criteria above, TeamoRouter — an LLM unified gateway designed natively for AI agents — checks all the boxes:
- >99% cache hit rate: Cached reads are billed at only 10% of full price. Combined with a 1-2x real-time floating rate, every token is spent efficiently.
- Published rates: The pricing page lists real-time per-model rates and tiered discounts — fully verifiable.
- No charge for failures: Only successfully completed requests are billed.
- Direct connection + 100% protocol compatible: Works both as a provider in CC Switch and as a direct baseUrl connection. Full support for Tool Calling and various Beta features, 99.6% SLA, up to 5000 QPM concurrency, no model substitution.
How to add it in CC Switch:
- Sign up and log in to the TeamoRouter dashboard, generate your unique
API Key, and note the officialBase URL. - Open CC Switch, go to Provider Management → Add Provider.
- Choose custom Anthropic Format (for Claude Code) or OpenAI Compatible Format (for Codex, etc.).
- Fill in the parameters:
- Name:
TeamoRouter - Base URL: TeamoRouter's gateway address
- API Key: Your unique key
- Name:
- After saving, CC Switch's built-in provider health check will automatically verify connectivity.
- Select your agent tool (Claude Code / Codex) from the top navigation and switch the default Provider to
TeamoRouter. Claude Code supports hot-switching for immediate effect; other CLIs need a restart to load the new configuration.
For more complete step-by-step instructions (including setup and enterprise benefits), see the CC Switch and TeamoRouter configuration guide. If you're struggling with reconnecting and proxy conflicts, see the CC Switch reconnecting troubleshooting guide. To understand the fundamental differences between relay services, mirror sites, and direct connection gateways, check out the Claude Code relay station recommendations and pitfalls guide.
Frequently Asked Questions
Which relay API is the best value in CC Switch?
Don't just look at the listed price. Find a provider that scores well on all four criteria: cache hit rate, published pricing, no charge for failures, and direct connection support. A service advertising "90% off" with no cache hits will likely cost more than official pricing in practice. A gateway with high cache hit rates actually saves more money under heavy use.
When adding a provider in CC Switch, should I choose Anthropic format or OpenAI format?
It depends on the tool you're connecting: Claude Code uses the Anthropic format; Codex and most OpenAI-compatible CLIs use the OpenAI compatible format. TeamoRouter supports both — just choose based on your tool.
I switched providers but CC Switch still keeps reconnecting. What now?
Reconnecting is usually not the provider's fault but a conflict between CC Switch's local routing process and your proxy (system proxy/TUN mode). Configure your proxy to bypass 127.0.0.1, disable TUN mode, or switch to a direct baseUrl connection. See the reconnecting troubleshooting guide for details.