
如果您在搜索“Windows上的DeepSeek”时期待一个单一的官方安装程序,那么答案更为复杂——而且更好。有四种合法途径,选择哪一种取决于您是想使用一个精致的聊天窗口、在您自己的GPU上运行离线模型,还是从PowerShell脚本访问新的V4 API。本指南将详细介绍每种选项,包括硬件要求、确切命令以及我们在生产环境中运行这些设置时遇到的问题。到那时,您将知道哪种途径适合您的机器、您的隐私立场和您的预算——以及哪些要避免。
简短回答:选择四种方法之一

DeepSeek不提供由公司维护的传统“DeepSeek.exe”桌面客户端。相反,Windows用户有四种实用的途径,它们涵盖了从休闲聊天到在128GB工作站上离线推理的几乎所有用例。
| 路由 | 您将获得 | Best for | Cost |
|---|---|---|---|
| 访问 chat.deepseek.com 的浏览器 | 完整的 V4 网络聊天,包含 DeepThink 切换 | 休闲用户、学生、作家 | Free |
| 微软商店应用 | 网络聊天的官方包装器 | 喜欢在开始菜单图标中使用的用户 | Free |
| Ollama + Open-WebUI | 本地蒸馏或量化权重,离线 | 对隐私敏感的工作流程,无需互联网 | 仅硬件 |
| Python/PowerShell 的 V4 API | 对...的编程访问 deepseek-v4-pro and deepseek-v4-flash |
开发者,自动化,代理 | Pay per token |
所有四条路径背后的当前一代是 DeepSeek V4,发布于2026年4月24日。 DeepSeek V4 包含两个开放重量级的专家混合模型: deepseek-v4-pro (1.6T total / 49B active) and deepseek-v4-flash (总参数量284B / 激活参数量13B),均采用MIT许可。
方法1:在任何Windows浏览器中使用chat.deepseek.com
这是最简单的方法,对于大多数读者来说,这也是正确的方法。在Windows 10或11上打开Edge、Chrome或Firefox,访问 chat.deepseek.com,使用电子邮件或Google账户登录,您就可以与V4交谈了。现在,DeepThink开关将V4在非思考模式和思考模式之间切换,而不是交换模型。
如果您想让它更像一个桌面应用程序而不需要安装任何东西,Edge提供了“将此网站安装为应用”的选项——它移除了浏览器界面并将启动器固定到任务栏上。这个技巧为您提供了原生客户端90%的功能。
网络聊天能做什么,而API不能
网络聊天将您的对话历史保存在服务器端,因此您登录后可以从任何设备返回查看之前的聊天记录。API(在第4条路线中介绍)是无状态的——客户端必须在每个请求中重新发送完整的消息历史。不要假设它们的行为相同;这会让很多初次集成的用户感到困惑。要深入了解,请参阅我们的 DeepSeek chat guide.
方法2:安装官方Microsoft Store应用
DeepSeek已在Microsoft Store发布官方应用。实际上,它是对同一网络聊天的封装,但提供了开始菜单图标、独立的窗口以及更容易的多账户分离,如果您将工作和个人登录分开的话。
- 在Windows 10或Windows 11上打开Microsoft Store。
- 搜索 DeepSeek发布者应被视为DeepSeek的官方实体——在安装前请核实,因为仿冒列表经常出现。
- Click Get,然后 Open.
- 使用与网页上相同的凭据登录。
对Microsoft Store之外的内容要谨慎对待。搜索“DeepSeek Windows下载”的结果会显示几个第三方网站,如“DeepSeek Unchained”或“DeepSeek Windows”,这些网站与公司无关——一些将自家的UI捆绑在公共API周围,另一些则捆绑了可疑的安装程序。如果您想验证您要安装的内容,请参阅我们的 verify official DeepSeek app 演示列表中列出了要检查的发布者字段和证书。
方法3:在Windows 11上本地运行DeepSeek与Ollama

如果您想要离线操作、无令牌计费以及对话始终留在您的机器上,请选择此路线。但问题是您在家中不会运行V4-Pro——其权重在Hugging Face上为865 GB,而V4-Flash为160 GB。即使是Simon Willison,在128 GB的M5 MacBook Pro上,对运行量化的V4-Flash也抱有希望但不确定。在大多数消费级Windows硬件上,您将运行较小的R1蒸馏版本。
硬件现实检查
- 8 GB VRAM (RTX 3060, 4060):7B R1蒸馏运行舒适。
- 16–24 GB VRAM (RTX 4080, 4090):14B和32B蒸馏运行良好。
- 48 GB+ VRAM或统一内存:70B蒸馏区域。
- 完整的671B或V4-Flash 284B:仅限工作站或服务器——数百GB的磁盘和高端多GPU配置。
想要更详细的硬件分解,请参阅我们的 DeepSeek system requirements guide.
Windows 11上的逐步安装
- Install Windows版Ollama 来自
ollama.com。安装程序会注册一个后台服务。 - 打开PowerShell并验证安装:
ollama -v. - 拉取适合您硬件的模型。对于一台典型的游戏电脑:
ollama pull deepseek-r1:7b. - 运行它:
ollama run deepseek-r1:7b。现在您在终端中有一个正在工作的聊天。 - 可选——安装 Docker Desktop and enable WSL2,然后 run Open-WebUI 在容器中。它在一个浏览器界面中暴露,地址为
http://localhost:3000界面看起来类似于ChatGPT,并允许您在本地拉取的任何模型之间切换。
如果您有NVIDIA GPU,在拉取模型之前安装相应的CUDA工具包——Ollama会自动检测它并将层卸载到GPU上,这会在推理时带来5-10倍的速度差异。我们的 running DeepSeek on Ollama 本教程更详细地介绍了WSL2和Docker的部分,而更广泛的教程则涵盖了LM Studio和llama.cpp等非Ollama选项。 install DeepSeek locally 如果您编写代码,DeepSeek在这里最有意思。聊天请求会击中
路由4:从Windows调用DeepSeek V4 API
如果您编写代码,DeepSeek在这里最有意思。聊天请求会击中 POST /chat/completions,与OpenAI兼容的端点,DeepSeek还以相同的基URL暴露了一个Anthropic兼容的表面。这意味着官方的OpenAI Python或Node SDK通过仅更改 base_url and api_key.
获取密钥,然后调用端点
- Sign up at
platform.deepseek.com并创建一个API密钥。我们的操作指南包含截图。 get a DeepSeek API key 演示过程包含截图。 - Install Python 3.10+ for Windows 来自 the Microsoft Store or python.org.
- 打开PowerShell并安装OpenAI SDK:
pip install openai. - 将您的密钥设置为环境变量,以便它不是硬编码的:
$env:DEEPSEEK_API_KEY = "sk-...".
以非思考模式调用V4-Flash的Python最小调用:
来自 openai import OpenAI
import os
client = OpenAI(
base_url="https://api.deepseek.com",
api_key=os.environ["DEEPSEEK_API_KEY"],
)
resp = client.chat.completions.create(
model="deepseek-v4-flash",
messages=[{"role": "user", "content": "Summarise the V4 release."}],
temperature=1.3,
max_tokens=1024,
)
print(resp.choices[0].message.content)
要在V4任一层级切换到思考模式,请添加 reasoning_effort="high" and extra_body={"thinking": {"type": "enabled"}}. The response then returns reasoning_content alongside the final content. For maximum reasoning effort use reasoning_effort="max" 确保您的上下文窗口设置为至少384K个token。
旧版ID和迁移
If you have older code referencing deepseek-chat or deepseek-reasoner, those IDs still work — they currently route to deepseek-v4-flash 分别在非思考模式和思考模式下。它们将在之后被淘汰,之后使用它们的请求将失败。迁移是一个命令行操作。 2026-07-24 at 15:59 UTC,之后使用它们的请求将失败。迁移是一个单行命令。 model= swap; base_url does not change. See our DeepSeek OpenAI SDK compatibility 以下是完整的映射说明。
在Windows上运行的成本
The current rates, per 1M tokens, taken 来自 DeepSeek’s pricing page as of April 2026:
| Model | Cache hit input | Cache miss input | Output |
|---|---|---|---|
deepseek-v4-flash |
$0.0028 | $0.14 | $0.28 |
deepseek-v4-pro |
$0.003625 promo / $0.0145 list | $0.435 promo / $1.74 list | $0.87 promo / $3.48 list |
Windows端自动化工作示例,使用2,000个token缓存的系统提示、200个token的用户消息和300个token的回答,对V4-Flash进行了1,000,000次调用:
- Cached input: 2,000,000,000 tokens × $0.0028/M = $5.60
- Uncached input: 200,000,000 tokens × $0.14/M = $28.00
- Output: 300,000,000 tokens × $0.28/M = $84.00
- Total: $117.60
不要跳过未缓存的输入行——每次调用的用户消息仍然是对缓存前缀的未命中。高峰时段折扣于2025-09-05结束,并且V4版本后尚未恢复;在假设“DeepSeek是最便宜的”之前,请比较当前的OpenAI和Anthropic定价页面;截至2026年4月,它是前沿级API中最便宜的之一,但比较是动态变化的。我们的 DeepSeek pricing calculator 处理您自己的工作负载的全部数学运算。
值得了解的其他Windows端功能
- Context window: V4两个等级默认支持1,000,000个token,输出可达384,000个token。
- JSON模式: 设置
response_format={"type": "json_object"}。它旨在返回有效的JSON,但不保证——在您的提示中包含“json”一词以及一个小示例模式,并设置max_tokenshigh enough to avoid truncation. - 流式传输: 设置
stream=true,您将收到服务器发送的事件;当启用思考时,推理内容与最终内容一起流式传输。 - 工具调用和FIM补全: 工具在思考和未思考模式下都有效;FIM(中间填充)补全处于Beta测试阶段,且仅在未思考模式下——对于Windows上的IDE集成很有用。
- Temperature pre设置s: DeepSeek推荐将代码和数学设置为0.0,数据分析设置为1.0,一般对话设置为1.3,创意写作设置为1.5。
常见的Windows特定问题

| Symptom | Likely cause | Fix |
|---|---|---|
| Ollama “model not found” | 错误输入的标签(例如 deepseek-r1:7 代替 :7b) |
Run ollama 列表 以确认精确标签 |
| Ollama 仅在 CPU 上运行 | CUDA 工具包缺失或版本错误 | 安装匹配的 CUDA,重启 Ollama 服务 |
| Open-WebUI 无法连接到 Ollama | WSL2 网络配置 | 将 Ollama 绑定到 0.0.0.0 and use host’s IP 来自 WSL |
| API 调用返回 401 | Env var not 设置 in the current PowerShell session | Re-设置 $env:DEEPSEEK_API_KEY 或者使用 设置x 以实现持久化 |
| JSON mode returns empty content | 已记录的行为 | 重试;确保提示包含“json”和模式 |
如果您的问题比这更广泛,我们的 DeepSeek troubleshooting 指南涵盖了跨平台的登录、应用和API错误,并且 DeepSeek beginner guides 中心索引了我们维护的每个平台特定的指南。
你实际上应该选择哪条路由?
- Pick the browser or 微软商店应用 如果您想要聊天、写作或进行研究,而不需要管理基础设施,这是80%读者的正确答案。
- 选择Ollama 如果您需要离线操作,您的数据不能离开机器,或者您想在小规模上尝试开源权重。
- 选择API 如果您正在自动化、构建内部工具或运行代理。从
deepseek-v4-flash开始;对于大多数工作负载;迁移到deepseek-v4-pro只有当您自己的评估显示提升值大约是每输出令牌成本的12倍(≈典型聊天工作负载总费用的10倍)时。
跨平台用户还应查看 DeepSeek on Mac for the equivalent 设置up on Apple Silicon, and 路透社对V4发布的报道 了解这一代中发生了哪些变化。
DeepSeek AI Guide is an independent resource and is not affiliated with DeepSeek or its parent company. Model IDs, pricing and API behaviour change; check the official DeepSeek documentation and pricing page before committing to a production decision.
是否有官方的Windows DeepSeek应用?
是的——DeepSeek在Microsoft Store为Windows 10和11发布了官方应用。它本质上是对chat.deepseek.com网页聊天的包装,但增加了开始菜单启动器和专用窗口。请避免在下载门户上找到的第三方“DeepSeek for Windows”安装程序;它们不是由DeepSeek维护的。请参阅我们的 DeepSeek下载 验证来源的指南。
我如何在Windows 11上离线运行DeepSeek?
Install Ollama 来自 ollama.com,然后 run ollama pull deepseek-r1:7b 在PowerShell中下载适合8GB GPU的7B蒸馏模型。若需图形界面,通过Docker Desktop和WSL2在顶部叠加Open-WebUI。完整的671B或V4-Flash 284B权重需要工作站。我们的 DeepSeek offline 设置up 指南包含完整的操作流程。
我的电脑能否本地运行DeepSeek V4-Flash?
没有强大的硬件可能不行。V4-Flash有284B参数,大约160GB在Hugging Face上;即使量化,也远远超过了消费级GPU的内存。大多数使用RTX 4080或4090的Windows用户应该运行14B-32B的R1蒸馏模型,或者使用API访问V4。查看我们的 DeepSeek hardware calculator 以确定您的机器规格。
从Windows使用DeepSeek API的成本是多少?
价格按token计费,而不是按平台计费。截至2026年4月,V4-Flash的输入缓存未命中价格为每1M tokens 0.14美元,输出价格为每1M tokens 0.28美元;V4-Pro的价格为1.74美元和3.48美元。在V4-Flash上使用2,000-token缓存的提示和简短回复进行一百万次调用,总计约为117.60美元。查看我们的 DeepSeek API pricing 当前利率的参考。
Windows上的DeepSeek是否仍然支持旧的deepseek-chat模型ID?
是的,直到2026-07-24 15:59 UTC。旧版ID deepseek-chat and deepseek-reasoner currently route to deepseek-v4-flash 在非思考模式和思考模式下的表现。在那之后,使用这些ID的请求将失败。迁移只需一行代码。 model= swap; base_url does not change. Our DeepSeek API documentation 中心跟踪弃用时间表。
Sources & Methodology
Primary sources
- OfficialDeepSeek API documentationEndpoints, request/response shape, model IDsLast checked: April 30, 2026
- PricingDeepSeek API pricing pagePer-1M-token rates, billing units, cache-hit pricingLast checked: April 30, 2026
- Model cardDeepSeek on Hugging FaceWeights, license, usage notes per modelLast checked: April 30, 2026
Technical references
- Technical reportDeepSeek-R1 paper (arXiv:2501.12948)R1 reasoning approach, distillation resultsLast checked: April 30, 2026
Context sources
- News路透社:中国DeepSeek发布全新AI模型V4(2026年4月)本代变化的内容发布日背景Last checked: April 30, 2026
Methodology
Information in this article was checked against the official DeepSeek documentation, the article's cited primary sources, and the deepseekai.guide pricing data设置 on the date shown above. Where third-party numbers are quoted, the originating source is linked inline so the reader can verify and re-check.
Data confidence
High for facts cited inline with primary-source links; medium for context narrative.
Editorial note
AI tooling moves quickly. If you spot an outdated number or a broken link, the contact link in the footer is the fastest way to flag it for the editorial team.