📦 cc-switch/ farion1231
A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io
Открыть на GitHub ↗обновлён 1мес назад
Звёзды
★ 123.8k
Форки
8.4k
За неделю
—
За месяц
—
Рост %
—
Язык
Rust
Установка и запуск
Basic Usage
- Add Provider: Click "Add New Provider" (the + button) in the toolbar → Choose a preset or create a custom configuration
- Switch Provider:
- Main UI: Select provider → Click "Enable" (for OpenCode, OpenClaw, Hermes, and MiniMax Code the button is "Add"; these four tools and Pi are coexist-mode tools, so you can add several providers at once)
- System Tray: Click provider name directly (Claude Code, Codex, Gemini CLI, and Grok Build only)
- Takes Effect: Claude Code needs no restart; for Codex, Gemini CLI, and Grok Build, restart your terminal or the CLI tool; for Claude Desktop, restart the app itself (see FAQ)
- Back to Official Login: Switch to the built-in official provider in the list (e.g. "Claude Official"), restart the tool, then follow its login/OAuth flow
- Local Routing (optional): To use OpenAI- or Gemini-format providers in Claude Code, or to use Claude in Codex, you need to turn on local routing. In "Settings → Routing → Local Routing", turn on "Routing Master Switch", then turn on the tool you need under "Routing Enabled". To toggle it right from the top of the main page, turn on "Show Routing Toggle on Main Page"
Usage & Cost Tracking
- Usage dashboard — Works without local routing: by default it automatically scans each tool's local session logs and tracks requests, tokens, cache hit rate, and spending by provider and model, with trend charts and per-request logs
- Quotas & balances — Provider cards and the tray show official subscription quotas (Claude, ChatGPT, Gemini, SuperGrok), Coding Plan 5-hour / weekly / monthly quotas (Kimi, Zhipu GLM, MiniMax, Volcengine Ark, etc.), and account balances (DeepSeek, OpenRouter, SiliconFlow, etc.); some need to be turned on first via "Configure usage query" on the provider card, and for other providers you can write a custom usage script
- Custom pricing — Set per-model prices, or import them from models.dev
Из README репозитория · полный README на GitHub
Категории
Теги
ai-toolsclaude-codecodexdesktop-appgrokgrokbuildhermeshermes-agentmcpopen-sourceopenclawopenclaw-uiopencodeprovider-managementrustskillsskills-managementtauritypescriptwsl-support