Official2026-06-24
DeepSeek Documents GitHub Copilot CLI BYOK Setup
Checked on June 24, 2026: DeepSeek's official GitHub Copilot CLI page says teams should use the Anthropic-compatible endpoint, warns that the OpenAI provider triggers a `400` reasoning-content error, sets explicit token ceilings for `deepseek-v4-pro`, and clarifies that offline mode still sends prompts to DeepSeek.
What we verified on June 24, 2026
- DeepSeek now has an official GitHub Copilot CLI integration page inside the agent-integrations section of the API docs.
- The page publishes a strict provider rule: use
anthropicas the provider type and point Copilot CLI tohttps://api.deepseek.com/anthropic. - DeepSeek documents the actual failure mode behind a common setup error: the
openaiprovider type triggers a400error that saysThe reasoning_content in the thinking mode must be passed back to the API.because Copilot CLI's OpenAI integration does not echoreasoning_contentback on later requests. - The official page also publishes explicit token ceilings for the custom DeepSeek route:
840000max prompt tokens and128000max output tokens fordeepseek-v4-pro. - DeepSeek adds an operational boundary around offline mode:
COPILOT_OFFLINE=trueonly blocks GitHub API calls, while prompts still go toapi.deepseek.com.
Sources
- DeepSeek English homepage
- DeepSeek official GitHub Copilot CLI integration guide
- DeepSeek official GitHub Copilot integration guide
- DeepSeek official Claude Code integration guide
- DeepSeek official status page
- DeepSeek official GitHub organization
- DeepSeek official Hugging Face organization
- DeepSeek official X account surface