Skip to main content
CC Switch is a tool that lets you switch Claude Code between different API providers without manually editing environment variables or config files. This tutorial walks you through installing CC Switch, adding KiosAPI as a named provider, and switching Claude Code to use it.

Prerequisites

  • Claude Code installed and configured
  • A KiosAPI API key (starts with sk-) from the DashboardToken Management
  • Node.js 18+

Usage

Troubleshooting

Provider not found

  • Verify the provider name in cc-switch use <name> matches a key in config.json
  • Check that the config file is at the correct path for your platform

Authentication error after switching

  • Ensure the apiKey in the config is correct and starts with sk-
  • Verify baseUrl is https://kiosapi.com — no trailing slash, no /v1

Invalid beta flag (400 error)

If you see a 400 error about beta flags, ensure "disableBetas": true is set in the provider config. This adds CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS=1 to the environment.

Need Help?