farion1231/cc-switchPublic

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

AI summary: A unified desktop application for managing and switching between various AI coding agents.

Stars
125.4K
+321 today
Forks
8.5K
Watchers
229
Open issues
1.4K
Open PRs
679
Contributors
~205
Commits
2.3K
Branches
116

RustMITCreated Aug 4, 2025Last push todayLatest release v3.19.2+2.5K stars this week+3.2K this month

Star history

since Aug 10, 2025
050K100KAug 2025Dec 2025Apr 2026Aug 2026
125.4K stars as of Aug 7, 2026, tracked back to Aug 10, 2025. Historical curve reconstructed from public GitHub event archives, calibrated to the current total.

Contribution activity

commits per day, last 52 weeks
AugSepOctNovDecJanFebMarAprMayJunJulAugMonWedFri2025-08-10: 5 commits2025-08-11: 0 commits2025-08-12: 0 commits2025-08-13: 0 commits2025-08-14: 3 commits2025-08-15: 0 commits2025-08-16: 0 commits2025-08-17: 0 commits2025-08-18: 0 commits2025-08-19: 0 commits2025-08-20: 0 commits2025-08-21: 4 commits2025-08-22: 2 commits2025-08-23: 10 commits2025-08-24: 9 commits2025-08-25: 11 commits2025-08-26: 9 commits2025-08-27: 7 commits2025-08-28: 1 commit2025-08-29: 7 commits2025-08-30: 4 commits2025-08-31: 13 commits2025-09-01: 2 commits2025-09-02: 0 commits2025-09-03: 3 commits2025-09-04: 11 commits2025-09-05: 14 commits2025-09-06: 6 commits2025-09-07: 5 commits2025-09-08: 5 commits2025-09-09: 16 commits2025-09-10: 5 commits2025-09-11: 8 commits2025-09-12: 5 commits2025-09-13: 12 commits2025-09-14: 3 commits2025-09-15: 2 commits2025-09-16: 5 commits2025-09-17: 7 commits2025-09-18: 11 commits2025-09-19: 11 commits2025-09-20: 2 commits2025-09-21: 8 commits2025-09-22: 8 commits2025-09-23: 3 commits2025-09-24: 2 commits2025-09-25: 1 commit2025-09-26: 3 commits2025-09-27: 1 commit2025-09-28: 7 commits2025-09-29: 1 commit2025-09-30: 1 commit2025-10-01: 3 commits2025-10-02: 2 commits2025-10-03: 1 commit2025-10-04: 0 commits2025-10-05: 3 commits2025-10-06: 0 commits2025-10-07: 3 commits2025-10-08: 11 commits2025-10-09: 10 commits2025-10-10: 12 commits2025-10-11: 8 commits2025-10-12: 13 commits2025-10-13: 4 commits2025-10-14: 3 commits2025-10-15: 3 commits2025-10-16: 29 commits2025-10-17: 18 commits2025-10-18: 5 commits2025-10-19: 13 commits2025-10-20: 3 commits2025-10-21: 3 commits2025-10-22: 1 commit2025-10-23: 3 commits2025-10-24: 8 commits2025-10-25: 10 commits2025-10-26: 4 commits2025-10-27: 9 commits2025-10-28: 9 commits2025-10-29: 2 commits2025-10-30: 11 commits2025-10-31: 1 commit2025-11-01: 3 commits2025-11-02: 9 commits2025-11-03: 6 commits2025-11-04: 7 commits2025-11-05: 10 commits2025-11-06: 8 commits2025-11-07: 3 commits2025-11-08: 7 commits2025-11-09: 2 commits2025-11-10: 8 commits2025-11-11: 3 commits2025-11-12: 6 commits2025-11-13: 8 commits2025-11-14: 16 commits2025-11-15: 4 commits2025-11-16: 10 commits2025-11-17: 5 commits2025-11-18: 3 commits2025-11-19: 15 commits2025-11-20: 2 commits2025-11-21: 4 commits2025-11-22: 7 commits2025-11-23: 0 commits2025-11-24: 7 commits2025-11-25: 12 commits2025-11-26: 8 commits2025-11-27: 11 commits2025-11-28: 13 commits2025-11-29: 11 commits2025-11-30: 3 commits2025-12-01: 5 commits2025-12-02: 2 commits2025-12-03: 1 commit2025-12-04: 2 commits2025-12-05: 3 commits2025-12-06: 0 commits2025-12-07: 0 commits2025-12-08: 2 commits2025-12-09: 3 commits2025-12-10: 3 commits2025-12-11: 12 commits2025-12-12: 2 commits2025-12-13: 1 commit2025-12-14: 2 commits2025-12-15: 7 commits2025-12-16: 5 commits2025-12-17: 5 commits2025-12-18: 8 commits2025-12-19: 3 commits2025-12-20: 14 commits2025-12-21: 7 commits2025-12-22: 4 commits2025-12-23: 4 commits2025-12-24: 1 commit2025-12-25: 5 commits2025-12-26: 2 commits2025-12-27: 3 commits2025-12-28: 2 commits2025-12-29: 8 commits2025-12-30: 4 commits2025-12-31: 2 commits2026-01-01: 0 commits2026-01-02: 8 commits2026-01-03: 8 commits2026-01-04: 8 commits2026-01-05: 6 commits2026-01-06: 1 commit2026-01-07: 2 commits2026-01-08: 7 commits2026-01-09: 11 commits2026-01-10: 3 commits2026-01-11: 5 commits2026-01-12: 4 commits2026-01-13: 3 commits2026-01-14: 2 commits2026-01-15: 15 commits2026-01-16: 9 commits2026-01-17: 14 commits2026-01-18: 2 commits2026-01-19: 4 commits2026-01-20: 9 commits2026-01-21: 6 commits2026-01-22: 9 commits2026-01-23: 9 commits2026-01-24: 4 commits2026-01-25: 3 commits2026-01-26: 5 commits2026-01-27: 4 commits2026-01-28: 5 commits2026-01-29: 4 commits2026-01-30: 8 commits2026-01-31: 7 commits2026-02-01: 13 commits2026-02-02: 7 commits2026-02-03: 2 commits2026-02-04: 6 commits2026-02-05: 8 commits2026-02-06: 9 commits2026-02-07: 9 commits2026-02-08: 9 commits2026-02-09: 6 commits2026-02-10: 0 commits2026-02-11: 0 commits2026-02-12: 3 commits2026-02-13: 3 commits2026-02-14: 3 commits2026-02-15: 4 commits2026-02-16: 4 commits2026-02-17: 1 commit2026-02-18: 2 commits2026-02-19: 5 commits2026-02-20: 8 commits2026-02-21: 11 commits2026-02-22: 2 commits2026-02-23: 3 commits2026-02-24: 8 commits2026-02-25: 3 commits2026-02-26: 19 commits2026-02-27: 3 commits2026-02-28: 6 commits2026-03-01: 0 commits2026-03-02: 3 commits2026-03-03: 10 commits2026-03-04: 7 commits2026-03-05: 3 commits2026-03-06: 6 commits2026-03-07: 7 commits2026-03-08: 12 commits2026-03-09: 13 commits2026-03-10: 10 commits2026-03-11: 8 commits2026-03-12: 7 commits2026-03-13: 0 commits2026-03-14: 6 commits2026-03-15: 9 commits2026-03-16: 3 commits2026-03-17: 1 commit2026-03-18: 0 commits2026-03-19: 1 commit2026-03-20: 5 commits2026-03-21: 3 commits2026-03-22: 1 commit2026-03-23: 3 commits2026-03-24: 7 commits2026-03-25: 3 commits2026-03-26: 0 commits2026-03-27: 0 commits2026-03-28: 1 commit2026-03-29: 5 commits2026-03-30: 2 commits2026-03-31: 4 commits2026-04-01: 3 commits2026-04-02: 17 commits2026-04-03: 11 commits2026-04-04: 7 commits2026-04-05: 17 commits2026-04-06: 10 commits2026-04-07: 7 commits2026-04-08: 14 commits2026-04-09: 11 commits2026-04-10: 27 commits2026-04-11: 2 commits2026-04-12: 4 commits2026-04-13: 8 commits2026-04-14: 15 commits2026-04-15: 16 commits2026-04-16: 6 commits2026-04-17: 4 commits2026-04-18: 4 commits2026-04-19: 12 commits2026-04-20: 18 commits2026-04-21: 10 commits2026-04-22: 8 commits2026-04-23: 13 commits2026-04-24: 7 commits2026-04-25: 3 commits2026-04-26: 1 commit2026-04-27: 1 commit2026-04-28: 4 commits2026-04-29: 3 commits2026-04-30: 13 commits2026-05-01: 8 commits2026-05-02: 12 commits2026-05-03: 0 commits2026-05-04: 0 commits2026-05-05: 0 commits2026-05-06: 1 commit2026-05-07: 2 commits2026-05-08: 10 commits2026-05-09: 3 commits2026-05-10: 5 commits2026-05-11: 9 commits2026-05-12: 7 commits2026-05-13: 14 commits2026-05-14: 17 commits2026-05-15: 9 commits2026-05-16: 8 commits2026-05-17: 0 commits2026-05-18: 11 commits2026-05-19: 8 commits2026-05-20: 7 commits2026-05-21: 13 commits2026-05-22: 9 commits2026-05-23: 5 commits2026-05-24: 2 commits2026-05-25: 7 commits2026-05-26: 5 commits2026-05-27: 7 commits2026-05-28: 6 commits2026-05-29: 15 commits2026-05-30: 11 commits2026-05-31: 8 commits2026-06-01: 8 commits2026-06-02: 3 commits2026-06-03: 9 commits2026-06-04: 10 commits2026-06-05: 6 commits2026-06-06: 3 commits2026-06-07: 8 commits2026-06-08: 5 commits2026-06-09: 7 commits2026-06-10: 11 commits2026-06-11: 14 commits2026-06-12: 4 commits2026-06-13: 9 commits2026-06-14: 12 commits2026-06-15: 2 commits2026-06-16: 10 commits2026-06-17: 3 commits2026-06-18: 2 commits2026-06-19: 6 commits2026-06-20: 0 commits2026-06-21: 1 commit2026-06-22: 4 commits2026-06-23: 8 commits2026-06-24: 5 commits2026-06-25: 2 commits2026-06-26: 9 commits2026-06-27: 8 commits2026-06-28: 8 commits2026-06-29: 5 commits2026-06-30: 12 commits2026-07-01: 12 commits2026-07-02: 1 commit2026-07-03: 0 commits2026-07-04: 12 commits2026-07-05: 2 commits2026-07-06: 1 commit2026-07-07: 7 commits2026-07-08: 14 commits2026-07-09: 3 commits2026-07-10: 6 commits2026-07-11: 8 commits2026-07-12: 10 commits2026-07-13: 7 commits2026-07-14: 5 commits2026-07-15: 3 commits2026-07-16: 2 commits2026-07-17: 10 commits2026-07-18: 0 commits2026-07-19: 5 commits2026-07-20: 11 commits2026-07-21: 18 commits2026-07-22: 3 commits2026-07-23: 4 commits2026-07-24: 3 commits2026-07-25: 0 commits2026-07-26: 6 commits2026-07-27: 3 commits2026-07-28: 9 commits2026-07-29: 9 commits2026-07-30: 7 commits2026-07-31: 11 commits2026-08-01: 3 commits2026-08-02: 1 commit2026-08-03: 9 commits2026-08-04: 9 commits2026-08-05: 2 commits2026-08-06: 3 commits2026-08-07: 0 commits2026-08-08: 0 commits
2,181 commits in the last yearLessMore

Signals and awards

derived from tracked data
  • Landmark project

    125,416 stars

  • Very active

    2,181 commits in 52 weeks

  • Community-driven

    ~205 contributors

  • Well documented

    High community health score

  • Permissive license

    MIT

  • Continuous integration

    Automated checks passing

  • Repeat trending

    67 trending appearances

  • Top 10% tracked

    Rank 48 of 1058

What cc-switch does

CC Switch is a Rust-based desktop utility designed to act as a centralized control panel for developers who use multiple AI coding agents, such as Claude Code, Codex, and OpenClaw. It solves the friction of managing different API keys, local model configurations, and conflicting terminal environments by providing a clean, unified interface. The tool allows users to seamlessly hot-swap between different agents, manage custom skill sets, and monitor agent performance. It streamlines the development workflow for power users who rely on an ecosystem of disparate AI tools rather than a single monolithic provider.

CC Switch is built for power-user developers and AI engineers who utilize multiple coding agents and need a streamlined way to manage configurations and switch between them efficiently.

  • Unified Interface: Provides a single graphical dashboard to monitor and configure multiple, independent AI coding tools.
  • Hot Swapping: Allows developers to switch active coding agents instantly without restarting their terminal or IDE.
  • Key Management: Securely stores and manages API keys and authentication tokens for various AI providers locally.
  • Skill Orchestration: Enables users to define and toggle specific skill sets or context files for different active agents.
  • Cross Platform: Built with Tauri and Rust to ensure a lightweight, fast, and native experience on all major operating systems.

Where teams use it

Agent Benchmarking

Developers easily switch between Claude Code and Codex to compare their outputs on complex refactoring tasks.

Workflow Consolidation

Engineers use the tool to manage all their API keys securely in one place rather than scattering them across various dotfiles.

Context Management

Power users toggle specific project skills on and off depending on which repository they are currently working in.

Local Model Usage

Privacy-conscious developers easily route tasks to local open-weight models via OpenCode when working on proprietary logic.

Getting started: cargo install cc-switch

README

main branch

CC Switch

The All-in-One Manager for Claude Code, Claude Desktop, Codex, Gemini CLI, Grok Build, OpenCode, OpenClaw & Hermes Agent

Version Platform Built with Tauri Downloads

farion1231%2Fcc-switch | Trendshift Star History Rank

🌐 The Only Official Website: ccswitch.io

English | 中文 | 日本語 | Deutsch | Changelog

❤️Sponsor

Want to appear here?

Click to collapse

Kimi K2.7 Code

Kimi K3 is Moonshot AI's most capable model and the world's first open 3T-class model. With 2.8 trillion parameters, native vision, and a 1-million-token context window, K3 delivers frontier performance across long-horizon coding, knowledge work, and reasoning. CC Switch makes it easy to configure and switch to Kimi across agentic tools. Click here to start using Kimi

New user top-up bonus: register via this link and complete your first top-up to receive 10% of the amount as bonus API credit, up to CNY ¥1,000.

Doing mostly coding work? Try the Kimi Code subscription.


PackyCode Thanks to PackyCode for sponsoring this project! PackyCode is a reliable and efficient API relay service provider, offering relay services for Claude Code, Codex, Gemini, and more. PackyCode provides special discounts for our software users: register using this link and enter the "cc-switch" promo code during first recharge to get 10% off.
ZetaAPI Thanks to ZetaAPI for sponsoring this project! ZetaAPI focuses on real model fidelity, no watered-down responses, no quality degradation, and pricing as low as 35% of official rates. The platform does not mix traffic, secretly replace models with lower-quality alternatives, or use fake model routing. It supports Claude Code, Codex, Gemini, ChatGPT, and other mainstream AI models, helping users significantly reduce API costs while maintaining reliable model quality. At the same time, ZetaAPI provides enterprise-grade SLA-backed stability, standard API compatibility, one API key for multiple models, fast integration, and pay-as-you-go billing, making it suitable for AI products, coding agents, internal business tools, customer service systems, content generation, and automation workflows. If any model is verified to be inconsistent with its stated quality, ZetaAPI backs it with a 10x compensation guarantee, giving users a more stable, transparent, and trustworthy experience. Register via this link and use the promo code CC-SWITCH during your first recharge to enjoy an exclusive 10% discount on your first top-up, just for CC Switch users!
APINebula Thanks to APINEBULA for sponsoring this project! APINEBULA, an enterprise-grade AI aggregation platform under Galaxy Video Bureau, leverages extensive platform resources to provide developers, teams, and enterprises with stable, cost-effective access to large language model APIs. The platform integrates leading, full-powered models like Claude, GPT, and Gemini, allowing you to connect to the world's top AI models through a single API, with prices starting as low as 10% of the original cost. Designed for AI programming, Agent development, and business system integration, APINEBULA supports enterprise-grade high concurrency, formal contracts, corporate bank transfers, and invoicing services. APINEBULA provides special discounts for our software users: register using this link and enter the "ccswitch" promo code during your first recharge to get 10% off.
AICodeMirror Thanks to AICodeMirror for sponsoring this project! AICodeMirror provides official high-stability relay services for Claude Code / Codex / Gemini CLI, with enterprise-grade concurrency, fast invoicing, and 24/7 dedicated technical support. Claude Code / Codex / Gemini official channels at 38% / 2% / 9% of original price, with extra discounts on top-ups! AICodeMirror offers special benefits for CC Switch users: register via this link to enjoy 20% off your first top-up, and enterprise customers can get up to 25% off!
PatewayAI Thanks to PatewayAI for sponsoring this project! PatewayAI is an API relay service provider built for heavy AI developers, focused on directly relaying official high-quality model APIs. It offers the full Claude lineup and the Codex series, 100% sourced from official channels — no dilution, no fakes, verification welcome. Billing is transparent and every token-level invoice can be audited line by line. It also supports enterprise-grade concurrency and provides a dedicated management platform for enterprise customers — formal contracts and invoicing are available; visit the official website for contact details. Register now via this link to receive $3 in trial credit. Top-ups go as low as 60% of the original price, with a two-way referral bonus of up to $150!
Fenno.ai Thanks to Fenno.ai for sponsoring this project! Fenno.ai is a stable and efficient API relay service provider, currently focused on Codex relay. It is compatible with the OpenAI and Anthropic protocols and can be flexibly used from Codex, Claude Code, OpenCode, and other mainstream coding tools. It reliably supports enterprise-grade workloads of hundreds of billions of tokens per day, with corporate (B2B) settlement and invoicing for both domestic and overseas entities. Fenno.ai offers an exclusive benefit for CC Switch users: subscribe via this link to the incredible ¥9.9 Coding Plan worth $150 in credits, and earn up to 20% in referral rewards — invite more, earn more!
RunAPI Thanks to RunAPI for sponsoring this project! RunAPI is a high-performance and reliable AI model API gateway — one API key gives you access to 150+ mainstream models including OpenAI, Claude, Gemini, DeepSeek, and Grok, with prices as low as 10% of the official rate and excellent stability. It works seamlessly with Claude Code, OpenClaw, and other tools. Exclusive benefit for CC Switch users: register via this link and enjoy a 10% discount on your first top-up!
Shengsuanyun Thanks to Shengsuanyun for sponsoring this project! Shengsuanyun is a super factory serving AI Native Teams — an industrial-grade AI task parallel execution platform. Its model marketplace aggregates Claude, ChatGPT, Gemini, and other domestic and international LLM and multimedia model capabilities with direct supply. Absolutely no reverse engineering or dilution — platform-wide model SLA availability reaches 99.7%, with monitoring dashboards showing green across the board. It also offers enterprise-grade custom gateways for fine-grained team cost and permission management, smart routing, security protection, and BYOK (Bring Your Own Key) hosting. The platform charges on a pay-per-use and tokens plan (coming soon) basis, with invoicing available. Register via this link as a new user to receive ¥10 in credits plus a 10% bonus on your first top-up.
AIGoCode Thanks to AIGoCode for sponsoring this project! AIGoCode is an all-in-one platform that integrates Claude Code, Codex, and the latest Gemini models, providing you with stable, efficient, and highly cost-effective AI coding services. The platform offers flexible subscription plans, zero risk of account suspension, direct access with no VPN required, and lightning-fast responses. AIGoCode has prepared a special benefit for CC Switch users: if you register via this link, you'll receive an extra 10% bonus credit on your first top-up!
AICoding Thanks to AICoding for sponsoring this project! AICoding — Global AI Model API Relay Service at Unbeatable Prices! Claude Code at 19% of original price, GPT at just 1%! Trusted by hundreds of enterprises for cost-effective AI services. Supports Claude Code, GPT, Gemini and major domestic models, with enterprise-grade high concurrency, fast invoicing, and 24/7 dedicated technical support. CC Switch users who register via this link get 10% off their first top-up!
SubRouter Thanks to SubRouter for sponsoring this project! SubRouter is a marketplace and smart routing platform for AI service operators. Merchants can launch operating sites, publish packages, manage users, models, and pricing, while users discover services and access reliable AI models through one unified API. Register via this link!
APIKEY.FUN Thanks to APIKEY.FUN for sponsoring this project! APIKEY.FUN is a professional enterprise-grade AI relay platform dedicated to providing stable, efficient, and low-cost AI model API access for enterprises and individual developers. The platform supports popular mainstream models such as Claude, OpenAI, and Gemini, with prices as low as 7% of official rates. Register through this project's exclusive link to enjoy an exclusive offer of up to permanent 5% off top-ups.
ClaudeAPI This project is sponsored by Claude API. Direct Claude API access — connect Claude Code and Agent apps in 3 minutes. New users can claim a free trial credit.Powered by official Anthropic API keys + AWS Bedrock official channels. No reverse engineering, no model degradation. Full support for Opus / Sonnet / Haiku model lineup, with official capabilities preserved including Tool Use, 1M context window, and more. Built for Claude Code power users, Agent engineers, and enterprise engineering teams. Invoicing and dedicated team support available. Click here to register!
code0.ai Thanks to code0.ai for sponsoring this project! code0.ai is an AI coding service platform built for developers, supporting Claude Code, Codex, Gemini, and other mainstream AI coding capabilities. It helps individual developers and teams use AI Agents more stably and efficiently for coding, debugging, refactoring, and automation workflows. ccswitch users can contact customer support via the code0.ai website to claim test credits and experience a reliable AI coding service.
TeamoRouter Thanks to TeamoRouter for sponsoring this project! TeamoRouter is an enterprise-grade Agentic LLM gateway built for developers, AI teams, and businesses. Without requiring any subscriptions, it lets you access Claude Code, Codex, Gemini CLI, OpenAI Codex, and other popular AI agents through a single unified API, while offering API pricing at discounts of up to 90%. Unlike typical API relay services, TeamoRouter aggregates hundreds of official model providers and trusted infrastructure partners, including OpenAI, Anthropic, Vertex, Azure, and AWS bedrock. Every provider is verified for 100% Agent protocol compatibility, cache performance, and request traceability, ensuring stable quality instead of reverse-engineered or diluted endpoints. The platform delivers near-official TTFT, 99.6% SLA, enterprise-scale throughput up to 5,000 QPM, and industry-leading cache hit rates that dramatically reduce token costs for long-running agent workflows. TeamoRouter also offers enterprise features including centralized billing, team management, BYOK, smart routing, usage analytics, dynamic provider optimization, and dedicated support. For an even simpler experience, Teamo Desktop lets you use Claude Code, Codex, Gemini CLI, and other popular AI agents with one-click setup—no API key management or manual gateway configuration required. Register via this link as a new user to receive 10% off your first top-up.
new-api Thanks to the open-source AI infrastructure project new-api for its strong support of this project! new-api is an open-source AI infrastructure project from QuantumNous and one of the leading unified LLM access-and-distribution projects by activity and adoption, focused on helping developers, teams, and enterprises build manageable, scalable AI service platforms at lower cost. As a fellow project rooted in the open-source ecosystem, new-api hopes to sponsor and support the continued growth of more outstanding open-source projects. 🌟 Star new-api to show your support: https://github.com/QuantumNous/new-api. Website: https://www.newapi.ai/.
ClaudeCN Thanks to ClaudeCN for sponsoring this project! ClaudeCN is an enterprise-grade AI gateway platform operated by a registered company. It delivers high-availability commercial API access to popular models including Claude, GPT, and DeepSeek, and is built around formal enterprise procurement workflows — corporate bank transfers, signed contracts, and full compliance. Register via this link!
BytePlus Thanks to Dola seed for sponsoring this project! Dola Seed 2.0 is a full‑modal general large model independently developed by ByteDance for the global market. Built on a unified multimodal architecture, it supports joint understanding and generation of text, images, audio, and video. It natively enables agent collaboration, with strong reasoning, long‑task execution, tool integration, and coding capabilities. It is widely applicable to smart cockpits, personal assistants, education, customer support, marketing, retail, and other scenarios. It excels in multimodal perception, end‑to‑end complex task delivery, stable interaction, and data security, and is readily accessible and deployable via the ModelArk platform.Register via this link to get 500,000 tokens of free inference quota per model. >>中国大陆地区的开发者请点击这里
SiliconFlow Thanks to SiliconFlow for sponsoring this project! SiliconFlow is a high-performance AI infrastructure and model API platform, providing fast and reliable access to language, speech, image, and video models in one place. With pay-as-you-go billing, broad multimodal model support, high-speed inference, and enterprise-grade stability, SiliconFlow helps developers and teams build and scale AI applications more efficiently. Register via this link and complete real-name verification to receive ¥16 in bonus credit, usable across models on the platform. SiliconFlow is also now compatible with OpenClaw, allowing users to connect a SiliconFlow API key and call major AI models for free.
A6API Thanks to A6API for sponsoring this project! A6API is a one-stop AI model API aggregation platform covering Claude, GPT, Gemini, Codex, and other mainstream models. Multiple vendors can list their supply on the platform, so the same model can be quoted competitively by several upstream providers. Smart routing automatically picks the more stable, lower-priced route available and fails over automatically, helping you reduce failed requests, cut costs, and improve stability. Whether you are an individual developer, an AI product team, or a studio, you can integrate quickly through a unified interface — compatible with all formats, with low migration cost. New users who register via this link receive free trial credits: try it first, then use it at a low price.
Atlas Cloud Atlas Cloud is a full-modal AI inference platform that gives developers a single AI API to access video generation, image generation, and LLM APIs. Instead of managing multiple vendor integrations, you connect once and get unified access to 300+ curated models across all modalities. Check out Atlas Cloud's new coding plan promotion for more budget-friendly API access!
Compshare Thanks to Compshare for sponsoring this project! Compshare is UCloud's AI cloud platform, providing stable and comprehensive domestic and international model APIs with just one key. Featuring cost-effective monthly and per-use domestic-model Coding Plan packages, alongside stable officially-relayed overseas models. Supports Claude Code, Codex, and API access. Enterprise-grade high concurrency, 24/7 technical support, and self-service invoicing. Users who register via this link will receive a free 5 CNY platform trial credit!
CCSub Thanks to CCSub for sponsoring this project! CCSub is a stable, affordable AI API relay platform — your drop-in replacement for a Claude.ai subscription. One API key gives you access to Claude Opus 4.8, Sonnet, Haiku, GPT-5, Gemini, and DeepSeek at roughly 30% of direct API cost, with no VPN required from anywhere in the world. Compatible with Claude Code, Codex, Cursor, Cline, Continue, Windsurf, and all major AI coding tools. Register via this link and get $5 free credit on sign-up.
SSSAiCode Thanks to SSSAiCode for sponsoring this project! SSSAiCode is a stable and reliable API relay service, dedicated to providing stable, reliable, and affordable Claude and Codex model services, with same-day fast invoicing. SSSAiCode offers a special deal for CC Switch users: register via this link to enjoy $10 extra credit on every top-up!
Micu Thanks to Micu API for sponsoring this project! Micu API is a global LLM relay service provider dedicated to delivering the best cost-performance ratio with high stability. Backed by a registered enterprise for core assurance, eliminating any risk of service discontinuation, with fast official invoicing support! We champion "zero cost to try": top up from as low as ¥1 with no minimum, and get fee-free refunds anytime! Micu API offers an exclusive deal for CC Switch users: register via this link and enter promo code "ccswitch" when topping up to enjoy a 10% discount!
RightCode Thank you to Right Code for sponsoring this project! Right Code reliably provides routing services for models such as Claude Code, Codex, and Gemini, with both pay-as-you-go and monthly subscription billing options available. Invoices are available upon top-up, and enterprise and team users can receive dedicated one-on-one support. Right Code also offers an exclusive discount for CC Switch users: register via this link, and with every top-up you will receive pay-as-you-go credit equivalent to 5% of the amount paid.
ETok Thanks to ETok.ai for sponsoring this project! ETok.ai is dedicated to building a one-stop AI programming tool service platform. We offer professional Claude Code packages and technical community services, with support for Google Gemini and OpenAI Codex. Through carefully designed plans and a professional tech community, we provide developers with reliable service guarantees and continuous technical support, making AI-assisted programming a true productivity tool. Click here to register!
Cubence Thanks to Cubence for sponsoring this project! Cubence is a reliable and efficient API relay service provider, offering relay services for Claude Code, Codex, Gemini, and more with flexible billing options including pay-as-you-go and monthly plans. Cubence provides special discounts for CC Switch users: register using this link and enter the "CCSWITCH" promo code during recharge to get 10% off every top-up!
Crazyrouter Thanks to Crazyrouter for sponsoring this project! Crazyrouter is a high-performance AI API aggregation platform — one API key for 300+ models including Claude Code, Codex, Gemini CLI, and more. All models at 55% of official pricing with auto-failover, smart routing, and unlimited concurrency. Crazyrouter offers an exclusive deal for CC Switch users: register via this link and contact customer support to claim $2 free credit, plus enter promo code `CCSWITCH` on your first top-up for an extra 30% bonus credit!
DMXAPI Thanks to DMXAPI for sponsoring this project! DMXAPI provides global large model API services to 200+ enterprise users. One API key for all global models. Features include: instant invoicing, unlimited concurrency, starting from $0.15, 24/7 technical support. GPT/Claude/Gemini all at 32% off, domestic models 20-50% off, Claude Code exclusive models at 66% off! Register here

Why CC Switch?

Modern AI-powered coding relies on tools like Claude Code, Claude Desktop, Codex, Gemini CLI, Grok Build, OpenCode, OpenClaw, and Hermes — but each has its own configuration format. Switching API providers means manually editing JSON, TOML, or .env files, and there is no unified way to manage MCP and Skills across multiple tools.

CC Switch gives you a single desktop app to manage all supported AI tools. Instead of editing config files by hand, you get a visual interface to import providers with one click, switch between them instantly, with 50+ built-in provider presets, unified MCP and Skills management, and system tray quick switching — all backed by a reliable SQLite database with atomic writes that protect your configs from corruption.

  • One App, Eight Tools — Manage Claude Code, Claude Desktop, Codex, Gemini CLI, Grok Build, OpenCode, OpenClaw, and Hermes from a single interface
  • No More Manual Editing — 50+ provider presets including AWS Bedrock, NVIDIA NIM, and community relays; just pick and switch
  • Unified MCP & Skills Management — One panel to manage MCP servers and Skills across Claude, Codex, Gemini, Grok Build, OpenCode, and Hermes with bidirectional sync
  • System Tray Quick Switch — Switch providers instantly from the tray menu, no need to open the full app
  • Cloud Sync — Sync provider data across devices via Dropbox, OneDrive, iCloud, or WebDAV servers
  • Cross-Platform — Native desktop app for Windows, macOS, and Linux, built with Tauri 2
  • Built-in Utilities — Includes various utilities for first-launch login confirmation, signature bypass, plugin extension sync, and more

Screenshots

Main Interface Add Provider
Main Interface Add Provider

Features

Full Changelog | Release Notes

Provider Management

  • 8 supported tools, 50+ presets — Claude Code, Claude Desktop, Codex, Gemini CLI, Grok Build, OpenCode, OpenClaw, Hermes; copy your key and import with one click
  • Universal providers — One config syncs to Claude Code, Codex, and Gemini CLI
  • One-click switching, system tray quick access, drag-and-drop sorting, import/export

Proxy & Failover

  • Local proxy with hot-switching — Format conversion, auto-failover, circuit breaker, provider health monitoring, and request rectifier
  • App-level takeover — Independently proxy Claude, Codex, Gemini, or Grok Build, down to individual providers

MCP, Prompts & Skills

  • Unified MCP panel — Manage MCP servers across Claude, Codex, Gemini, Grok Build, OpenCode, and Hermes with bidirectional sync and Deep Link import
  • Prompts — Markdown editor with cross-app sync (CLAUDE.md / AGENTS.md / GEMINI.md) and backfill protection
  • Skills — One-click install from GitHub repos or ZIP files, custom repository management, with symlink and file copy support

Usage & Cost Tracking

  • Usage dashboard — Track spending, requests, and tokens with trend charts, detailed request logs, and custom per-model pricing

Session Manager & Workspace

  • Browse, search, and restore conversation history across supported session sources
  • Workspace editor (OpenClaw) — Edit agent files (AGENTS.md, SOUL.md, etc.) with Markdown preview

System & Platform

  • Cloud sync — Custom config directory (Dropbox, OneDrive, iCloud, NAS) and WebDAV server sync
  • Deep Link (ccswitch://) — Import providers, MCP servers, prompts, and skills via URL
  • Dark / Light / System theme, auto-launch, auto-updater, atomic writes, auto-backups, i18n (zh/zh-TW/en/ja)

FAQ

Which AI tools does CC Switch support?

CC Switch supports eight tools: Claude Code, Claude Desktop, Codex, Gemini CLI, Grok Build, OpenCode, OpenClaw, and Hermes. Each tool has dedicated provider presets and configuration management.

Do I need to restart the terminal after switching providers?

For most tools, yes — restart your terminal or the CLI tool for changes to take effect. The exception is Claude Code, which currently supports hot-switching of provider data without a restart.

My plugin configuration disappeared after switching providers — what happened?

CC Switch provides a "Shared Config Snippet" feature to pass common data (beyond API keys and endpoints) between providers. Go to "Edit Provider" → "Shared Config Panel" → click "Extract from Current Provider" to save all common data. When creating a new provider, check "Write Shared Config" (enabled by default) to include plugin data in the new provider. All your configuration items are preserved in the default provider imported when you first launched the app.

macOS installation

CC Switch for macOS is code-signed and notarized by Apple. You can download and install it directly — no extra steps needed. We recommend using the .dmg installer.

Why can't I delete the currently active provider?

CC Switch follows a "minimal intrusion" design principle — even if you uninstall the app, your CLI tools will continue to work normally. The system always keeps one active configuration, because deleting all configurations would make the corresponding CLI tool unusable. If you rarely use a specific CLI tool, you can hide it in Settings. To switch back to official login, see the next question.

How do I switch back to official login?

Add an official provider from the preset list. After switching to it, run the Log out / Log in flow, and then you can freely switch between the official provider and third-party providers. Codex supports switching between different official providers, making it easy to switch between multiple Plus or Team accounts.

Where is my data stored?
  • Database: ~/.cc-switch/cc-switch.db (SQLite — providers, MCP, prompts, skills)
  • Local settings: ~/.cc-switch/settings.json (device-level UI preferences)
  • Backups: ~/.cc-switch/backups/ (auto-rotated, keeps 10 most recent)
  • Skills: ~/.cc-switch/skills/ (symlinked to corresponding apps by default)
  • Skill Backups: ~/.cc-switch/skill-backups/ (created automatically before uninstall, keeps 20 most recent)
Linux (Wayland + NVIDIA): clicks don't register and the window black-screens on resize

The AppImage forces GDK_BACKEND=x11 (XWayland) to avoid a historical native-Wayland crash. On newer Wayland + NVIDIA setups this can leave the web content area unclickable (the title-bar buttons still work) and black-screen on resize. Launch with the opt-in escape hatch to switch back to native Wayland:

CC_SWITCH_GDK_BACKEND=wayland ./CC-Switch-*.AppImage

If you launch from a desktop icon, add it to the .desktop Exec= line (e.g. env CC_SWITCH_GDK_BACKEND=wayland /path/to/AppImage) or set it in your session environment. The variable is generic: on tiling Wayland compositors (sway/Hyprland) where clicks don't register, try CC_SWITCH_GDK_BACKEND=x11 instead. Leaving it unset keeps the default behavior.

Documentation

For detailed guides on every feature, check out the User Manual — covering provider management, MCP/Prompts/Skills, proxy & failover, and more.

Quick Start

Basic Usage

  1. Add Provider: Click "Add Provider" → Choose a preset or create custom configuration
  2. Switch Provider:
    • Main UI: Select provider → Click "Enable"
    • System Tray: Click provider name directly (instant effect)
  3. Takes Effect: Restart your terminal or the corresponding CLI tool to apply changes (Claude Code does not require a restart)
  4. Back to Official: Add an "Official Login" preset, restart the CLI tool, then follow its login/OAuth flow

MCP, Prompts, Skills & Sessions

  • MCP: Click the "MCP" button → Add servers via templates or custom config → Toggle per-app sync
  • Prompts: Click "Prompts" → Create presets with Markdown editor → Activate to sync to live files
  • Skills: Click "Skills" → Browse GitHub repos → One-click install to supported apps
  • Sessions: Click "Sessions" → Browse, search, and restore conversation history across supported session sources

Note: On first launch, you can manually import existing CLI tool configs as the default provider.

Download & Installation

System Requirements

  • Windows: Windows 10 and above
  • macOS: macOS 12 (Monterey) and above
  • Linux: Ubuntu 22.04+ / Debian 11+ / Fedora 34+ and other mainstream distributions

Windows Users

Download the latest CC-Switch-v{version}-Windows.msi installer or CC-Switch-v{version}-Windows-Portable.zip portable version from the Releases page.

macOS Users

Method 1: Install via Homebrew (Recommended)

brew install --cask cc-switch

Update:

brew upgrade --cask cc-switch

Method 2: Manual Download

Download CC-Switch-v{version}-macOS.dmg (recommended) or .zip from the Releases page.

Note: CC Switch for macOS is code-signed and notarized by Apple. You can install and open it directly.

Arch Linux Users

Install via paru (Recommended)

paru -S cc-switch-bin

Linux Users

Download the latest Linux build from the Releases page:

  • CC-Switch-v{version}-Linux.deb (Debian/Ubuntu)
  • CC-Switch-v{version}-Linux.rpm (Fedora/RHEL/openSUSE)
  • CC-Switch-v{version}-Linux.AppImage (Universal)

Flatpak: Not included in official releases. You can build it yourself from the .deb — see flatpak/README.md for instructions.

Architecture Overview

Design Principles

┌─────────────────────────────────────────────────────────────┐
│                    Frontend (React + TS)                    │
│  ┌─────────────┐  ┌──────────────┐  ┌──────────────────┐    │
│  │ Components  │  │    Hooks     │  │  TanStack Query  │    │
│  │   (UI)      │──│ (Bus. Logic) │──│   (Cache/Sync)   │    │
│  └─────────────┘  └──────────────┘  └──────────────────┘    │
└────────────────────────┬────────────────────────────────────┘
                         │ Tauri IPC
┌────────────────────────▼────────────────────────────────────┐
│                  Backend (Tauri + Rust)                     │
│  ┌─────────────┐  ┌──────────────┐  ┌──────────────────┐    │
│  │  Commands   │  │   Services   │  │  Models/Config   │    │
│  │ (API Layer) │──│ (Bus. Layer) │──│     (Data)       │    │
│  └─────────────┘  └──────────────┘  └──────────────────┘    │
└─────────────────────────────────────────────────────────────┘

Core Design Patterns

  • SSOT (Single Source of Truth): All data stored in ~/.cc-switch/cc-switch.db (SQLite)
  • Dual-layer Storage: SQLite for syncable data, JSON for device-level settings
  • Dual-way Sync: Write to live files on switch, backfill from live when editing active provider
  • Atomic Writes: Temp file + rename pattern prevents config corruption
  • Concurrency Safe: Mutex-protected database connection avoids race conditions
  • Layered Architecture: Clear separation (Commands → Services → DAO → Database)

Key Components

  • ProviderService: Provider CRUD, switching, backfill, sorting
  • McpService: MCP server management, import/export, live file sync
  • ProxyService: Local proxy mode with hot-switching and format conversion
  • SessionManager: Conversation history browsing across supported session sources
  • ConfigService: Config import/export, backup rotation
  • SpeedtestService: API endpoint latency measurement
Development Guide

Environment Requirements

  • Node.js 18+
  • pnpm 8+
  • Rust 1.85+
  • Tauri CLI 2.8+

Development Commands

# Install dependencies
pnpm install

# Dev mode (hot reload)
pnpm dev

# Type check
pnpm typecheck

# Format code
pnpm format

# Check code format
pnpm format:check

# Run frontend unit tests
pnpm test:unit

# Run tests in watch mode (recommended for development)
pnpm test:unit:watch

# Build application
pnpm build

# Build debug version
pnpm tauri build --debug

Rust Backend Development

cd src-tauri

# Format Rust code
cargo fmt

# Run clippy checks
cargo clippy

# Run backend tests
cargo test

# Run specific tests
cargo test test_name

# Run tests with test-hooks feature
cargo test --features test-hooks

Testing Guide

Frontend Testing:

  • Uses vitest as test framework
  • Uses MSW (Mock Service Worker) to mock Tauri API calls
  • Uses @testing-library/react for component testing

Running Tests:

# Run all tests
pnpm test:unit

# Watch mode (auto re-run)
pnpm test:unit:watch

# With coverage report
pnpm test:unit --coverage

Tech Stack

Frontend: React 18 · TypeScript · Vite · TailwindCSS 3.4 · TanStack Query v5 · react-i18next · react-hook-form · zod · shadcn/ui · @dnd-kit

Backend: Tauri 2.8 · Rust · serde · tokio · thiserror · tauri-plugin-updater/process/dialog/store/log

Testing: vitest · MSW · @testing-library/react

Project Structure
├── src/                        # Frontend (React + TypeScript)
│   ├── components/
│   │   ├── providers/          # Provider management
│   │   ├── mcp/                # MCP panel
│   │   ├── prompts/            # Prompts management
│   │   ├── skills/             # Skills management
│   │   ├── sessions/           # Session Manager
│   │   ├── proxy/              # Proxy mode panel
│   │   ├── openclaw/           # OpenClaw config panels
│   │   ├── settings/           # Settings (Terminal/Backup/About)
│   │   ├── deeplink/           # Deep Link import
│   │   ├── env/                # Environment variable management
│   │   ├── universal/          # Cross-app configuration
│   │   ├── usage/              # Usage statistics
│   │   └── ui/                 # shadcn/ui component library
│   ├── hooks/                  # Custom hooks (business logic)
│   ├── lib/
│   │   ├── api/                # Tauri API wrapper (type-safe)
│   │   └── query/              # TanStack Query config
│   ├── locales/                # Translations (zh/zh-TW/en/ja)
│   ├── config/                 # Presets (providers/mcp)
│   └── types/                  # TypeScript definitions
├── src-tauri/                  # Backend (Rust)
│   └── src/
│       ├── commands/           # Tauri command layer (by domain)
│       ├── services/           # Business logic layer
│       ├── database/           # SQLite DAO layer
│       ├── proxy/              # Proxy module
│       ├── session_manager/    # Session management
│       ├── deeplink/           # Deep Link handling
│       └── mcp/                # MCP sync module
├── tests/                      # Frontend tests
└── assets/                     # Screenshots & partner resources

Contributing

Issues and suggestions are welcome!

Before submitting PRs, please ensure:

  • Pass type check: pnpm typecheck
  • Pass format check: pnpm format:check
  • Pass unit tests: pnpm test:unit

For new features, please open an issue for discussion before submitting a PR. PRs for features that are not a good fit for the project may be closed.

Star History

Star History Chart

License

MIT © Jason Young

View on GitHub

Recent activity

commits and pull requests

Releases and announcements

50 total
  1. CC Switch v3.19.2v3.19.2Aug 6, 20266.5K downloads

    # CC Switch v3.19.2 > 这一版的主线是**把数字算对、把边界扎紧**:Codex 用量统计修掉一个会把交错计数器文件多算数倍的缺陷——升级后新数据即刻正确,历史虚高可用一次手动重建回正(见「升级提醒」);一轮六项安全加固把用量脚本、会话日志、目录文件与代理缓冲响应体的无界读取全部封顶。日常顺手的部分也补齐了:MCP / 提示词 / Skills 面板可以搜索,MCP 与 Skills 还能按应用一键批量开关;认证中心逐账号显示 ChatGPT 订阅用量;OMO 用户拿回可用的集成。两条写盘路径批量化之后,大数据库的备份导入、自动同步与用量重导入不再动辄卡住。本版**没有数据库迁移**。 **[English →](https://github.com/farion1231/cc-switch/blob/v3.19.2/docs/release-notes/v3.19.2-en.md) | [日本語版 →](https://github.com/farion1231/cc-switch/blob/v3.19.2/docs/release-notes/v3.19.2-ja.md)** --- ## 重点内容:你现在可以 - **拿到正确的 Codex 用量数字**:真实日志里存在计数器交错的文件——同一份快照被网关换着限额桶反复重播,或两个累计计数器交替出现——旧算法会把它们当成新增量,现场文件实测有 6 到 8 倍虚高。修复经近 1,900 份真实会话文件回放验证,与独立重算的理想值偏差 0.001%。历史数据不会被自动改写,回正方法见[升级提醒](#codex-历史用量虚高需手动重建一次)。 - **在 MCP、提示词、Skills 面板里直接搜索**:三个面板都有了搜索框;MCP 与 Skills 列表上的应用徽章还变成了三态开关,一键把某个应用在整张列表上批量启用或停用([#5954](https://github.com/farion1231/cc-switch/issues/5954)、[#5935](https://github.com/farion1231/cc-switch/issues/5935) 都是用户之声)。 - **让新版 Claude Code 直接进入 Copilot 接管的会话**:新版 Claude Code 对不认识的 API key 会弹确认框、且默认选中「No (recommended)」,此前接管写入的占位符正好撞上它,用户看到的是一个未登录的会话。现在改写 `ANTHROPIC_AUTH_TOKEN` 占位符,零弹窗直接进入。 - **继续用 CC Switch 管理 OMO**:OMO 4.19.3 起配置统一进 `~/.omo/omo.jsonc`,旧文件不

  2. CC Switch v3.19.1v3.19.1Jul 31, 2026550.2K downloads

    # CC Switch v3.19.1 > 这一版的主线是**把上一版的尾巴收干净**:三家国产 Codex 网关经确认原生支持 Responses API,**不用再开本地路由接管**——DeepSeek 与火山方舟 Coding Plan 的预设从走本地路由改为直连,新加入的腾讯混元 TokenHub 一上来就是直连;四个能在日常里撞上的故障被修掉——**Claude Desktop 用量自 v3.18.0 起被算了两遍**(升级后历史数字会自动回正,但有 30 天窗口,见「升级提醒」)、切回官方 Codex 会卡在 401 且看不到登录界面、从设置页升级 Grok Build 只报一句 `os error 2`、Grok Build 开启接管后直接 404。另有 8 个此前一直按 $0 记账的模型补上内置定价,39 个界面文案的语言问题被修正。本版**没有数据库迁移**,并且是本项目第一个删除量超过新增量的版本。 **[English →](https://github.com/farion1231/cc-switch/blob/v3.19.1/docs/release-notes/v3.19.1-en.md) | [日本語版 →](https://github.com/farion1231/cc-switch/blob/v3.19.1/docs/release-notes/v3.19.1-ja.md)** --- ## 重点内容:你现在可以 - **让 DeepSeek、火山方舟 Coding Plan、腾讯混元在 Codex 里直连**:三家的官方 Codex 文档都已确认端点原生提供 Responses API。DeepSeek 与火山方舟 Coding Plan 的既有预设从 Chat 格式改为原生格式,供应商卡片上的「需要路由」标记与切换时的提示随之消失,请求不再经过本地代理的协议转换;腾讯混元 TokenHub 是本版新增的预设,从一开始就是原生格式。**注意 DeepSeek V4 Pro 暂时还不能直连**——厂商侧尚未开通它的 Codex 集成,直连请用 V4 Flash(预设默认),详见[升级提醒](#deepseek-v4-pro-暂时还不能直连)。 - **让 DeepSeek 用上 DeepSeek 自己发布的模型目录**:新的「官方厂商目录镜像」机制把厂商公布的 `models.json` 原样下发给该厂商自己的端点,freeform `apply_patch` 与配套的 GPT-5 提示词框架成套保留,不再被压成中性模板。判定只认域名、不认模型名——同一个模型在聚合站上未必实现同样的能力。 - **拿到正确的 Claude Desktop 用量数字**:自 v3.18.0 起,经本地网关的 Claude Desk

  3. CC Switch v3.19.0v3.19.0Jul 30, 2026185.4K downloads

    # CC Switch v3.19.0 > 这一版的主线是**让你更放心**:一波集中式安全加固——Skill 安装、`ccswitch://` 导入确认、SQL 备份导入、通用配置合并、终端启动全部收紧,其中两条需要你花一分钟确认——Gemini 通用配置的密钥泄漏已修复并在升级后自动清洗(**需要你轮换密钥**),`ccswitch://` 的 MCP 导入确认框此前可能显示不出即将写入的命令(**若你曾打开过来源不明的导入链接,建议核对一次**),两条都见「升级提醒」;一个代理正确性大修——**通过代理读图不再撑爆上下文**(一张截图曾经吃掉 10 万+ token,两三张就能把 Codex 会话卡死在 400 上)。省心的部分同样实在:**模型定价可以交给 models.dev 自动维护**、Grok CLI 官方登录模式的用量与 SuperGrok 订阅余量终于进看板、**应用内更新改走 `dl.ccswitch.io` 镜像**——GitHub 访问不畅也能顺利升级。 **[English →](https://github.com/farion1231/cc-switch/blob/v3.19.0/docs/release-notes/v3.19.0-en.md) | [日本語版 →](https://github.com/farion1231/cc-switch/blob/v3.19.0/docs/release-notes/v3.19.0-ja.md)** --- ## 重点内容:你现在可以 - **在代理下正常读图,不再撑爆上下文**:Codex 的 `view_image`、返回图片的 MCP 工具,图片此前被序列化成工具文本、按纯文本计 token(约 9,000 倍膨胀);现在所有转换桥都把图片还原为原生格式再上送(文件与音频在两条 Chat 桥上一并支持)。真实测试里同一回放轮从 85k+ token 降到约 12k、缓存命中 99%。 - **把模型定价交给 models.dev 自动维护**:用量面板新增「models.dev 自动定价同步」(默认关闭)。开启后启动时自动刷新所选模型的价格(每 6 小时至多一次),可在完整目录里挑选要跟踪的模型,或让它自动包含各家最新的常用模型。手工改价与删价从本版起会记入 `~/.cc-switch/model-pricing.json`,数据库重建也不丢。 - **看到 Grok 官方模式的用量与订阅余量**:Grok CLI 用官方 OAuth 登录时无法走本地代理,此前这部分消耗完全不可见;现在会从会话日志导入逐轮用量,看板里以「Grok Build (Session)」呈现。官方类 Grok Build 供应商卡片还会直接显示 SuperGrok 订

  4. CC Switch v3.18.0v3.18.0Jul 21, 2026970.6K downloads

    # CC Switch v3.18.0 > 这一版你可以做两件全新的事:**把 xAI 的 Grok CLI(Grok Build)交给 CC Switch 管理**——它成为第八个受管应用,供应商一键切换、MCP / Skills 同步、代理接管与用量统计一应俱全;以及**把 Grok 接进 Claude Code、Claude Desktop 和 Codex**——既可以直接用 xAI Grok 账号登录(设备码授权、无需 API Key,跑你的 Grok 订阅,Codex 侧自带严格网关兼容层,codex 0.142+ 也能跑通),也可以用 xAI API Key 接入(Codex 有原生 Responses 直连预设,Claude Code 可走本地路由)。同样重要的是一波修复:v3.17.0 引入的 **Codex 用量双计已修**,升级后自动重建数据,看板数字恢复真实;**codex 0.144.5+ 因模型目录无法启动的问题已修**;Windows 上切换供应商不再闪黑窗、不再卡住界面。诊断日志也从「每次启动清空」变为跨重启持久保留、按大小轮转、全面脱敏,界面崩溃会落盘留证而不再只剩一片白屏。 **[English →](https://github.com/farion1231/cc-switch/blob/v3.18.0/docs/release-notes/v3.18.0-en.md) | [日本語版 →](https://github.com/farion1231/cc-switch/blob/v3.18.0/docs/release-notes/v3.18.0-ja.md)** --- ## 重点内容:你现在可以 - **管理 Grok Build(xAI 的 Grok CLI)**:像管理 Claude Code / Codex 一样添加、导入、一键切换 Grok Build 的供应商;MCP 服务器与 Skills 双向同步、提示词首启自动导入、会话管理与用量看板全覆盖;还可以走本地代理接管,获得独立的路由、failover 与计费。 - **把 Grok 接进 Claude Code / Claude Desktop / Codex——账号登录与 API Key 双路径**:订阅用户在「设置 → OAuth 授权中心」用设备码完成 xAI 账号登录(支持多账号),三个客户端直接跑你的 Grok 订阅、全程无需 API Key;按量付费用户则用 xAI API Key 接入——Codex 有现成的「xAI (Grok)」预设原生直连 `api.x.ai`,Claude Code 可按本版新攻略走本地路由接入。默认模型均为 `grok-4.5`。 - **把 Codex 的用量数字修回真实值**:v

  5. CC Switch v3.17.0v3.17.0Jul 13, 20261M downloads

    # CC Switch v3.17.0 > 这一版带来一个盼了很久的能力:**「项目」一键切换**——把当前的供应商、MCP、Skills、记忆文件整套保存为命名快照,在标题栏或托盘里一键换成另一套,切换时还会自动把你离开的项目当前状态存回去。Codex 侧同样收获颇丰:**官方 ChatGPT 订阅账号现在也能走本地代理路由**,享受与第三方供应商相同的路由与用量统计;GPT-5.6 全家的上下文窗口与 Sol / Terra / Luna 三档定价一步到位;还新增了原生 Anthropic Messages 上游格式——所在企业禁用了 Claude Code、但没有禁用 Claude API?现在可以**在 Codex 里直接用上 Claude 系列模型**。此外是一大波正确性修复:上游失败不再变成「空回复」、缓存写入不再被双重计费、删掉的 MCP 服务器不再复活、Kimi For Coding 的 256K 窗口终于真正生效。 **[English →](https://github.com/farion1231/cc-switch/blob/v3.17.0/docs/release-notes/v3.17.0-en.md) | [日本語版 →](https://github.com/farion1231/cc-switch/blob/v3.17.0/docs/release-notes/v3.17.0-ja.md)** --- ## 使用攻略 本版的新能力主要落在主页顶部的项目切换器、Codex 供应商表单与用量看板里,建议结合以下文档了解: - **[在 Codex 里使用 Kimi(本地路由攻略)](https://github.com/farion1231/cc-switch/blob/v3.17.0/docs/guides/codex-kimi-routing-guide-zh.md)**:本版新增的分步攻略。较新的 Codex CLI 走 OpenAI Responses 协议,而 Kimi 开放平台与 Kimi For Coding 暴露的是 Chat Completions 端点,直连通常 404;攻略讲解如何用内置的 `Kimi` / `Kimi For Coding` 预设配合本地路由完成协议转换。 - **[Codex 官方登录保留](https://github.com/farion1231/cc-switch/blob/v3.17.0/docs/guides/codex-official-auth-preservation-guide-zh.md)**:了解 CC Switch 如何在切换第三方供应商时保留你的官方 ChatGPT 登录。本版在此基础上更进一步——官方账号本身也可以走代理路

Code frequency

additions and deletions
+28K-28KWeek of 2025-08-03: +8,171 linesWeek of 2025-08-03: -2,460 linesWeek of 2025-08-10: +158 linesWeek of 2025-08-10: -76 linesWeek of 2025-08-17: +8,519 linesWeek of 2025-08-17: -5,302 linesWeek of 2025-08-24: +3,511 linesWeek of 2025-08-24: -1,467 linesWeek of 2025-08-31: +4,172 linesWeek of 2025-08-31: -2,409 linesWeek of 2025-09-07: +3,596 linesWeek of 2025-09-07: -1,429 linesWeek of 2025-09-14: +4,581 linesWeek of 2025-09-14: -2,105 linesWeek of 2025-09-21: +1,631 linesWeek of 2025-09-21: -1,038 linesWeek of 2025-09-28: +1,527 linesWeek of 2025-09-28: -896 linesWeek of 2025-10-05: +7,780 linesWeek of 2025-10-05: -2,087 linesWeek of 2025-10-12: +23,502 linesWeek of 2025-10-12: -13,584 linesWeek of 2025-10-19: +6,249 linesWeek of 2025-10-19: -1,274 linesWeek of 2025-10-26: +9,991 linesWeek of 2025-10-26: -5,086 linesWeek of 2025-11-02: +4,295 linesWeek of 2025-11-02: -2,519 linesWeek of 2025-11-09: +12,025 linesWeek of 2025-11-09: -4,328 linesWeek of 2025-11-16: +17,882 linesWeek of 2025-11-16: -4,433 linesWeek of 2025-11-23: +17,696 linesWeek of 2025-11-23: -10,286 linesWeek of 2025-11-30: +14,025 linesWeek of 2025-11-30: -176 linesWeek of 2025-12-07: +9,811 linesWeek of 2025-12-07: -4,179 linesWeek of 2025-12-14: +5,779 linesWeek of 2025-12-14: -2,008 linesWeek of 2025-12-21: +7,818 linesWeek of 2025-12-21: -2,485 linesWeek of 2025-12-28: +6,606 linesWeek of 2025-12-28: -2,128 linesWeek of 2026-01-04: +2,631 linesWeek of 2026-01-04: -745 linesWeek of 2026-01-11: +8,467 linesWeek of 2026-01-11: -2,393 linesWeek of 2026-01-18: +4,935 linesWeek of 2026-01-18: -879 linesWeek of 2026-01-25: +4,982 linesWeek of 2026-01-25: -1,435 linesWeek of 2026-02-01: +9,184 linesWeek of 2026-02-01: -1,327 linesWeek of 2026-02-08: +16,186 linesWeek of 2026-02-08: -1,513 linesWeek of 2026-02-15: +7,178 linesWeek of 2026-02-15: -2,925 linesWeek of 2026-02-22: +9,674 linesWeek of 2026-02-22: -7,140 linesWeek of 2026-03-01: +28,009 linesWeek of 2026-03-01: -18,609 linesWeek of 2026-03-08: +11,150 linesWeek of 2026-03-08: -2,531 linesWeek of 2026-03-15: +7,276 linesWeek of 2026-03-15: -1,376 linesWeek of 2026-03-22: +2,956 linesWeek of 2026-03-22: -630 linesWeek of 2026-03-29: +11,918 linesWeek of 2026-03-29: -1,708 linesWeek of 2026-04-05: +20,495 linesWeek of 2026-04-05: -2,227 linesWeek of 2026-04-12: +16,890 linesWeek of 2026-04-12: -3,374 linesWeek of 2026-04-19: +10,421 linesWeek of 2026-04-19: -3,335 linesWeek of 2026-04-26: +5,611 linesWeek of 2026-04-26: -1,529 linesWeek of 2026-05-03: +5,234 linesWeek of 2026-05-03: -651 linesWeek of 2026-05-10: +12,242 linesWeek of 2026-05-10: -3,705 linesWeek of 2026-05-17: +14,822 linesWeek of 2026-05-17: -1,576 linesWeek of 2026-05-24: +16,106 linesWeek of 2026-05-24: -4,347 linesWeek of 2026-05-31: +15,005 linesWeek of 2026-05-31: -1,920 linesWeek of 2026-06-07: +11,362 linesWeek of 2026-06-07: -2,309 linesWeek of 2026-06-14: +6,266 linesWeek of 2026-06-14: -3,195 linesWeek of 2026-06-21: +6,673 linesWeek of 2026-06-21: -836 linesWeek of 2026-06-28: +9,854 linesWeek of 2026-06-28: -3,336 linesWeek of 2026-07-05: +13,936 linesWeek of 2026-07-05: -2,095 linesWeek of 2026-07-12: +13,318 linesWeek of 2026-07-12: -1,821 linesWeek of 2026-07-19: +22,089 linesWeek of 2026-07-19: -6,662 linesWeek of 2026-07-26: +8,575 linesWeek of 2026-07-26: -1,642 linesAug 3, 2025Jul 26, 2026
+512.8K lines added, -159.5K removed over the last year.

Commits per week

last 52 weeks
880Week of 2025-08-10: 8 commitsWeek of 2025-08-17: 16 commitsWeek of 2025-08-24: 48 commitsWeek of 2025-08-31: 49 commitsWeek of 2025-09-07: 56 commitsWeek of 2025-09-14: 41 commitsWeek of 2025-09-21: 26 commitsWeek of 2025-09-28: 15 commitsWeek of 2025-10-05: 47 commitsWeek of 2025-10-12: 75 commitsWeek of 2025-10-19: 41 commitsWeek of 2025-10-26: 39 commitsWeek of 2025-11-02: 50 commitsWeek of 2025-11-09: 47 commitsWeek of 2025-11-16: 46 commitsWeek of 2025-11-23: 62 commitsWeek of 2025-11-30: 16 commitsWeek of 2025-12-07: 23 commitsWeek of 2025-12-14: 44 commitsWeek of 2025-12-21: 26 commitsWeek of 2025-12-28: 32 commitsWeek of 2026-01-04: 38 commitsWeek of 2026-01-11: 52 commitsWeek of 2026-01-18: 43 commitsWeek of 2026-01-25: 36 commitsWeek of 2026-02-01: 54 commitsWeek of 2026-02-08: 24 commitsWeek of 2026-02-15: 35 commitsWeek of 2026-02-22: 44 commitsWeek of 2026-03-01: 36 commitsWeek of 2026-03-08: 56 commitsWeek of 2026-03-15: 22 commitsWeek of 2026-03-22: 15 commitsWeek of 2026-03-29: 49 commitsWeek of 2026-04-05: 88 commitsWeek of 2026-04-12: 57 commitsWeek of 2026-04-19: 71 commitsWeek of 2026-04-26: 42 commitsWeek of 2026-05-03: 16 commitsWeek of 2026-05-10: 69 commitsWeek of 2026-05-17: 53 commitsWeek of 2026-05-24: 53 commitsWeek of 2026-05-31: 47 commitsWeek of 2026-06-07: 58 commitsWeek of 2026-06-14: 35 commitsWeek of 2026-06-21: 37 commitsWeek of 2026-06-28: 50 commitsWeek of 2026-07-05: 41 commitsWeek of 2026-07-12: 37 commitsWeek of 2026-07-19: 44 commitsWeek of 2026-07-26: 48 commitsWeek of 2026-08-02: 24 commitsAug 10, 2025Aug 2, 2026
2.2K commits in the last 52 weeks.

When work happens

weekday and hour
SunMonTueWedThuFriSat036912151821Sun 0:00 — 12 commitsSun 1:00 — 0 commitsSun 2:00 — 1 commitsSun 3:00 — 0 commitsSun 4:00 — 0 commitsSun 5:00 — 0 commitsSun 6:00 — 0 commitsSun 7:00 — 0 commitsSun 8:00 — 4 commitsSun 9:00 — 6 commitsSun 10:00 — 19 commitsSun 11:00 — 14 commitsSun 12:00 — 11 commitsSun 13:00 — 6 commitsSun 14:00 — 0 commitsSun 15:00 — 9 commitsSun 16:00 — 22 commitsSun 17:00 — 21 commitsSun 18:00 — 5 commitsSun 19:00 — 15 commitsSun 20:00 — 38 commitsSun 21:00 — 29 commitsSun 22:00 — 37 commitsSun 23:00 — 44 commitsMon 0:00 — 7 commitsMon 1:00 — 0 commitsMon 2:00 — 0 commitsMon 3:00 — 0 commitsMon 4:00 — 1 commitsMon 5:00 — 0 commitsMon 6:00 — 0 commitsMon 7:00 — 0 commitsMon 8:00 — 11 commitsMon 9:00 — 16 commitsMon 10:00 — 29 commitsMon 11:00 — 30 commitsMon 12:00 — 22 commitsMon 13:00 — 2 commitsMon 14:00 — 1 commitsMon 15:00 — 23 commitsMon 16:00 — 21 commitsMon 17:00 — 12 commitsMon 18:00 — 4 commitsMon 19:00 — 3 commitsMon 20:00 — 3 commitsMon 21:00 — 19 commitsMon 22:00 — 39 commitsMon 23:00 — 37 commitsTue 0:00 — 1 commitsTue 1:00 — 0 commitsTue 2:00 — 1 commitsTue 3:00 — 0 commitsTue 4:00 — 0 commitsTue 5:00 — 0 commitsTue 6:00 — 0 commitsTue 7:00 — 0 commitsTue 8:00 — 12 commitsTue 9:00 — 16 commitsTue 10:00 — 37 commitsTue 11:00 — 21 commitsTue 12:00 — 14 commitsTue 13:00 — 3 commitsTue 14:00 — 5 commitsTue 15:00 — 30 commitsTue 16:00 — 39 commitsTue 17:00 — 19 commitsTue 18:00 — 6 commitsTue 19:00 — 6 commitsTue 20:00 — 11 commitsTue 21:00 — 21 commitsTue 22:00 — 33 commitsTue 23:00 — 34 commitsWed 0:00 — 10 commitsWed 1:00 — 0 commitsWed 2:00 — 0 commitsWed 3:00 — 0 commitsWed 4:00 — 1 commitsWed 5:00 — 0 commitsWed 6:00 — 0 commitsWed 7:00 — 14 commitsWed 8:00 — 11 commitsWed 9:00 — 20 commitsWed 10:00 — 35 commitsWed 11:00 — 39 commitsWed 12:00 — 13 commitsWed 13:00 — 3 commitsWed 14:00 — 7 commitsWed 15:00 — 18 commitsWed 16:00 — 24 commitsWed 17:00 — 9 commitsWed 18:00 — 2 commitsWed 19:00 — 4 commitsWed 20:00 — 3 commitsWed 21:00 — 22 commitsWed 22:00 — 32 commitsWed 23:00 — 45 commitsThu 0:00 — 4 commitsThu 1:00 — 0 commitsThu 2:00 — 0 commitsThu 3:00 — 0 commitsThu 4:00 — 0 commitsThu 5:00 — 1 commitsThu 6:00 — 1 commitsThu 7:00 — 1 commitsThu 8:00 — 15 commitsThu 9:00 — 25 commitsThu 10:00 — 24 commitsThu 11:00 — 27 commitsThu 12:00 — 25 commitsThu 13:00 — 4 commitsThu 14:00 — 4 commitsThu 15:00 — 33 commitsThu 16:00 — 49 commitsThu 17:00 — 41 commitsThu 18:00 — 2 commitsThu 19:00 — 10 commitsThu 20:00 — 15 commitsThu 21:00 — 31 commitsThu 22:00 — 45 commitsThu 23:00 — 38 commitsFri 0:00 — 8 commitsFri 1:00 — 0 commitsFri 2:00 — 0 commitsFri 3:00 — 0 commitsFri 4:00 — 0 commitsFri 5:00 — 1 commitsFri 6:00 — 0 commitsFri 7:00 — 0 commitsFri 8:00 — 17 commitsFri 9:00 — 22 commitsFri 10:00 — 16 commitsFri 11:00 — 30 commitsFri 12:00 — 17 commitsFri 13:00 — 6 commitsFri 14:00 — 12 commitsFri 15:00 — 35 commitsFri 16:00 — 32 commitsFri 17:00 — 11 commitsFri 18:00 — 10 commitsFri 19:00 — 9 commitsFri 20:00 — 26 commitsFri 21:00 — 22 commitsFri 22:00 — 41 commitsFri 23:00 — 52 commitsSat 0:00 — 5 commitsSat 1:00 — 0 commitsSat 2:00 — 0 commitsSat 3:00 — 0 commitsSat 4:00 — 0 commitsSat 5:00 — 1 commitsSat 6:00 — 0 commitsSat 7:00 — 0 commitsSat 8:00 — 2 commitsSat 9:00 — 15 commitsSat 10:00 — 19 commitsSat 11:00 — 23 commitsSat 12:00 — 9 commitsSat 13:00 — 7 commitsSat 14:00 — 3 commitsSat 15:00 — 14 commitsSat 16:00 — 23 commitsSat 17:00 — 20 commitsSat 18:00 — 13 commitsSat 19:00 — 12 commitsSat 20:00 — 24 commitsSat 21:00 — 33 commitsSat 22:00 — 34 commitsSat 23:00 — 31 commits
Commit volume by weekday and hour (UTC). Larger dots mean more commits.

Who is committing

last 52 weeks
Maintainer commits1,802 (81%)
Community commits410 (19%)

2,212 commits in total over the last year.

DateListRankStars gained
Jul 26, 2026daily#15+3
Jul 21, 2026daily#21+3
Jul 13, 2026daily#17+3
Jul 12, 2026daily#23+2
Jul 7, 2026daily#18+6
Jul 2, 2026daily#14+26
Jun 29, 2026daily#20+11
Jun 27, 2026daily#25+27
Jun 25, 2026daily#19+18
Jun 18, 2026daily#11+20
Jun 17, 2026daily#25+11
Jun 16, 2026daily#4+27
Jun 15, 2026daily#12+24
Jun 14, 2026daily#11+47
Jun 13, 2026daily#18+36
  • public-apis/public-apis

    A collective list of free APIs

    454.9K stars · Python

  • openclaw/openclaw

    Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞

    385.5K stars · TypeScript

  • openclaw/openclaw

    Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞

    384.4K stars · TypeScript

  • openclaw/openclaw

    Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞

    384.4K stars · TypeScript

  • openclaw/openclaw

    Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞

    384.4K stars · TypeScript

  • obra/superpowers

    An agentic skills framework & software development methodology that works.

    268.6K stars · Shell