Claude Code
Claude Code 使用 Anthropic Messages 格式。推荐通过 CC Switch 的内置 PIPELLM 供应商完成配置,避免手动维护settings.json。
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
settings.json。
https://cc-api.pipellm.ai
{
"env": {
"ANTHROPIC_AUTH_TOKEN": "<YOUR_API_KEY>",
"ANTHROPIC_BASE_URL": "https://cc-api.pipellm.ai",
"ANTHROPIC_DEFAULT_HAIKU_MODEL": "claude-haiku-4-5-20251001",
"ANTHROPIC_DEFAULT_OPUS_MODEL": "claude-opus-4-6",
"ANTHROPIC_DEFAULT_SONNET_MODEL": "claude-sonnet-4-6",
"ANTHROPIC_MODEL": "claude-opus-4-6",
"ANTHROPIC_REASONING_MODEL": "claude-opus-4-6"
},
"hooks": {},
"includeCoAuthoredBy": false,
"model": "claude-sonnet-4-6"
}