Switch to WanAPIs with ccswitch / cc-switch

ccswitch / cc-switch keeps several provider profiles for Claude Code and Codex and lets you switch between them in one click. Add WanAPIs as a profile and you can move to pay-per-token access to many models whenever you like.

Setup steps

  1. 1

    Sign up and create an API key

    Create an account in the WanAPIs console and generate an API key starting with sk-.

  2. 2

    Add a WanAPIs profile in ccswitch

    Open ccswitch and add a provider profile named WanAPIs with the Base URL and token below, then save.

    ccswitch / cc-switch → Add provider
    Name: WanAPIs
    Base URL: https://api.wanapis.com
    Token / API Key: sk-xxx
  3. 3

    Switch and go

    Set the active provider to WanAPIs in ccswitch. It writes the Claude Code / Codex config for you — then just launch the tool as usual.

FAQ

Are ccswitch and cc-switch the same thing?

Both names usually refer to the same kind of "Claude Code provider switcher", and they work the same way: keep several Base URL + key pairs and switch in one click. Add WanAPIs as one of them.

Can I switch back to the official API?

Yes. ccswitch keeps all your profiles, so you can switch back to the official API or any other provider at any time.

Connect ccswitch to WanAPIs now

One API key for GPT, Claude, Gemini, DeepSeek, Kimi, GLM and more — pay only for the tokens you use.