Model selection
For complex projects, you can specify the model:
CODESPEAK_ANTHROPIC_STANDARD_MODEL=claude-opus-4-6 codespeak buildAlternative model providers
⚠️ Support for alternative model providers is experimental. Please use at your own risk and report any issues to our Discord. Thank you!
CodeSpeak lets you configure Anthropic-compatible model providers. Set the ANTHROPIC_BASE_URL environment variable:
export ANTHROPIC_BASE_URL="https://api.z.ai/api/anthropic"
export ANTHROPIC_API_KEY="your-zai-api-key"Make sure your API key configuration is not interfering — alternative providers use their own keys.
Set ANTHROPIC_API_KEY to the alternative provider's key. Make sure that your .env.local or other config files don't have conflicting keys.
The following providers are currently supported:
| Provider | Base URL |
|---|---|
| Z.ai | https://api.z.ai/api/anthropic |
| Moonshot AI | https://api.moonshot.ai/anthropic |
| MiniMax | https://api.minimax.io/anthropic |
| DeepSeek | https://api.deepseek.com/anthropic |
| Alibaba Cloud (DashScope) | https://dashscope-intl.aliyuncs.com/apps/anthropic |
| OpenRouter | https://openrouter.ai/api |
If your preferred provider is not listed, feel free to contact us on Discord.