Official2026-06-16
DeepSeek Adds GitHub Copilot CLI BYOK Documentation
Checked on June 16, 2026: DeepSeek's official GitHub Copilot CLI guide now tells teams to route BYOK through the Anthropic-compatible endpoint, explains why the OpenAI provider path triggers a `400` reasoning-content error, and documents explicit prompt and output token caps for DeepSeek V4 Pro.
What we verified on June 16, 2026
- DeepSeek now has an official GitHub Copilot CLI integration page in its agent-integration docs.
- That page explicitly tells users to use
anthropicas the provider type when wiring GitHub Copilot CLI to DeepSeek via BYOK. - The same page warns that the
openaiprovider path triggers a400error because Copilot CLI's OpenAI integration does not echoreasoning_contentback on later requests, while the Anthropic Messages route avoids that failure mode. - DeepSeek's documented environment contract is concrete:
COPILOT_PROVIDER_BASE_URL=https://api.deepseek.com/anthropic, a DeepSeek API key, andCOPILOT_MODEL=deepseek-v4-pro, withdeepseek-v4-flashalso listed as an available model. - The same page adds explicit token-limit guidance for custom DeepSeek model wiring inside Copilot CLI:
840000prompt tokens and128000output tokens. - DeepSeek also documents an optional offline mode that blocks GitHub API calls while prompts still go to
api.deepseek.com.