Star 历史趋势
数据来源: GitHub API · 生成自 Stargazers.cn
README.md

DeepSeek V4 for Copilot Chat

Install from VS Code Marketplace Install from Open VSX
Version Installs

English | 简体中文

Pick DeepSeek V4 from the Copilot Chat model picker — and keep everything else Copilot already gives you.

DeepSeek V4 Flash, Flash Vision Exp, and Pro in the Copilot Chat model picker, alongside the Thinking Effort menu

Love DeepSeek's price-performance but don't want to give up GitHub Copilot's agent mode, tool calling, and polished UI? This extension adds DeepSeek V4.1 Flash and other DeepSeek models to the Copilot Chat model selector — with native vision or Vision Proxy, thinking mode, and your own API key.

Why this extension?

  • Don't replace Copilot — power it up. No new sidebar, no new chat UI to learn. Just a new model in the picker you already use.
  • Agent mode, tool calling, instructions, MCP, skills — all of it still works. Copilot's entire stack, now running on DeepSeek.
  • Two ways to work with images. V4.1 Flash and Flash Vision Exp receive image attachments natively. V4 Flash and Pro keep their existing text context while a configurable Vision Proxy turns images into descriptions.
  • BYOK, pay DeepSeek directly. Your API key, your bill, your rate limits. Stored in the OS keychain, never on disk.

Features

DeepSeek models in the model picker

The picker includes V4.1 Flash, V4 Pro, and entries for the legacy Flash model names, with long context, tool calling, and configurable thinking effort.

Native Vision and Vision Proxy

Choose the image path that fits the conversation:

  • DeepSeek V4.1 Flash and Flash Vision Exp handle image attachments natively, without Vision Proxy.
  • The DeepSeek V4 Flash and Pro entries use Vision Proxy: an image-capable model first describes each attachment, then the main DeepSeek model receives the description with the conversation. Auto mode selects Flash Vision Exp when available, while an explicitly configured VS Code model or API endpoint remains supported.

Context caching requires a full match with a cached prefix.

Dropping an image into Copilot Chat and DeepSeek responding to it via the vision proxy

Thinking Mode and Effort Control

Supports DeepSeek's thinking mode and reasoning_content. none disables thinking mode; low, high (default), and max set the thinking effort.

Inherits Every Copilot Capability

Because this plugs into Copilot's native provider API, you get the full stack for free:

  • Agent mode — autonomous multi-step tasks
  • Tool calling — file edits, terminal, workspace search, Git, tests
  • Instructions & skills — all your .instructions.md, AGENTS.md, and skills just work
  • Prompt caching stats — DeepSeek's cache hit rate logged in the output channel so you can see the savings

DeepSeek V4 Pro running Copilot's agent mode with tool calls

Secure by Default

API key lives in VS Code's SecretStorage (OS keychain on macOS / Windows / Linux). Never in settings.json, never in your Git history.

Zero Runtime Dependencies

Pure VS Code API + Node.js built-ins. No Python, no Docker, no local proxy server to babysit.

Getting Started

Prerequisites

  • VS Code 1.116 or later. This extension relies on non-public Copilot Chat APIs that may break on newer VS Code versions — report an issue if you hit one.
  • GitHub Copilot subscription (Free / Pro / Enterprise — the free tier works)
  • DeepSeek API key from platform.deepseek.com, or a compatible provider token when using a custom deepseek-copilot.baseUrl

Installation

Install from the registry used by your editor:

  1. Microsoft VS Code — install from VS Code Marketplace.
  2. Editors that use Open VSX — install from Open VSX.

Usage

  1. Run DeepSeek: Set API Key from the Command Palette (Cmd+Shift+P)
  2. Paste your key or compatible provider token (official DeepSeek keys usually start with sk-)
  3. Open Copilot Chat, click the model picker, and choose DeepSeek V4.1 Flash or DeepSeek V4 Pro
  4. That's it — chat away

Models

Model EntryImage HandlingThinking EffortOfficial API Status
DeepSeek V4.1 FlashNative image inputnone / low / high / maxAvailable via deepseek-flash
DeepSeek V4 ProVision Proxynone / low / high / maxAPI services continue; billing method unchanged
DeepSeek V4 FlashVision Proxynone / low / high / maxModel retired; legacy name still accepted
DeepSeek V4 Flash Vision ExpNative image inputnone / low / high / maxModel retired; legacy name still accepted

On the official API, both legacy model names (deepseek-v4-flash and deepseek-v4-flash-vision-exp) route to DeepSeek-V4.1-Flash and use Flash pricing.

All four entries support thinking mode, tool calling, and 1M token context. See the official Models & Pricing documentation for retirement, routing, and billing details.

Settings

SettingDefaultDescription
deepseek-copilot.baseUrlhttps://api.deepseek.comAPI endpoint — change for self-hosted / proxied deployments
deepseek-copilot.requestHeaders{}Custom headers for chat completions. Configuration guide
deepseek-copilot.maxTokens0Max output tokens (0 = API default). Useful for cost control
deepseek-copilot.modelIdOverridesprefilled official ID mapAPI model IDs to send for each DeepSeek model entry. Change only for compatible third-party APIs with different model names
deepseek-copilot.debugModeminimalDiagnostic mode: minimal for token usage only, metadata for privacy-preserving logs, or verbose for full request dumps and pipeline snapshots under extension global storage. Full dumps may include sensitive prompt text, tool schemas, file snippets, and image descriptions. Use DeepSeek: Open Request Dumps Folder to open the dump location
deepseek-copilot.visionModel(auto)Vision Proxy used by V4 Flash and Pro. Auto mode selects Flash Vision Exp when available; configure another VS Code model or API endpoint with DeepSeek: Configure Vision Proxy
deepseek-copilot.visionPrompt(built-in)Prompt used by V4 Flash/Pro's Vision Proxy to describe image attachments. It does not affect native V4.1 Flash or Flash Vision Exp requests
deepseek-copilot.experimental.stabilizeToolListfalseExperimental. Tries to pre-activate VS Code/Copilot virtual tools so the DeepSeek API tools parameter is more complete and stable across turns. May improve context-cache hit rate when enabled tools change between turns. Can increase input tokens because more function definitions may be included; cache-hit input tokens are cheaper but still count toward usage. Usually leave it off with 64 or fewer enabled tools unless the tool list still changes across turns; do not enable it with more than 128 enabled tools

Thinking Effort is configured from Copilot Chat's model picker for each DeepSeek model.

Example settings.json override for compatible API proxies:

{
  "deepseek-copilot.modelIdOverrides": {
    "deepseek-flash": "your-v4.1-flash-model-id",
    "deepseek-v4-flash": "your-flash-model-id",
    "deepseek-v4-pro": "your-pro-model-id",
    "deepseek-v4-flash-vision-exp": "your-vision-model-id"
  }
}

Compared to alternatives

This extensionLocal proxy (e.g. LiteLLM)Standalone DeepSeek extensions
Works inside Copilot Chat❌ separate UI
Agent mode, tools, skills⚠️ reimplemented
Vision support✅ native + proxied
No extra process to run
One-click install
API key in OS keychain⚠️ varies

License

MIT

关于 About

Pick DeepSeek V4 from the Copilot Chat model picker — and keep everything else Copilot already gives you.

语言 Languages

TypeScript100.0%

提交活跃度 Commit Activity

代码提交热力图
过去 52 周的开发活跃度
76
Total Commits
峰值: 15次/周
Less
More

核心贡献者 Contributors