Use the Anthropic-compatible route
Set ANTHROPIC_BASE_URL to the MyDeepSeek /anthropic base and authenticate with ANTHROPIC_AUTH_TOKEN. Map the Claude model environment variables to deepseek-v4-flash so subagents and main turns stay on the callable model.
- Base URL: https://mydeepseekapi.com/anthropic
- Wire endpoint: /anthropic/v1/messages
- Native streaming and tool-use events are preserved