CC Switch is a cross-platform configuration manager for AI coding tools. It centralizes model provider settings from different tools in one place, so you can switch between API backends with one click without editing configuration files manually. It supports popular tools such as Claude Code, Claude Desktop, Codex, and Gemini CLI, making it suitable for individual developers and teams that frequently switch between model services.By connecting to Interface AI, you can use directly accessible API services with Claude Code and other agents in CC Switch. No project code changes are required: create a custom provider, enter the endpoint and API key, and save it.
Key Features of CC Switch
Visual Configuration Management
All provider configurations are stored in a local database and can be created, edited, queried, and deleted through the interface. You do not need to edit JSON files or repeatedly configure environment variables.
One-Click Switching
More than 50 provider presets are built in. Switching takes one click, and changes take effect without restarting the agent.
Unified Management for Multiple Tools
Claude Code and Claude Desktop
Codex and Gemini CLI
OpenCode, OpenClaw, Hermes, and more
Cross-application synchronization of MCP services, prompts, and Skills
Cross-Platform Support
CC Switch supports Windows, macOS, and Linux, including major distributions.
Configuration Safety
Atomic writes and automatic backups are used. Configuration files and backups are stored under ~/.cc-switch/, so existing settings are not damaged during switching.
Connect Interface AI to CC Switch
Complete the integration in three steps.
1. Get an API Key
Sign in to jiekou.vip, register, and open the management console. Click “My” in the upper-right corner and select “API Key Management”.
Click “Add” and enter a key name. Use a recognizable name such as CCSwitch so you can distinguish keys for different purposes in the console.
Copy and record the generated key. The console cannot display it again, so store it securely for the next step.
2. Add a Provider in CC Switch
Open CC Switch, select Claude Code on the left, and click “Add Provider” in the upper-right corner.
Select “Custom Configuration” from the preset list and enter a provider name such as “Interface AI”.
Enter the key copied in the previous step, retrieve the model list, and select the model you want to use.
Save the provider, select it, and click “Enable”. The active provider will then appear in the system tray.
Anthropic model configuration:OpenAI model configuration:
3. Verify the Configuration
Open a terminal and run claude. If the conversation starts normally, the integration is working. After switching providers in Claude Code, you can start a new session directly without restarting the application.If an error occurs, check the following:
404: Check whether the path at the end of the endpoint is missing or duplicated.
401 or 403: Return to the Interface AI console and confirm that the API key is active.
Last modified on September 3, 2026
{"docsConfig":{"theme":"aspen","$schema":"https://mintlify.com/docs.json","name":"JieKou AI Docs","description":"接口AI 开发者文档:大语言模型与图像、视频、音频等多模态模型 API 的接入、调用与计费说明。","colors":{"primary":"#000000","light":"#0071E3","dark":"#0071E3"},"logo":{"light":"https://mintcdn.com/jiekou/Mf1wGBLqNABiRgF8/logo/light.svg?fit=max\u0026auto=format\u0026n=Mf1wGBLqNABiRgF8\u0026q=85\u0026s=81df34bfa762625ad3a4e18f59a81a0e","dark":"https://mintcdn.com/jiekou/Mf1wGBLqNABiRgF8/logo/dark.svg?fit=max\u0026auto=format\u0026n=Mf1wGBLqNABiRgF8\u0026q=85\u0026s=b81968885d04f4c09c4058bad9c364e1","href":"https://jiekou.vip"},"favicon":"https://mintcdn.com/jiekou/M__ek7klV-HYX16k/favicon.ico?fit=max\u0026auto=format\u0026n=M__ek7klV-HYX16k\u0026q=85\u0026s=7fb1bfe34418ab40c7c6025450bf40e0","navbar":{"links":[{"href":"https://jiekou.vip/models-console/library","label":"控制台"}],"primary":{"type":"button","label":"官网首页","href":"https://jiekou.vip"}},"seo":{"metatags":{"og:site_name":"接口AI 文档中心","application-name":"接口AI 文档中心","apple-mobile-web-app-title":"接口AI 文档中心"},"organization":{"name":"接口AI","url":"https://jiekou.ai"},"indexing":"all"},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","add-mcp","cursor","vscode"],"display":"header"},"metadata":{"timestamp":true},"styling":{"latex":true},"navigation":{"languages":[{"language":"zh","default":true,"href":"docs/home"},{"language":"en","href":"en/docs/home"},{"language":"es","href":"es/docs/home"},{"language":"pt-BR","href":"pt/docs/home"},{"language":"fr","href":"fr/docs/home"},{"language":"de","href":"de/docs/home"},{"language":"ja","href":"ja/docs/home"},{"language":"ru","href":"ru/docs/home"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"jiekou","hasAudioNarration":false,"actualSubdomain":"jiekou","customDomains":["docs.jiekou.ai"],"gitSource":{"type":"github","owner":"jiekouai","repo":"jiekou-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6b0f903f6db5d813871597a3","clientVersion":"0.0.4416","searchFilterCounts":[{"language":"de","tag":"Leitfaden für Modelldienste","count":36},{"language":"zh","tag":"模型服务用户指南","count":36},{"language":"en","tag":"Model Service Guide","count":36},{"language":"es","tag":"Guía del servicio de modelos","count":36},{"language":"fr","tag":"Guide du service de modèles","count":36},{"language":"ja","tag":"モデルサービスガイド","count":36},{"language":"pt-BR","tag":"Guia do serviço de modelos","count":36},{"language":"ru","tag":"Руководство по сервису моделей","count":36},{"language":"de","tag":"Einrichtung von Drittanbieter-Tools","count":23},{"language":"zh","tag":"第三方工具配置","count":23},{"language":"en","tag":"Third-party Tool Setup","count":23},{"language":"es","tag":"Configuración de herramientas de terceros","count":23},{"language":"fr","tag":"Configuration des outils tiers","count":23},{"language":"ja","tag":"サードパーティツール設定","count":23},{"language":"pt-BR","tag":"Configuração de ferramentas de terceiros","count":23},{"language":"ru","tag":"Настройка сторонних инструментов","count":23},{"language":"en","tag":"Model Service API Reference","count":22},{"language":"zh","tag":"模型服务 API 手册","count":21},{"language":"de","tag":"API-Referenz für Modelldienste","count":19},{"language":"es","tag":"Referencia de API del servicio de modelos","count":19},{"language":"fr","tag":"Référence API du service de modèles","count":19},{"language":"ja","tag":"モデルサービス API リファレンス","count":19},{"language":"pt-BR","tag":"Referência da API do serviço de modelos","count":19},{"language":"ru","tag":"Справочник API сервиса моделей","count":19},{"language":"zh","tag":"账号用户指南","count":17},{"language":"en","tag":"Account Guide","count":17},{"language":"de","tag":"Kontoleitfaden","count":14},{"language":"es","tag":"Guía de cuenta","count":14},{"language":"fr","tag":"Guide du compte","count":14},{"language":"ja","tag":"アカウントガイド","count":14},{"language":"pt-BR","tag":"Guia da conta","count":14},{"language":"ru","tag":"Руководство по аккаунту","count":14},{"language":"de","tag":"LLM API","count":9},{"language":"zh","tag":"大语言模型 API","count":9},{"language":"zh","tag":"账号管理","count":9},{"language":"en","tag":"LLM API","count":9},{"language":"en","tag":"Account Management","count":9},{"language":"es","tag":"API de LLM","count":9},{"language":"fr","tag":"API LLM","count":9},{"language":"ja","tag":"LLM API","count":9},{"language":"pt-BR","tag":"API de LLM","count":9},{"language":"ru","tag":"API больших языковых моделей","count":9},{"language":"de","tag":"FAQ","count":7},{"language":"zh","tag":"常见问题","count":7},{"language":"en","tag":"FAQ","count":7},{"language":"es","tag":"Preguntas frecuentes","count":7},{"language":"fr","tag":"FAQ","count":7},{"language":"ja","tag":"FAQ","count":7},{"language":"pt-BR","tag":"Perguntas frequentes","count":7},{"language":"ru","tag":"Часто задаваемые вопросы","count":7},{"language":"de","tag":"Große Sprachmodelle","count":6},{"language":"de","tag":"Kontoverwaltung","count":6},{"language":"zh","tag":"大语言","count":6},{"language":"en","tag":"Large Language Models","count":6},{"language":"es","tag":"Modelos de lenguaje","count":6},{"language":"es","tag":"Gestión de cuenta","count":6},{"language":"fr","tag":"Grands modèles de langage","count":6},{"language":"fr","tag":"Gestion du compte","count":6},{"language":"ja","tag":"大規模言語モデル","count":6},{"language":"ja","tag":"アカウント管理","count":6},{"language":"pt-BR","tag":"Modelos de linguagem","count":6},{"language":"pt-BR","tag":"Gerenciamento da conta","count":6},{"language":"ru","tag":"Большие языковые модели","count":6},{"language":"ru","tag":"Управление аккаунтом","count":6},{"language":"de","tag":"Bilder","count":5},{"language":"en","tag":"Images","count":5},{"language":"es","tag":"Imágenes","count":5},{"language":"fr","tag":"Images","count":5},{"language":"ja","tag":"画像","count":5},{"language":"pt-BR","tag":"Imagens","count":5},{"language":"ru","tag":"Изображения","count":5},{"language":"de","tag":"API-Grundlagen","count":4},{"language":"zh","tag":"API 基础","count":4},{"language":"zh","tag":"图像","count":4},{"language":"en","tag":"API Basics","count":4},{"language":"es","tag":"Conceptos básicos de API","count":4},{"language":"fr","tag":"Bases de l'API","count":4},{"language":"ja","tag":"API の基本","count":4},{"language":"pt-BR","tag":"Noções básicas da API","count":4},{"language":"ru","tag":"Основы API","count":4}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"global.css","content":"*[style*=\"rgb(124, 58, 237)\"],*[style*=\"#7c3aed\"],*[style*=\"7c3aed\"]{background-color:#F5F5F5!important;background:#F5F5F5!important}#navbar .nav-tabs-item[data-active=\"true\"],#navbar .nav-tabs-item[aria-current=\"location\"]{background-color:transparent!important;background:transparent!important}#sidebar *[class*=\"active\"],#sidebar *[aria-selected=\"true\"],#sidebar *[data-active=\"true\"]{background-color:#F5F5F5!important}#sidebar button.bg-\\\\[var\\\\(--primary\\\\) \\\\],\n#sidebar a.bg-\\\\[var\\\\(--primary\\\\) \\\\]{background-color:#F5F5F5!important}.table-container{overflow-x:scroll;box-shadow:3px 0 10px 0 rgba(25, 85, 140, .05)}.table-container table{margin-top:0}.table thead{background-color:#eef2f150}.table thead th{padding:8px 10px;text-align:left;white-space:nowrap}.table tbody td{padding:6px 10px}.table-big thead th{padding:12px 10px}.table-big tbody td{padding:10px 10px}.table .list-col{position:relative;padding-left:31px;margin:0;text-align:left}.table .list-col::before{content:\"•\";position:absolute;left:18px;top:6px;color:#16b063b0}.table .list-sub-col{position:relative;padding-left:46px;margin:0;text-align:left}.table .list-sub-col::before{content:\"\";position:absolute;left:36px;top:15px;width:4px;height:4px;background-color:#16b06380}.table .list-grandson-col{position:relative;padding-left:60px;margin:0;text-align:left}.table .list-grandson-col::before{content:\"\";position:absolute;left:50px;top:15px;width:4px;height:4px;border-radius:100%;border:1px solid #16b06380}.table .list-grandson-sub-col{position:relative;padding-left:66px;margin:0;text-align:left}.table .list-grandson-sub-col::before{content:\"\";position:absolute;left:58px;top:16px;width:3px;height:3px;border-radius:100%;border:1px solid #16b06350}.table .type-desc{display:inline-block;margin-left:12px;color:#9e9c98b0}.table .type-desc-narrow{margin-left:4px}.table .delete{text-decoration:line-through}.table .deprecated{display:inline-block;color:#f23030;margin-bottom:4px}.table .new-field{display:inline-block;margin-bottom:4px;color:#22ad5c}.table .moved{display:inline-block;margin-bottom:4px;color:#f27430}.table .inline-block{display:inline-block}.table .mt-1{margin-top:4px}.table .mt-2{margin-top:8px}.table .ml-0{margin-left:0}.model-id-item{padding:.125rem .5rem;color:#111827;font-size:.875em;font-weight:500;font-variant-ligatures:none;overflow-wrap:break-word;border-radius:var(--rounded-md, .375rem);background-color:rgb(var(--gray-100) / .5)}.param_text{font-size:14px}.param_frame{width:100%;padding:0 8px}.unified-api-container span[data-as=p]{display:block;margin-top:1.25em;margin-bottom:1.25em}.unified-api-inline-label{padding:2px 8px;border-radius:6px;background-color:#F1EFF580;color:#111827;font-size:12px;font-family:var(--font-jetbrains-mono), ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace}.unified-api-selector-container{margin-bottom:16px}.unified-api-description{padding:6px 8px;font-size:15px;color:#4f4e4a;border-radius:6px;border-left:4px solid #fafafa;background-color:#fdfdfd}.unified-api-selector-label{display:block;margin-top:36px;margin-bottom:12px;font-size:15px;font-weight:500;color:#374151;line-height:1.25}.unified-api-selector-wrapper{position:relative;max-width:300px}.unified-api-selector-button{height:40px;width:100%;border-radius:6px;border:1px solid #d1d5db;background-color:#ffffff;padding:0 32px 0 12px;font-size:14px;color:#374151;outline:none;cursor:pointer;text-align:left;display:flex;align-items:center;justify-content:space-between;transition:border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;box-shadow:0 1px 2px 0 rgba(0, 0, 0, 0.05);font-family:var(--font-jetbrains-mono), ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace}.unified-api-selector-button:hover{border-color:#9ca3af}.unified-api-selector-button:focus{border-color:#3b82f6;box-shadow:0 0 0 3px rgba(59, 130, 246, 0.1)}.unified-api-selector-arrow{transition:transform 0.2s ease-in-out}.unified-api-selector-arrow.open{transform:rotate(180deg)}.unified-api-selector-dropdown{position:absolute;top:100%;left:0;right:0;z-index:50;margin-top:4px;border-radius:6px;border:1px solid #d1d5db;background-color:#ffffff;box-shadow:0 10px 25px -3px rgba(0, 0, 0, 0.2), 0 4px 10px -2px rgba(0, 0, 0, 0.15);max-height:275px;overflow:hidden}.unified-api-selector-dropdown::after{content:'';position:sticky;bottom:0;left:0;right:0;height:12px;background:linear-gradient(to top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0.3) 100%);z-index:10;pointer-events:none;display:block;margin-top:-12px}.unified-api-selector-option{padding:10px 12px;font-size:14px;color:#374151;cursor:pointer;background-color:#ffffff}.unified-api-selector-option:not(:last-child){margin-top:1px;margin-bottom:1px;border-bottom:1px solid #f5f5f5}.unified-api-selector-option.selected{background-color:#f3f4f6}.unified-api-selector-option:hover:not(.selected){background-color:#f8fafc}.dark .unified-api-selector-label{color:inherit}.dark .unified-api-search-container{background-color:#1f2937}.dark .unified-api-search-input{background-color:#1f2937;color:#e5e7eb}.dark .unified-api-selector-button{border:1px solid #4b5563;background-color:#1f2937;color:#e5e7eb;box-shadow:0 1px 2px 0 rgba(0, 0, 0, 0.3)}.dark .unified-api-selector-button:hover{border-color:#6b7280}.dark .unified-api-selector-button:focus{border-color:#3b82f6;box-shadow:0 0 0 3px rgba(59, 130, 246, 0.2)}.dark .unified-api-selector-dropdown{border:1px solid #4b5563;background-color:#1f2937;box-shadow:0 10px 25px -3px rgba(0, 0, 0, 0.4), 0 4px 10px -2px rgba(0, 0, 0, 0.3)}.dark .unified-api-selector-dropdown::after{background:linear-gradient(to top, rgba(31, 41, 55, 1) 0%, rgba(31, 41, 55, 0.5) 50%, rgba(31, 41, 55, 0.3) 100%)}.dark .unified-api-selector-option{color:#e5e7eb;background-color:#1f2937}.dark .unified-api-selector-option:not(:last-child){border-bottom:1px solid #374151}.dark .unified-api-selector-option.selected{background-color:#374151}.dark .unified-api-selector-option:hover:not(.selected){background-color:#2d3748}.dark .unified-api-description{padding:0;background-color:inherit;color:#e5e7eb;border-left:none}.unified-api-loading-container{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:48px 24px;text-align:center}.unified-api-loading-spinner{width:32px;height:32px;border:3px solid #f3f4f6;border-top:3px solid #7c3aed;border-radius:50%;animation:unified-api-spin 1s linear infinite;margin-bottom:16px}.unified-api-loading-text{color:#6b7280;font-size:14px;margin:0}@keyframes unified-api-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.unified-api-search-container{padding:8px 12px;border-bottom:1px solid #e5e7eb;background-color:#fefefe}.unified-api-search-input{width:100%;padding:8px 12px;border:1px solid #d1d5db;border-radius:4px;font-size:14px;background-color:#ffffff;color:#374151;outline:none;transition:border-color 0.2s ease}.unified-api-search-input:focus{border-color:#7c3aed;box-shadow:0 0 0 3px rgba(124, 58, 237, 0.1)}.unified-api-search-input::placeholder{color:#9ca3af}.unified-api-options-container{padding-bottom:12px;max-height:calc(275px - 48px);overflow-y:auto}.unified-api-no-results{padding:16px 12px;text-align:center;color:#6b7280;font-size:14px;font-style:italic}:root{--nv-toc-band-color: var(--primary)}html.dark{--nv-toc-band-color: var(--primary-light)}html[data-nv-toc-band] #table-of-contents [data-layout-item=\"toc-item-link\"],html[data-nv-toc-band] #table-of-contents [data-layout-item=\"toc-item\"]{border-left-color:transparent}html[data-nv-toc-band] #table-of-contents [data-layout-item=\"toc-item-link\"]{transition-property:color, background-color, border-color, outline-color, text-decoration-color, fill, stroke;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}html[data-nv-toc-band] #table-of-contents[data-look=\"default\"] [data-layout-item=\"toc-item\"][data-active]>[data-layout-item=\"toc-item-link\"]:not([data-nv-in-view]){color:rgb(var(--gray-600))}html[data-nv-toc-band] #table-of-contents[data-look=\"default\"] [data-layout-item=\"toc-item\"] [data-layout-item=\"toc-item\"][data-active]>[data-layout-item=\"toc-item-link\"]:not([data-nv-in-view]){color:rgb(var(--gray-500))}html.dark[data-nv-toc-band] #table-of-contents[data-look=\"default\"] [data-layout-item=\"toc-item\"][data-active]>[data-layout-item=\"toc-item-link\"]:not([data-nv-in-view]),html.dark[data-nv-toc-band] #table-of-contents[data-look=\"default\"] [data-layout-item=\"toc-item\"] [data-layout-item=\"toc-item\"][data-active]>[data-layout-item=\"toc-item-link\"]:not([data-nv-in-view]){color:rgb(var(--gray-400))}html[data-nv-toc-band] #table-of-contents[data-look=\"default\"] [data-layout-item=\"toc-item\"][data-active]>[data-layout-item=\"toc-item-link\"]{text-shadow:none}html[data-nv-toc-band] #table-of-contents[data-look=\"default\"] [data-layout-item=\"toc-item\"][data-active]>[data-layout-item=\"toc-item-link\"]:not([data-nv-in-view]):hover,html[data-nv-toc-band] #table-of-contents[data-look=\"default\"] [data-layout-item=\"toc-item\"] [data-layout-item=\"toc-item\"][data-active]>[data-layout-item=\"toc-item-link\"]:not([data-nv-in-view]):hover{color:rgb(var(--gray-900))}html.dark[data-nv-toc-band] #table-of-contents[data-look=\"default\"] [data-layout-item=\"toc-item\"][data-active]>[data-layout-item=\"toc-item-link\"]:not([data-nv-in-view]):hover,html.dark[data-nv-toc-band] #table-of-contents[data-look=\"default\"] [data-layout-item=\"toc-item\"] [data-layout-item=\"toc-item\"][data-active]>[data-layout-item=\"toc-item-link\"]:not([data-nv-in-view]):hover{color:rgb(var(--gray-300))}#table-of-contents [data-layout-item=\"toc-item-link\"][data-nv-in-view]{color:rgb(var(--gray-900))}html.dark #table-of-contents [data-layout-item=\"toc-item-link\"][data-nv-in-view]{color:rgb(var(--gray-100))}#table-of-contents nav{position:relative;isolation:isolate}.nv-toc-band{position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(to right, rgb(var(--nv-toc-band-color) / 0.1), transparent);clip-path:inset(0 0 100%)}.nv-toc-band[data-ready]{transition:clip-path 300ms cubic-bezier(0, 0, 0.2, 1)}@media (prefers-reduced-motion: reduce){html[data-nv-toc-band] #table-of-contents [data-layout-item=\"toc-item-link\"]{transition-property:color, background-color, border-color, outline-color, text-decoration-color, fill, stroke!important;transition-duration:150ms!important;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)!important}}html[data-nv-sidebar-glide] #navigation-items>[data-component-part=\"scroll-area-viewport\"]>[data-component-part=\"scroll-area-content\"]{position:relative;isolation:isolate}html[data-nv-sidebar-glide] .nv-sidebar-glide{position:absolute;top:0;left:0;z-index:-1;box-sizing:border-box;padding:2px 0;border-radius:8px;background-color:rgb(209 209 209 / 0.3012);background-clip:content-box;opacity:0;pointer-events:none;transition:opacity 200ms cubic-bezier(0.22, 1, 0.36, 1)}html.dark[data-nv-sidebar-glide] .nv-sidebar-glide{background-color:rgb(104 104 104 / 0.1812)}html[data-nv-sidebar-glide] #navigation-items :is(a[href],button,[role=\"button\"]):not(.nav-anchor):not([aria-current=\"page\"]):hover{background-color:transparent}html[data-nv-sidebar-glide] #navigation-items :is(a[href],button,[role=\"button\"]):not(.nav-anchor){transition-property:color, background-color, border-color, outline-color, text-decoration-color, fill, stroke;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}@media (prefers-reduced-motion: no-preference){html[data-nv-sidebar-glide] .nv-sidebar-glide{transition-property:translate, width, height, opacity}}@media (prefers-reduced-motion: reduce){html[data-nv-sidebar-glide] .nv-sidebar-glide{transition:opacity 200ms cubic-bezier(0.22, 1, 0.36, 1)!important}html[data-nv-sidebar-glide] #navigation-items :is(a[href],button,[role=\"button\"]):not(.nav-anchor){transition-property:color, background-color, border-color, outline-color, text-decoration-color, fill, stroke!important;transition-duration:150ms!important;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)!important}}:root{--nv-heading-flash: var(--primary)}html.dark{--nv-heading-flash: var(--primary-light)}@keyframes nv-heading-flash{from{background-color:rgb(var(--nv-heading-flash) / 0.12);box-shadow:0 0 0 0.375rem rgb(var(--nv-heading-flash) / 0.12)}to{background-color:transparent;box-shadow:0 0 0 0.375rem transparent}}#content :is(h1,h2,h3,h4,h5,h6):target{border-radius:0.375rem;animation:nv-heading-flash 1.2s ease-out}@media (prefers-reduced-motion: reduce){#content :is(h1,h2,h3,h4,h5,h6):target{animation:none}}#content .anchor-link[data-jiekou-copied]{opacity:1}#content .anchor-link[data-jiekou-copied]::after{background-color:rgb(var(--primary));-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E\")}html.dark #content .anchor-link[data-jiekou-copied]::after{background-color:rgb(var(--primary-light))}.nv-heading-copy-bubble{position:absolute;bottom:calc(100% + 2px);left:12px;z-index:1;transform:translateX(-50%);padding:4px 8px;border-radius:6px;font-size:12px;line-height:16px;white-space:nowrap;color:rgb(255 255 255);background-color:rgb(var(--gray-900));opacity:0;pointer-events:none;transition:opacity 150ms}.nv-heading-copy-bubble[data-shown]{opacity:1}html.dark .nv-heading-copy-bubble{color:rgb(var(--gray-900));background-color:rgb(var(--gray-100))}.nv-heading-copy-status{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}#content-container:has(#content[data-page-href$=\"/docs/home\"]){max-width:72rem}"}]}
{"page":{"pagePath":"en/docs/integration/cc-switch","slug":"/en/docs/integration/cc-switch","pageMetadata":{"title":"CC Switch","og:title":"Interface AI × CC Switch","description":null,"href":"/en/docs/integration/cc-switch"},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Heading,OptimizedImage}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`CC Switch is a cross-platform configuration manager for AI coding tools. It centralizes model provider settings from different tools in one place, so you can switch between API backends with one click without editing configuration files manually. It supports popular tools such as Claude Code, Claude Desktop, Codex, and Gemini CLI, making it suitable for individual developers and teams that frequently switch between model services.`}),`\n`,_jsx(_components.p,{children:`By connecting to Interface AI, you can use directly accessible API services with Claude Code and other agents in CC Switch. No project code changes are required: create a custom provider, enter the endpoint and API key, and save it.`}),`\n`,_jsx(Heading,{level:`2`,id:`key-features-of-cc-switch`,children:`Key Features of CC Switch`}),`\n`,_jsx(Heading,{level:`3`,id:`visual-configuration-management`,children:`Visual Configuration Management`}),`\n`,_jsx(_components.p,{children:`All provider configurations are stored in a local database and can be created, edited, queried, and deleted through the interface. You do not need to edit JSON files or repeatedly configure environment variables.`}),`\n`,_jsx(Heading,{level:`3`,id:`one-click-switching`,children:`One-Click Switching`}),`\n`,_jsx(_components.p,{children:`More than 50 provider presets are built in. Switching takes one click, and changes take effect without restarting the agent.`}),`\n`,_jsx(Heading,{level:`3`,id:`unified-management-for-multiple-tools`,children:`Unified Management for Multiple Tools`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Claude Code and Claude Desktop`}),`\n`,_jsx(_components.li,{children:`Codex and Gemini CLI`}),`\n`,_jsx(_components.li,{children:`OpenCode, OpenClaw, Hermes, and more`}),`\n`,_jsx(_components.li,{children:`Cross-application synchronization of MCP services, prompts, and Skills`}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`cross-platform-support`,children:`Cross-Platform Support`}),`\n`,_jsx(_components.p,{children:`CC Switch supports Windows, macOS, and Linux, including major distributions.`}),`\n`,_jsx(Heading,{level:`3`,id:`configuration-safety`,children:`Configuration Safety`}),`\n`,_jsxs(_components.p,{children:[`Atomic writes and automatic backups are used. Configuration files and backups are stored under `,_jsx(_components.code,{children:`~/.cc-switch/`}),`, so existing settings are not damaged during switching.`]}),`\n`,_jsx(Heading,{level:`2`,id:`connect-interface-ai-to-cc-switch`,children:`Connect Interface AI to CC Switch`}),`\n`,_jsx(_components.p,{children:`Complete the integration in three steps.`}),`\n`,_jsx(Heading,{level:`3`,id:`1-get-an-api-key`,children:`1. Get an API Key`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Sign in to `,_jsx(_components.a,{href:`https://jiekou.vip`,children:`jiekou.vip`}),`, register, and open the management console. Click “My” in the upper-right corner and select “API Key Management”.`]}),`\n`,_jsxs(_components.li,{children:[`Click “Add” and enter a key name. Use a recognizable name such as `,_jsx(_components.code,{children:`CCSwitch`}),` so you can distinguish keys for different purposes in the console.`]}),`\n`,_jsx(_components.li,{children:`Copy and record the generated key. The console cannot display it again, so store it securely for the next step.`}),`\n`]}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/jiekou/jZWTU8DENg390ghC/images/common_apikey_menu.png?fit=max\u0026auto=format\u0026n=jZWTU8DENg390ghC\u0026q=85\u0026s=c9e84d535312e3f853410855663fd2e7`,alt:`Interface AI API key management`,\"data-og-width\":`1893`,width:`1893`,\"data-og-height\":`1056`,height:`1056`,\"data-path\":`images/common_apikey_menu.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/jiekou/jZWTU8DENg390ghC/images/common_apikey_menu.png?w=280\u0026fit=max\u0026auto=format\u0026n=jZWTU8DENg390ghC\u0026q=85\u0026s=5ceb4753969c68eca81715725c672614 280w, https://mintcdn.com/jiekou/jZWTU8DENg390ghC/images/common_apikey_menu.png?w=560\u0026fit=max\u0026auto=format\u0026n=jZWTU8DENg390ghC\u0026q=85\u0026s=788c5fecd67d38362677c17ffcc4bd6b 560w, https://mintcdn.com/jiekou/jZWTU8DENg390ghC/images/common_apikey_menu.png?w=840\u0026fit=max\u0026auto=format\u0026n=jZWTU8DENg390ghC\u0026q=85\u0026s=5019b93e87178e95ef47449f287bff6b 840w, https://mintcdn.com/jiekou/jZWTU8DENg390ghC/images/common_apikey_menu.png?w=1100\u0026fit=max\u0026auto=format\u0026n=jZWTU8DENg390ghC\u0026q=85\u0026s=3ef20d91dcdeb585ab3454d933788df7 1100w, https://mintcdn.com/jiekou/jZWTU8DENg390ghC/images/common_apikey_menu.png?w=1650\u0026fit=max\u0026auto=format\u0026n=jZWTU8DENg390ghC\u0026q=85\u0026s=066207e11ec63dcaf74be042a2042240 1650w, https://mintcdn.com/jiekou/jZWTU8DENg390ghC/images/common_apikey_menu.png?w=2500\u0026fit=max\u0026auto=format\u0026n=jZWTU8DENg390ghC\u0026q=85\u0026s=7415477787f1f5a27f922ae2e78432fa 2500w`}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/jiekou/jZWTU8DENg390ghC/images/create-apikey.png?fit=max\u0026auto=format\u0026n=jZWTU8DENg390ghC\u0026q=85\u0026s=e3bdb291936bb3b2b429a06e4fe1cb4f`,alt:`Create an Interface AI API key`,\"data-og-width\":`948`,width:`948`,\"data-og-height\":`383`,height:`383`,\"data-path\":`images/create-apikey.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/jiekou/jZWTU8DENg390ghC/images/create-apikey.png?w=280\u0026fit=max\u0026auto=format\u0026n=jZWTU8DENg390ghC\u0026q=85\u0026s=0bea6d02ed9fac736d7d2103ee34f732 280w, https://mintcdn.com/jiekou/jZWTU8DENg390ghC/images/create-apikey.png?w=560\u0026fit=max\u0026auto=format\u0026n=jZWTU8DENg390ghC\u0026q=85\u0026s=1ef6c3786b124aa444ce1c56aa23769a 560w, https://mintcdn.com/jiekou/jZWTU8DENg390ghC/images/create-apikey.png?w=840\u0026fit=max\u0026auto=format\u0026n=jZWTU8DENg390ghC\u0026q=85\u0026s=b0c2103d29f9b8bf5d57b84597eb7c35 840w, https://mintcdn.com/jiekou/jZWTU8DENg390ghC/images/create-apikey.png?w=1100\u0026fit=max\u0026auto=format\u0026n=jZWTU8DENg390ghC\u0026q=85\u0026s=9460f2189eb634366cdbd3c19a54fd45 1100w, https://mintcdn.com/jiekou/jZWTU8DENg390ghC/images/create-apikey.png?w=1650\u0026fit=max\u0026auto=format\u0026n=jZWTU8DENg390ghC\u0026q=85\u0026s=17b660f90491d88ccfea7f56fea3cb3f 1650w, https://mintcdn.com/jiekou/jZWTU8DENg390ghC/images/create-apikey.png?w=2500\u0026fit=max\u0026auto=format\u0026n=jZWTU8DENg390ghC\u0026q=85\u0026s=74d26ee2437c67cf40b69d702506623b 2500w`}),`\n`,_jsx(Heading,{level:`3`,id:`2-add-a-provider-in-cc-switch`,children:`2. Add a Provider in CC Switch`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Open CC Switch, select `,_jsx(_components.strong,{children:`Claude Code`}),` on the left, and click “Add Provider” in the upper-right corner.`]}),`\n`,_jsx(_components.li,{children:`Select “Custom Configuration” from the preset list and enter a provider name such as “Interface AI”.`}),`\n`,_jsxs(_components.li,{children:[`Enter the Base URL:`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Anthropic models: `,_jsx(_components.code,{children:`https://api.highway.ai/anthropic`})]}),`\n`,_jsxs(_components.li,{children:[`OpenAI models: `,_jsx(_components.code,{children:`https://api.highway.ai/openai`})]}),`\n`]}),`\n`]}),`\n`,_jsx(_components.li,{children:`Enter the key copied in the previous step, retrieve the model list, and select the model you want to use.`}),`\n`,_jsx(_components.li,{children:`Save the provider, select it, and click “Enable”. The active provider will then appear in the system tray.`}),`\n`]}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/jiekou/jZWTU8DENg390ghC/images/cc-switch-01.png?fit=max\u0026auto=format\u0026n=jZWTU8DENg390ghC\u0026q=85\u0026s=19ab8b903221ee3d7986dbdf6b9a6142`,alt:`Create a CC Switch provider 01`,\"data-og-width\":`1280`,width:`1280`,\"data-og-height\":`745`,height:`745`,\"data-path\":`images/cc-switch-01.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/jiekou/jZWTU8DENg390ghC/images/cc-switch-01.png?w=280\u0026fit=max\u0026auto=format\u0026n=jZWTU8DENg390ghC\u0026q=85\u0026s=cf36bd1d65dffb9c554643c502f15397 280w, https://mintcdn.com/jiekou/jZWTU8DENg390ghC/images/cc-switch-01.png?w=560\u0026fit=max\u0026auto=format\u0026n=jZWTU8DENg390ghC\u0026q=85\u0026s=470092ba72fe9ec221bc9eaf9d6c171c 560w, https://mintcdn.com/jiekou/jZWTU8DENg390ghC/images/cc-switch-01.png?w=840\u0026fit=max\u0026auto=format\u0026n=jZWTU8DENg390ghC\u0026q=85\u0026s=c7b199a07101dc9df5caed8c841c8061 840w, https://mintcdn.com/jiekou/jZWTU8DENg390ghC/images/cc-switch-01.png?w=1100\u0026fit=max\u0026auto=format\u0026n=jZWTU8DENg390ghC\u0026q=85\u0026s=bb624374db54c745cfaf3982c74f9014 1100w, https://mintcdn.com/jiekou/jZWTU8DENg390ghC/images/cc-switch-01.png?w=1650\u0026fit=max\u0026auto=format\u0026n=jZWTU8DENg390ghC\u0026q=85\u0026s=c2904382992368c590a1d018d0e18c53 1650w, https://mintcdn.com/jiekou/jZWTU8DENg390ghC/images/cc-switch-01.png?w=2500\u0026fit=max\u0026auto=format\u0026n=jZWTU8DENg390ghC\u0026q=85\u0026s=2d4790790e490b26b98ff48df08881fa 2500w`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Anthropic model configuration:`})}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/jiekou/eDAqufQRjWRL9tHX/images/cc-switch-02.png?fit=max\u0026auto=format\u0026n=eDAqufQRjWRL9tHX\u0026q=85\u0026s=05f2e74816de26ca9ec1d05daa59e607`,alt:`Configure an Anthropic model in CC Switch`,\"data-og-width\":`1280`,width:`1280`,\"data-og-height\":`755`,height:`755`,\"data-path\":`images/cc-switch-02.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/jiekou/eDAqufQRjWRL9tHX/images/cc-switch-02.png?w=280\u0026fit=max\u0026auto=format\u0026n=eDAqufQRjWRL9tHX\u0026q=85\u0026s=8471adf9ad7b39d70257b6282beac81a 280w, https://mintcdn.com/jiekou/eDAqufQRjWRL9tHX/images/cc-switch-02.png?w=560\u0026fit=max\u0026auto=format\u0026n=eDAqufQRjWRL9tHX\u0026q=85\u0026s=cdff539adaee5dbf1e431c6a2ee7b105 560w, https://mintcdn.com/jiekou/eDAqufQRjWRL9tHX/images/cc-switch-02.png?w=840\u0026fit=max\u0026auto=format\u0026n=eDAqufQRjWRL9tHX\u0026q=85\u0026s=f27fbf564aff71306f575db1bdc1ce91 840w, https://mintcdn.com/jiekou/eDAqufQRjWRL9tHX/images/cc-switch-02.png?w=1100\u0026fit=max\u0026auto=format\u0026n=eDAqufQRjWRL9tHX\u0026q=85\u0026s=73829d742f14bed145bdda90fa545705 1100w, https://mintcdn.com/jiekou/eDAqufQRjWRL9tHX/images/cc-switch-02.png?w=1650\u0026fit=max\u0026auto=format\u0026n=eDAqufQRjWRL9tHX\u0026q=85\u0026s=7647712cd53deb13e1af2307133fc3be 1650w, https://mintcdn.com/jiekou/eDAqufQRjWRL9tHX/images/cc-switch-02.png?w=2500\u0026fit=max\u0026auto=format\u0026n=eDAqufQRjWRL9tHX\u0026q=85\u0026s=543336f95d21b416c8936058c897cabb 2500w`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`OpenAI model configuration:`})}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/jiekou/Bqp_atewVpXHaMGQ/images/cc-switch-03.png?fit=max\u0026auto=format\u0026n=Bqp_atewVpXHaMGQ\u0026q=85\u0026s=00a727472c219467fd71074cc2afa439`,alt:`Configure an OpenAI model in CC Switch`,\"data-og-width\":`1280`,width:`1280`,\"data-og-height\":`720`,height:`720`,\"data-path\":`images/cc-switch-03.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/jiekou/Bqp_atewVpXHaMGQ/images/cc-switch-03.png?w=280\u0026fit=max\u0026auto=format\u0026n=Bqp_atewVpXHaMGQ\u0026q=85\u0026s=3bebff81036e1b6209d967b838897321 280w, https://mintcdn.com/jiekou/Bqp_atewVpXHaMGQ/images/cc-switch-03.png?w=560\u0026fit=max\u0026auto=format\u0026n=Bqp_atewVpXHaMGQ\u0026q=85\u0026s=9d6679d6f8d997ec37cf16caa3dee7a0 560w, https://mintcdn.com/jiekou/Bqp_atewVpXHaMGQ/images/cc-switch-03.png?w=840\u0026fit=max\u0026auto=format\u0026n=Bqp_atewVpXHaMGQ\u0026q=85\u0026s=2b6753623251840b4656dd5be37ece80 840w, https://mintcdn.com/jiekou/Bqp_atewVpXHaMGQ/images/cc-switch-03.png?w=1100\u0026fit=max\u0026auto=format\u0026n=Bqp_atewVpXHaMGQ\u0026q=85\u0026s=e30c084f6c76cbecaea2977679ff8d13 1100w, https://mintcdn.com/jiekou/Bqp_atewVpXHaMGQ/images/cc-switch-03.png?w=1650\u0026fit=max\u0026auto=format\u0026n=Bqp_atewVpXHaMGQ\u0026q=85\u0026s=98d7f0ace119c21068bb04cb0fdc1061 1650w, https://mintcdn.com/jiekou/Bqp_atewVpXHaMGQ/images/cc-switch-03.png?w=2500\u0026fit=max\u0026auto=format\u0026n=Bqp_atewVpXHaMGQ\u0026q=85\u0026s=e514d32388ea23615559936dcd352762 2500w`}),`\n`,_jsx(Heading,{level:`3`,id:`3-verify-the-configuration`,children:`3. Verify the Configuration`}),`\n`,_jsxs(_components.p,{children:[`Open a terminal and run `,_jsx(_components.code,{children:`claude`}),`. If the conversation starts normally, the integration is working. After switching providers in Claude Code, you can start a new session directly without restarting the application.`]}),`\n`,_jsx(_components.p,{children:`If an error occurs, check the following:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`404`}),`: Check whether the path at the end of the endpoint is missing or duplicated.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`401 or 403`}),`: Return to the Interface AI console and confirm that the API key is active.`]}),`\n`]}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/jiekou/jZWTU8DENg390ghC/images/cc-switch-validate.png?fit=max\u0026auto=format\u0026n=jZWTU8DENg390ghC\u0026q=85\u0026s=65f3fcec92b620ec430ff59c0d2eddad`,alt:`Validate the CC Switch configuration`,\"data-og-width\":`1280`,width:`1280`,\"data-og-height\":`750`,height:`750`,\"data-path\":`images/cc-switch-validate.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/jiekou/jZWTU8DENg390ghC/images/cc-switch-validate.png?w=280\u0026fit=max\u0026auto=format\u0026n=jZWTU8DENg390ghC\u0026q=85\u0026s=6b080424442ddd256544c3b2d724fe77 280w, https://mintcdn.com/jiekou/jZWTU8DENg390ghC/images/cc-switch-validate.png?w=560\u0026fit=max\u0026auto=format\u0026n=jZWTU8DENg390ghC\u0026q=85\u0026s=6b2cb3d713490841ed63bbfcbed33a49 560w, https://mintcdn.com/jiekou/jZWTU8DENg390ghC/images/cc-switch-validate.png?w=840\u0026fit=max\u0026auto=format\u0026n=jZWTU8DENg390ghC\u0026q=85\u0026s=aa3e9f55786c00f22e474542d625c659 840w, https://mintcdn.com/jiekou/jZWTU8DENg390ghC/images/cc-switch-validate.png?w=1100\u0026fit=max\u0026auto=format\u0026n=jZWTU8DENg390ghC\u0026q=85\u0026s=30ff671690aa6e451cedf1daa81bfe59 1100w, https://mintcdn.com/jiekou/jZWTU8DENg390ghC/images/cc-switch-validate.png?w=1650\u0026fit=max\u0026auto=format\u0026n=jZWTU8DENg390ghC\u0026q=85\u0026s=58d56c83d08a209dcc3bcd064cd52574 1650w, https://mintcdn.com/jiekou/jZWTU8DENg390ghC/images/cc-switch-validate.png?w=2500\u0026fit=max\u0026auto=format\u0026n=jZWTU8DENg390ghC\u0026q=85\u0026s=f9b833665a4be2a8c6f72e4e2d41759c 2500w`})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"CC Switch","og:title":"Interface AI × CC Switch","description":null,"href":"/en/docs/integration/cc-switch"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Key Features of CC Switch","slug":"key-features-of-cc-switch","depth":2,"children":[{"title":"Visual Configuration Management","slug":"visual-configuration-management","depth":3,"children":[]},{"title":"One-Click Switching","slug":"one-click-switching","depth":3,"children":[]},{"title":"Unified Management for Multiple Tools","slug":"unified-management-for-multiple-tools","depth":3,"children":[]},{"title":"Cross-Platform Support","slug":"cross-platform-support","depth":3,"children":[]},{"title":"Configuration Safety","slug":"configuration-safety","depth":3,"children":[]}]},{"title":"Connect Interface AI to CC Switch","slug":"connect-interface-ai-to-cc-switch","depth":2,"children":[{"title":"1. Get an API Key","slug":"1-get-an-api-key","depth":3,"children":[]},{"title":"2. Add a Provider in CC Switch","slug":"2-add-a-provider-in-cc-switch","depth":3,"children":[]},{"title":"3. Verify the Configuration","slug":"3-verify-the-configuration","depth":3,"children":[]}]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/jiekou/66d6c24ef801984b/scripts/remoteData.js","/_mintlify/custom/jiekou/8ae569e8e123640c/scripts/gen-web-info/config.js","/_mintlify/custom/jiekou/2b947a82b530b471/scripts/gen-web-info/index.js","/_mintlify/custom/jiekou/b1f45b91d2fcd1eb/toc-band.js","/_mintlify/custom/jiekou/0ee120a6eb5f0b8b/heading-link-feedback.js","/_mintlify/custom/jiekou/fd5da096ef37d69e/sidebar-glide.js"],"subdomain":"jiekou","siteName":"JieKou AI Docs","title":"Interface AI × CC Switch","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"zh":{"href":"/docs/integration/cc-switch","matchLevel":1},"en":{"href":"/en/docs/integration/cc-switch","matchLevel":0},"es":{"href":"/es/docs/integration/cc-switch","matchLevel":1},"pt-BR":{"href":"/pt/docs/integration/cc-switch","matchLevel":1},"fr":{"href":"/fr/docs/integration/cc-switch","matchLevel":1},"de":{"href":"/de/docs/integration/cc-switch","matchLevel":1},"ja":{"href":"/ja/docs/integration/cc-switch","matchLevel":1},"ru":{"href":"/ru/docs/integration/cc-switch","matchLevel":1}}},"lastModified":"2026-11-05T09:04:57.658Z","gitLastModified":"2026-09-03T08:31:16.000Z","originalFileLocation":"en/docs/integration/cc-switch.mdx","locale":"en"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"application-name\" content=\"JieKou AI Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/jiekou/oOvNr3EXOz4PkTkF/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/jiekou/oOvNr3EXOz4PkTkF/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/jiekou/oOvNr3EXOz4PkTkF/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/jiekou/oOvNr3EXOz4PkTkF/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/jiekou/oOvNr3EXOz4PkTkF/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/jiekou/oOvNr3EXOz4PkTkF/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/jiekou/oOvNr3EXOz4PkTkF/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/jiekou/oOvNr3EXOz4PkTkF/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/jiekou/oOvNr3EXOz4PkTkF/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Interface AI × CC Switch\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"接口AI 文档中心\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.jiekou.ai/en/docs/integration/cc-switch\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://jiekou.mintlify.site/_mintlify/api/og/v2?division=Third-party+Tool+Setup\u0026amp;title=CC+Switch\u0026amp;theme=0da15844afbe496d38391ae7\u0026amp;signature=9758aa451f52505521ec618fe6ff66d2dbc044907edc0f46876893d63b92a8ea\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Interface AI × CC Switch\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://jiekou.mintlify.site/_mintlify/api/og/v2?division=Third-party+Tool+Setup\u0026amp;title=CC+Switch\u0026amp;theme=0da15844afbe496d38391ae7\u0026amp;signature=9758aa451f52505521ec618fe6ff66d2dbc044907edc0f46876893d63b92a8ea\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/jiekou/oOvNr3EXOz4PkTkF/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"接口AI 文档中心\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#000000\">\u003cmeta data-mint-head name=\"application-name\" content=\"接口AI 文档中心\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.jiekou.ai/en/docs/integration/cc-switch\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/en/docs/integration/cc-switch.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.jiekou.ai/en/docs/integration/cc-switch\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh\" href=\"https://docs.jiekou.ai/docs/integration/cc-switch\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"es\" href=\"https://docs.jiekou.ai/es/docs/integration/cc-switch\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"pt-BR\" href=\"https://docs.jiekou.ai/pt/docs/integration/cc-switch\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"fr\" href=\"https://docs.jiekou.ai/fr/docs/integration/cc-switch\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"de\" href=\"https://docs.jiekou.ai/de/docs/integration/cc-switch\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ja\" href=\"https://docs.jiekou.ai/ja/docs/integration/cc-switch\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ru\" href=\"https://docs.jiekou.ai/ru/docs/integration/cc-switch\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.jiekou.ai/docs/integration/cc-switch\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://jiekou.ai/#organization\",\"name\":\"接口AI\",\"url\":\"https://jiekou.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/jiekou/Mf1wGBLqNABiRgF8/logo/light.svg?fit=max\u0026auto=format\u0026n=Mf1wGBLqNABiRgF8\u0026q=85\u0026s=81df34bfa762625ad3a4e18f59a81a0e\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.jiekou.ai#website\",\"name\":\"JieKou AI Docs\",\"url\":\"https://docs.jiekou.ai\",\"publisher\":{\"@id\":\"https://jiekou.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.jiekou.ai/en/docs/integration/cc-switch#webpage\",\"url\":\"https://docs.jiekou.ai/en/docs/integration/cc-switch\",\"name\":\"CC Switch\",\"dateModified\":\"2026-09-03T08:31:16.000Z\",\"isPartOf\":{\"@id\":\"https://docs.jiekou.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.jiekou.ai/en/docs/integration/cc-switch#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.jiekou.ai/en/docs/integration/cc-switch#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Third-party Tool Setup\",\"item\":\"https://docs.jiekou.ai/en/docs/integration/workbuddy\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"CC Switch\",\"item\":\"https://docs.jiekou.ai/en/docs/integration/cc-switch\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.jiekou.ai/en/docs/integration/cc-switch#article\",\"headline\":\"CC Switch\",\"name\":\"CC Switch\",\"url\":\"https://docs.jiekou.ai/en/docs/integration/cc-switch\",\"mainEntityOfPage\":{\"@id\":\"https://docs.jiekou.ai/en/docs/integration/cc-switch#webpage\"},\"dateModified\":\"2026-09-03T08:31:16.000Z\",\"publisher\":{\"@id\":\"https://jiekou.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.jiekou.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"JieKou AI Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"接口AI\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/en/docs/integration/cc-switch.md","siteName":"JieKou AI Docs","nav":{"global":null,"languages":[{"language":"zh","default":true,"pages":[{"title":"zh","href":"/docs/integration/cc-switch"}]},{"language":"en","tabs":[{"tab":"Home","pages":[{"title":"Home","href":"/en/docs/home"}]},{"tab":"Product Announcements","pages":[{"title":"Product Announcements","href":"/en/docs/announcement/announcement"}]},{"tab":"Model Service Guide","groups":[{"group":"Getting Started","boost":2,"pages":[{"title":"Introduction","href":"/en/docs/model/overview"}]},{"group":"LLM API","pages":[{"title":"Large Language Models","href":"/en/docs/model/llm"},{"title":"Recommended Models","href":"/en/docs/model/llm-recommended"},{"title":"Vision-Language Models","href":"/en/docs/model/visual"},{"title":"Reasoning Models","href":"/en/docs/model/inference"},{"title":"Tool Calling (Function Calling)","sidebarTitle":"Function Calling","href":"/en/docs/model/llm-function-calling"},{"title":"Structured Outputs","sidebarTitle":"Structured Outputs","href":"/en/docs/model/llm-structured-outputs"},{"title":"Rate Limits","sidebarTitle":"Rate Limits","href":"/en/docs/model/llm-rate-limits"},{"title":"Large Language Model Monitoring","href":"/en/docs/model/llm-api-metrics"},{"title":"Compatible with Anthropic SDK","href":"/en/docs/model/llm-anthropic-compatibility"}]},{"group":"Model Providers","pages":[{"title":"Gemini","href":"/en/docs/providers/gemini"},{"title":"Anthropic","href":"/en/docs/providers/anthropic"}]},{"group":"Model Features","pages":[{"title":"Prompt caching","href":"/en/docs/feature/prompt-caching"}]},{"group":"Third-party Tool Setup","pages":[{"title":"Workbuddy","href":"/en/docs/integration/workbuddy"},{"title":"DeepSeek Harness","href":"/en/docs/integration/deepseek-harness"},{"title":"Magpie","href":"/en/docs/integration/magpie"},{"title":"Zcode","href":"/en/docs/integration/zcode"},{"title":"Kimi Code","href":"/en/docs/integration/kimi-code"},{"title":"Qoder","href":"/en/docs/integration/qoder"},{"title":"MiniMax Code","href":"/en/docs/integration/minimax-code"},{"title":"Pi","href":"/en/docs/integration/pi"},{"title":"Hermes","href":"/en/docs/integration/hermes"},{"title":"Cline","href":"/en/docs/integration/cline"},{"title":"TRAE","description":null,"href":"/en/docs/integration/trae"},{"title":"CC Switch","href":"/en/docs/integration/cc-switch"},{"title":"Chatbox","description":null,"href":"/en/docs/integration/chatbox"},{"title":"Claude Code","href":"/en/docs/integration/claudecode"},{"title":"OpenAI Codex CLI","href":"/en/docs/integration/codex"},{"title":"DeepChat","href":"/en/docs/integration/deepchat"},{"title":"LangBot","href":"/en/docs/integration/langbot"},{"title":"RAGFlow","href":"/en/docs/integration/ragflow"},{"title":"OpenManus","href":"/en/docs/integration/openmanus"},{"title":"DeepSearcher","href":"/en/docs/integration/deepsearcher"},{"title":"OpenCode","href":"/en/docs/integration/opencode"},{"title":"OpenClaw","href":"/en/docs/integration/openclaw"},{"title":"Cherry Studio","href":"/en/docs/integration/cherry-studio"}]}]},{"tab":"Model Service API Reference","pages":[{"title":"Model Service API Reference","href":"/en/docs/models/reference-authentication"}]},{"tab":"Account Guide","pages":[{"title":"Account Guide","href":"/en/docs/support/quickstart"}]}]},{"language":"es","pages":[{"title":"es","href":"/es/docs/integration/cc-switch"}]},{"language":"pt-BR","pages":[{"title":"pt-BR","href":"/pt/docs/integration/cc-switch"}]},{"language":"fr","pages":[{"title":"fr","href":"/fr/docs/integration/cc-switch"}]},{"language":"de","pages":[{"title":"de","href":"/de/docs/integration/cc-switch"}]},{"language":"ja","pages":[{"title":"ja","href":"/ja/docs/integration/cc-switch"}]},{"language":"ru","pages":[{"title":"ru","href":"/ru/docs/integration/cc-switch"}]}]},"basePath":"","title":"Interface AI × CC Switch","deploymentId":"dpl_Bzhd2vEuuXmvNaTmqBBYbeBj3epG","buildId":"dpl_Bzhd2vEuuXmvNaTmqBBYbeBj3epG","dynamics":["a74be98ba7"],"chunks":["zoom-image-lightbox-CB5cBw1h.js","lightbox-handle-r17bVUz3.js"]}