Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.ruoli.dev/llms.txt

Use this file to discover all available pages before exploring further.

CC Switch provides a graphical interface for one-click configuration and switching of Claude Code, Codex, Gemini CLI, OpenCode, and OpenClaw API connections.

Open CC Switch

Visit ccswitch.lovable.app to get started. The top tab bar lets you switch between different tools:
CC Switch main interface

Add RuoLi

  1. Click the + button in the top right to add a new configuration
  2. Fill in the provider details:
CC Switch configuration
FieldValue
Provider NameCustom, e.g. ruoli_claude
API KeyYour Key (get it from the Tokens page at ruoli.dev)
Request URLhttps://ruoli.dev
  1. Click Save

Configure Model Mapping

Scroll down to configure model mapping, which maps Claude Code’s model aliases to the models you want to use:
CC Switch model configuration
FieldDescription
Primary ModelDefault model used by Claude Code
Reasoning Model (Thinking)Model used for deep reasoning
Haiku Default ModelModel used when running /model haiku
Sonnet Default ModelModel used when running /model sonnet
Opus Default ModelModel used when running /model opus
Check Write to Global Config to apply the configuration to all tools.

Switch Providers

In the main interface, select the configuration you want to use to switch. Supports automatic failover — when one provider is unavailable, it automatically switches to the next one.

Import from RuoLi Dashboard

On the Tokens page at ruoli.dev, click Copy Connection Info and paste it directly into CC Switch to complete the setup.

Supported Tools

ToolSupport
Claude CodeSupported
CodexSupported
Gemini CLISupported
OpenCodeSupported
OpenClawSupported
Cherry Studio does not support CC Switch. Please refer to the Cherry Studio configuration page to configure it manually.