🤖
Claude Code
AnthropicAI Coding Agent
Claude Code is Anthropic's official AI coding CLI tool. Through UnionToken, you get unlimited quota, lower latency, and multi-model switching.
Why use UnionToken?
⚡
High Rate Limits
High RPM by default, unlimited TPM for high-frequency coding needs
🛡️
High Availability
Multi-node redundancy with automatic failover
🌍
Low Latency
Global acceleration nodes with automatic optimal routing
🔗
Full Protocol Support
100% compatible with Anthropic native protocol
Install Claude Code
Claude Code is an AI-powered coding assistant that understands your entire codebase.
Prerequisites
UnionToken API Key — Get it from registration, no Claude subscription required → Get Started
macOS / Linux / WSL
curl -fsSL https://claude.ai/install.sh | bash
Windows PowerShell
irm https://claude.ai/install.ps1 | iex
Windows CMD
curl -fsSL https://claude.ai/install.cmd -o install.cmd && install.cmd && del install.cmd
💡 Windows requires Git for Windows.
VS Code / Cursor
Search "Claude Code" in the extensions marketplace to install.
JetBrains IDE
Supports IntelliJ IDEA, PyCharm, WebStorm, etc. Install from JetBrains Marketplace.
Verify Installation
claude --version
Configure Model Provider
💡 Recommended: use CC Switch — visual UI, no manual JSON editing.
1. Install CC Switch
macOS
brew install --cask cc-switch
Windows / Linux
# Download installer from Releases
2. Add UnionToken Provider
Step 1: Add Provider
Open CC Switch, go to the provider management page, click the + button.
Step 2: Fill in Configuration
| Field | Value | Note |
|---|---|---|
| ❶ Provider Name | Custom, easy to identify | |
| ❷ Website | Provider website | |
| ❸ API Key | Your UnionToken API Key → | Get from Merchant Console |
| ❹ Request URL | Do not add trailing slash | |
| ❺ API Format / Auth Field | Fill compatible OpenAI Chat Completions endpoint | |
| ❻ Model Config | Leave empty | Leave empty to use default Claude model |
| ❼ Options | Check "Hide AI attribution" and "Teammates mode" | As needed |
| ❽ Write Global Config | ✅ Checked | Write to global config, all projects apply |
Step 3: Enable Provider
After adding, select UnionToken-claude and click the use button.