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 anthropic as the provider type when wiring GitHub Copilot CLI to DeepSeek via BYOK.
  • The same page warns that the openai provider path triggers a 400 error because Copilot CLI's OpenAI integration does not echo reasoning_content back 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, and COPILOT_MODEL=deepseek-v4-pro, with deepseek-v4-flash also listed as an available model.
  • The same page adds explicit token-limit guidance for custom DeepSeek model wiring inside Copilot CLI: 840000 prompt tokens and 128000 output tokens.
  • DeepSeek also documents an optional offline mode that blocks GitHub API calls while prompts still go to api.deepseek.com.

Sources