Codex Desktop 原生接入
DeepSeek 模型
Codex Desktop Native
DeepSeek Models

支持 DeepSeek V4 Pro 与 Flash 双模型。延续 Codex 原生 258K 上下文能力,效果完全对标 GPT-4 系列,成本直降 95%。 Supports DeepSeek V4 Pro and Flash. Inherits Codex's native 258K context, matching top closed-source models with a 95% cost reduction.

Mac 提示文件损坏?终端执行:xattr -dr com.apple.quarantine /Applications/CodexDS.app Mac app damaged? Run in terminal: xattr -dr com.apple.quarantine /Applications/CodexDS.app
Built With: 你在看的这个页面,全程使用 DeepSeek V4 Pro + Codex Desktop 辅助生成与迭代。 This entire page was generated and iterated using DeepSeek V4 Pro + Codex Desktop.

核心特性 Core Features

在 Codex Desktop 中直接体验顶级开源模型的编程能力,无需切换开发环境。 Experience top-tier open-source coding capabilities directly inside Codex Desktop without switching environments.

01

258K 完整上下文 258K Full Context

完美对接 Codex Desktop 原生上下文能力,大文件编辑、多文件重构、长对话记忆全部无缝衔接。效果对标 GPT API,内部测试中 1M 上下文会导致思考时间大幅增加,暂不启用。 Seamlessly integrates with Codex Desktop's native context. Large file editing, multi-file refactoring, and long chat memory work flawlessly.

02

双模型架构 Dual Model Arch

内置 V4 Pro 主力推理与 V4 Flash 轻量响应,按开发任务按需切换,平衡速度与质量。 Built-in V4 Pro for complex reasoning and V4 Flash for lightning-fast responses.

03

完全免费接入 100% Free Integration

工具永久免费开放,免魔法网络限制。下载即用,只需配置你自己的 API Key 即可起步。 Permanently free and requires no VPN. Configure your own API Key to get started instantly.

04

一键无缝切换 One-Click Switch

桌面端控制台一键切换模型,自动重启并注入 Codex,摆脱繁杂的本地 JSON 配置文件修改。 Switch models with one click. Auto-restarts Codex, freeing you from messy JSON edits.

05

跨平台多端互通 Cross-Platform

全面支持 Windows 与 macOS 环境。配置习惯互通,让你的 AI 编程体验在多设备间保持一致。 Fully supports Windows and macOS. Your configuration syncs across all your devices.

极致的成本优势 Extreme Cost Advantage

DeepSeek 提供了市面上最具竞争力的定价策略,价格仅为同级闭源模型的 1/30。 DeepSeek offers the most competitive pricing, costing only 1/30th of equivalent closed-source models.

模型名称Model Name 上下文窗口Context Window SWE-bench LiveCodeBench 输入 (每 1M tokens)Input (/1M tokens) 输出 (每 1M tokens)Output (/1M tokens)
DeepSeek V4 Pro 2.5折75% OFF 1,000K 72.8% 73.5% ¥3.00 ¥6.00
DeepSeek V4 Flash 1,000K 69.1% 68.2% ¥1.00 ¥2.00
GPT-5.5 256K 78.9% 79.5% ¥180.00 ¥720.00
GPT-5.4 128K 76.1% 76.8% ¥108.00 ¥432.00
GPT-5.3 128K 73.5% 72.9% ¥72.00 ¥288.00
Claude Opus 4.7 200K 75.8% 76.2% ¥144.00 ¥720.00
Claude Sonnet 4.6 200K 70.1% 69.5% ¥29.00 ¥144.00
Gemini 3.1 Pro 2,048K 74.2% 75.1% ¥21.60 ¥86.40
Gemini 3.0 Pro 2,048K 72.5% 71.8% ¥18.00 ¥72.00
Gemini 2.5 Pro 1,048K 70.8% 69.5% ¥18.00 ¥72.00
Gemini 3.1 Flash 2,048K 65.8% 64.5% ¥1.40 ¥5.80
Gemini 2.5 Flash 1,048K 62.4% 60.1% ¥1.10 ¥4.30
价格说明:DeepSeek 为人民币定价,其他模型按 $1 ≈ ¥7.2 换算。DeepSeek V4 Pro 优惠期至 2026/05/31。SWE-bench 与 LiveCodeBench 分数取自各官方报告,仅供参考。 Note: DeepSeek uses CNY pricing, others converted at $1 ≈ ¥7.2. Pro discount valid until 2026/05/31. Scores are from official reports.

五步完成配置 Setup in 5 Steps

无需复杂的开发环境调试,小白也能在三分钟内完成接入。 No complex environment setups required. Complete the integration in under 3 minutes.

1

安装 Codex Desktop Install Codex Desktop

前往 openai.com/codex 下载并安装官方桌面客户端。 Visit openai.com/codex to download the official client.

2

安装 Codex DS Install Codex DS

下载页面顶部的 Windows 或 macOS 安装包。双击运行,工具将自动常驻后台。 Download the installer from the top of this page. Run it to keep the proxy active.

3

获取 API Key Get API Key

前往 platform.deepseek.com 注册账号,在 API Keys 页面生成一个新的 Key (sk-...)。 Go to platform.deepseek.com, register, and generate an API Key.

4

应用配置 Apply Configuration

在 Codex DS 界面中粘贴 Key,选择需要的模型(V4 Pro 或 Flash),点击「应用」。 Paste your Key into Codex DS, select a model, and click "Apply".

5

重启并起飞 Restart & Launch

点击「重启 Codex」按钮。打开你的项目代码,即可享受极致的 AI 编程体验。 Click "Restart Codex". Open your project and enjoy the AI coding experience.

常见问题 Frequently Asked Questions

Codex DS 是一个运行在本地的轻量代理工具。它在本地拦截 Codex Desktop 发出的 Responses API 请求,并将其无缝转译为 DeepSeek Chat Completions 格式,从而让你能在官方工具中直接调用 DeepSeek 模型,体验原生的 258K 上下文能力。 Codex DS is a local lightweight proxy. It intercepts API requests from Codex Desktop and translates them into DeepSeek's format, allowing you to use DeepSeek models natively within the official app.

Codex DS 软件本身完全免费,没有任何会员订阅。你只需要使用自己的 DeepSeek API Key,并向 DeepSeek 官方按实际产生的 Token 消耗量付费即可(每百万 Token 仅需 ¥3 起)。 The Codex DS software is completely free. You only pay DeepSeek directly for your API usage based on actual tokens consumed.

完全可以。DeepSeek 是国内顶尖的 AI 厂商,API 节点在国内访问速度极快。Codex DS 会直接通过本地直连其服务器,无需任何特殊的网络代理或魔法环境配置。 Yes, absolutely. The API nodes are highly optimized globally. Codex DS connects directly to the servers, requiring no special network configurations.