Configure Claude Code CLI, Cursor IDE, and VS Code with various AI models using official documentation only. Kimi K2.5, GLM, Anthropic setup guides.
Configure Claude Code CLI and Cursor IDE with official model providers.
# Windows PowerShell
$env:ANTHROPIC_BASE_URL = "https://api.moonshot.cn/anthropic/"
$env:ANTHROPIC_API_KEY = "sk-your-moonshot-key"
claude
# macOS/Linux
export ANTHROPIC_BASE_URL=https://api.moonshot.cn/anthropic/
export ANTHROPIC_API_KEY=sk-your-moonshot-key
claude
kimi-k2-turbo-previewhttps://openrouter.ai/api/v1When configuring, ALWAYS verify with:
Never use unverified third-party guides for configuration.
| Need | Model | Provider |
|---|---|---|
| Speed | kimi-k2-turbo-preview | Moonshot |
| Reasoning | kimi-k2-thinking | Moonshot |
| Long context | kimi-k2-0905-preview | Moonshot |
| General | sonnet | Anthropic |
| Vision | glm-4.6v | Z.AI |
| Issue | Check |
|---|---|
| 429 errors | Account balance/RPM limits |
| Model not found | Exact model name from official docs |
| Connection fail | API endpoint URL correctness |
See full guide: docs/agent-instructions/setup-guides/model-configuration-faq.md