1. Get Your PP API Key
Visit https://www.ppapi.ai/ to sign up and create your API key. You will need this key to authenticate with the PP API service when configuring CC Switch.
2. Install Claude Code (Optional)
If you already have Claude Code installed, you can skip this step. Otherwise, follow these commands to install it from scratch.
# Install homebrew
/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"
# Install npm
brew install node
# Install Claude Code
npm install -g @anthropic-ai/claude-code3. Configure CC Switch
3.1 Installation
CC Switch is available on GitHub at https://github.com/farion1231/cc-switch. Install it via Homebrew:
brew tap farion1231/ccswitch
brew install --cask cc-switch3.2 Configure API Provider
Open the CC Switch application, then click the "+" button to add a new provider.

Fill in the API endpoint and the key you created earlier. Select "OpenAI Chat Completions" as the API Format.
API Endpoint: • http://app.ppapi.ai For the API Key, use the key from your PP API console. For Models, visit https://www.ppapi.ai/models, pick the models you want, and copy the model names.

4. Start Using Claude Code
4.1 Enable the Provider
In the CC Switch UI, click "Enable" on the provider you just created to activate it.

4.2 Launch Claude Code
Once the provider is enabled, simply run the following command in your terminal:
claudeThat's it! You can now use Claude Code powered by PP API through CC Switch. Enjoy coding with AI assistance at better prices and higher availability.
