Skip to content

CC-Switch: ClaudeCode CLI ​

TIP

See CC-Switch Setup for installation.

1. Add a provider ​

Open CC-Switch, select Claude Code, click “+”, keep the Claude provider type, and choose custom configuration.

Claude Code providerClaude Code custom provider

2. Enter the settings ​

text
Provider name: Yuan API-Claude
API key:       your Yuan API key
Request URL:   https://api.apixhm.com
Model:         copy from https://api.apixhm.com/pricing

Do not add /v1 to the Claude Code URL.

Claude Code settings

3. Enable the channel ​

Return to the list and enable the Yuan API Claude card.

Claude Code enable channel

4. Verify ​

Run claude and send hi. A normal response confirms the setup.

Claude Code verification