- endpoint:
https://mm-internal-cn.leonecloud.com - API Key:in create,「Model」Capabilityand.
- Model ID, and output:「Modellocalized example text」as.
in the<API_KEY> as LeoneCloud API Key.with when and field,.
CC Switch and, canCC Switch Itemlocalized example text localized example text.,, canLeoneCloud, localized example texthttps://mm.leonecloud.com, API Key LeoneCloud.
Claude Code in CC Switch in Claude Code,, and:| localized example text| localized example text|
| ---- | ---- |
| Requestlocalized example text| https://mm-internal-cn.leonecloud.com/v1/support/claudeCode |
| URL|, use Base URL|
| height→ API Format | Anthropic Messages ()|
| field| ANTHROPIC_AUTH_TOKEN |
| Modellocalized example text| in「RequestModel」in Model ID,deepseek-v4-pro[1m] |
use JSON when, can and field:```json
{
"env": {
"ANTHROPIC_AUTH_TOKEN": "<API_KEY>",
"ANTHROPIC_BASE_URL": "https://mm-internal-cn.leonecloud.com/v1/support/claudeCode",
"ANTHROPIC_MODEL": "deepseek-v4-pro[1m]",
"ANTHROPIC_DEFAULT_SONNET_MODEL": "deepseek-v4-pro[1m]",
"ANTHROPIC_DEFAULT_OPUS_MODEL": "deepseek-v4-pro[1m]"
}
}
and after,「localized example text」, Claude Code,.Parameter and Windows[Claude Code localized example text](/docs/claude-code).
## Claude Code Claude Code (Claude Desktop Claude Code) Location and:`~/.claude/settings.json` field, CC Switch「Claude Desktop」, after.
1. in CC Switch「Claude Desktop」.
2. in「localized example text」,「localized example text」.
3. and:| localized example text| localized example text|
| ---- | ---- |
| localized example text|,`LeoneCloud` |
| localized example text| `https://mm.leonecloud.com` |
| API Key | LeoneCloud|
| Requestlocalized example text| `https://mm-internal-cn.leonecloud.com/v1/support/claudeCode` |
| Method| Modellocalized example text|
| Format| Anthropic Messages ()|
4. in「Modellocalized example text」as Sonnet, Opus, Fable RequestModel, and「1M」supported 1M:| Modelcharacter | localized example text| RequestModel|
| ---- | ---- | ---- |
| Sonnet | DeepSeek V4 Pro | `deepseek-v4-pro` |
| Opus | DeepSeek V4 Pro 0813 | `deepseek-v4-pro-0813` |
| Fable | DeepSeek V4 Flash | `deepseek-v4-flash` |
Haiku can, will Sonnet Model, agent Haiku can use.Model ID localized example text「Modellocalized example text」as.
after as first use in the, Status「in」.CC Switch「localized example text→ localized example text」in「localized example text」and Claude Desktop, after in Claude Desktop in can.use CC Switch.
## Chat Completions Modelin Claude Code in use GLM, DeepSeek etc. Chat Completions Model when, Method CC Switch:| localized example text| localized example text|
| ---- | ---- |
| Requestlocalized example text| `https://mm-internal-cn.leonecloud.com/v1` |
| URL|,`/chat/completions` |
| height→ API Format | OpenAI Chat Completions ()|
| field| `ANTHROPIC_AUTH_TOKEN` |
| Modellocalized example text→ RequestModel| Model ID,`deepseek-v4-pro` or`deepseek-v4-flash` |
after must and Claude, CC Switch will Request as Chat Completions.
## 1. CC Switch「localized example text→ localized example text」.
2. in「localized example text」localized example text「localized example text」, Status as「in」.
3. in「localized example text」in use.
4. will,, and in CC Switch in first use LeoneCloud.
after, Request CC Switch, use CC Switch.and as.
## Gemini in CC Switch in Gemini,, API Key, Request and Model name.Model use`gemini-3.5-flash`, Request as:```text
https://mm-internal-cn.leonecloud.com/v1/gemini/v1beta/models/gemini-3.5-flash:generateContent
```:```dotenvGOOGLE_GEMINI_BASE_URL=https://mm-internal-cn.leonecloud.com/v1/gemini/v1beta/models/gemini-3.5-flash:generateContent
GEMINI_API_KEY=<API_KEY>
GEMINI_MODEL=gemini-3.5-flash
Request URL Method; will Gemini Path, fieldDescription Base URL,.RequestPath and[Gemini localized example text](/docs/llm-gemini) localized example text.