Third-party Platform SupportConfigure in cc-switch

Using cc-switch for configuration

cc-switch is a handy tool that helps you quickly switch between different configuration schemes, making it particularly suitable for developers who need to switch frequently between multiple models or projects.

Install cc-switch

brew tap farion1231/ccswitch
brew install --cask cc-switch
brew upgrade --cask cc-switch

Add OriginRouter configuration

After starting cc-switch, you can add OriginRouter configuration by following these steps:

  1. Click the "+" button in the upper right corner

  2. Enter a name for your configuration, such as originrouter

  3. Select ANTHROPIC as the provider

  4. Fill in the following configuration information:

    • Base URL: https://api.easytransnote.com/beta (pay-as-you-go) or https://api.easytransnote.com/coding (OriginRouter One subscription)
    • API Key: Your API key obtained from the Developer Console
  5. Click the Save button

View available configurations

cc-switch list

Switch configuration

cc-switch use originrouter

Start Claude Code

cc-switch exec -- claude

Or use directly

cc-switch use originrouter && claude

Was this page helpful?