Model selection

For complex projects, you can specify the model:

CODESPEAK_ANTHROPIC_STANDARD_MODEL=claude-opus-4-6 codespeak build

Alternative 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:

ProviderBase URL
Z.aihttps://api.z.ai/api/anthropic
Moonshot AIhttps://api.moonshot.ai/anthropic
MiniMaxhttps://api.minimax.io/anthropic
DeepSeekhttps://api.deepseek.com/anthropic
Alibaba Cloud (DashScope)https://dashscope-intl.aliyuncs.com/apps/anthropic
OpenRouterhttps://openrouter.ai/api

If your preferred provider is not listed, feel free to contact us on Discord.