文档Docs
用 DeepSeekUse DeepSeek
用 DeepSeek 驱动 Agent J:开放平台按量付费的 key 现在通过 OpenCode 接入;方舟和百炼的套餐里也带 DeepSeek 模型;DeepSeek 自家的 AI 编程工具即将支持。Run Agent J on DeepSeek: a pay-as-you-go open platform key works today through OpenCode; the Volcano Ark and Alibaba Bailian plans include DeepSeek models too; DeepSeek's own AI coding tool is coming soon.
DeepSeek(深度求索)的模型进 Agent J 有三条路。先看你手上是哪一种。
还没决定用哪家?先看按你用的模型选。安装、配对手机这些每家都一样的事,看安装和手机上怎么用。
适合谁
| 你的情况 | 怎么用 | 现在支持吗 |
|---|---|---|
| 有 DeepSeek 开放平台的账号和余额(按量付费) | OpenCode 接 DeepSeek,见下面 | 支持 |
| 买了火山方舟 Coding Plan 或阿里百炼 Token Plan | 在套餐里选 DeepSeek 模型,见火山方舟、阿里百炼 | 支持 |
| 想用 DeepSeek 自家的 AI 编程工具 | 还不能用 | 即将支持 |
什么都还没有、想要包月套餐的,我们首推火山方舟:一把 key 里就带 DeepSeek 的模型,也带别家的。
开通与付费
- 打开 DeepSeek 开放平台 https://platform.deepseek.com/ ,注册、完成实名认证,再充值。
- 它按用量付费,没有包月套餐。价格以官方价格页为准:DeepSeek 模型与价格。
拿 key
在开放平台的 API Keys 页面新建一把 key。不要发进聊天,也不要交给 Agent。
把 key 交给 Agent J
DeepSeek 开放平台的 key,现在由 OpenCode 自己保存,不经过手机密钥卡。key 只在你自己的终端里输入,Agent J 和 Agent 都看不到它:
- 在你自己的终端里运行
opencode auth login,在列表里选 DeepSeek,把 key 粘贴进去。key 存在这台电脑上 OpenCode 自己的凭据里,只发给 DeepSeek。 - 跟电脑上的 Agent 说:切到 DeepSeek。它会运行:
agentj agent switch opencode --model deepseek/deepseek-flash
模型名写成 deepseek/<模型>,opencode models 会列出这台电脑上 OpenCode 能用的全部模型。
只在终端里 export 的 key,后台运行的 Agent J 看不到。所以一定要用 opencode auth login 存。
能用的 AI 编程工具
- OpenCode:现在唯一的路。OpenCode 自带 DeepSeek 接入。没装的,见装好 AI 命令行工具。
- Claude Code、Codex:Agent J 没给它们配 DeepSeek 开放平台的一键设置。
- DeepSeek 自家的 AI 编程工具:即将支持。支持后,这一页会更新。
模型与看图
deepseek/deepseek-flash(DeepSeek V4.1 Flash):便宜,能看图,适合简单任务和截图。- 其他模型:用
opencode models看名字。拿不准能不能看图,先从手机发一张截图试一次。
套餐里的 DeepSeek 模型:
| 套餐 | 模型 | 能看截图 |
|---|---|---|
| 火山方舟 | deepseek-v4-1-flash | 能(2026-10-16 实测) |
| 火山方舟 | deepseek-v4-pro、deepseek-v4-flash | 不能 |
| 阿里百炼 | deepseek-v4-pro | 不能 |
用不能看图的模型时,你从手机发截图、或者浏览器自动化要看页面,模型都看不到,会说没收到图片。换一个能看图的模型就行。
常见坑
- 手机提示 OpenCode 里没有 DeepSeek 可用的 key:key 只在终端里
export了。按上面在opencode auth login里存一次,再发一条消息。 - 存了好几把 DeepSeek 的 key:OpenCode 新版只用选中的那一把。在电脑上运行
opencode auth switch deepseek选对。 - 余额用完:去开放平台充值,再发一条消息。
切回原来的工具
随时跟 Agent 说“切回 Claude Code”(或 Codex),它会先检查、能用才切。也可以自己在电脑上运行:
agentj agent switch claude
想原样换回上一次切走前的那个:
agentj agent switch --undo
切换的细节见换 AI 编程工具。
DeepSeek's models reach Agent J by three routes. Start with the one that matches what you have.
Not sure which vendor to pick? Start at Choose by your model. Installing and pairing your phone are the same for every vendor: see Install and Using it on your phone.
Who it is for
| What you have | How | Supported now |
|---|---|---|
| A DeepSeek open platform account with credit (pay as you go) | DeepSeek in OpenCode, below | Yes |
| A Volcano Ark Coding Plan or an Alibaba Bailian Token Plan | Pick a DeepSeek model inside the plan: Volcano Ark, Alibaba Bailian | Yes |
| You want DeepSeek's own AI coding tool | Not yet | Coming soon |
Nothing yet and you want a monthly plan? We recommend Volcano Ark first: one key includes DeepSeek's models and other vendors' as well.
Sign up and pay
- Open the DeepSeek open platform https://platform.deepseek.com/ , sign up, complete identity verification and add credit.
- It is pay as you go; there is no monthly plan. The official price page is authoritative: DeepSeek models and pricing.
Get the key
Create a key on the platform's API Keys page. Never send it in the chat or give it to the Agent.
Hand the key to Agent J
A DeepSeek open platform key is stored by OpenCode itself for now, not through the phone key card. You type it only in your own terminal; neither Agent J nor the Agent ever sees it:
- In your own terminal, run
opencode auth login, pick DeepSeek in the list and paste the key. It stays in OpenCode's own credential store on this computer and goes only to DeepSeek. - Tell the Agent on your computer: switch to DeepSeek. It runs:
agentj agent switch opencode --model deepseek/deepseek-flash
Models are written deepseek/<model>; opencode models lists every model OpenCode can use on this computer.
A key that is only exported in your terminal is invisible to the Agent J background service, so store it with opencode auth login.
AI coding tools
- OpenCode: the only route for now. OpenCode already knows DeepSeek. Not installed yet? See Set up AI command-line tools.
- Claude Code, Codex: Agent J has no one-step setup for them with a DeepSeek open platform key.
- DeepSeek's own AI coding tool: coming soon. This page will be updated when it is supported.
Models and screenshots
deepseek/deepseek-flash(DeepSeek V4.1 Flash): cheaper, reads images, good for simple tasks and screenshots.- Other models: see their names with
opencode models. Not sure whether one reads images? Send it one screenshot from your phone and see.
DeepSeek models inside the plans:
| Plan | Model | Reads screenshots |
|---|---|---|
| Volcano Ark | deepseek-v4-1-flash | Yes (tested on 2026-10-16) |
| Volcano Ark | deepseek-v4-pro, deepseek-v4-flash | No |
| Alibaba Bailian | deepseek-v4-pro | No |
With a model that cannot read images, a screenshot from your phone or a page the browser automation needs to look at never reaches the model, and it says it got no image. Switch to a model that reads images.
Common problems
- The phone says OpenCode has no key for DeepSeek: the key was only
exported in a terminal. Store it once withopencode auth loginas above, then send again. - Several DeepSeek keys stored: newer OpenCode uses only the selected one. Run
opencode auth switch deepseekon the computer to pick the right one. - Out of credit: top up on the platform, then send again.
Switch back
Tell the Agent at any time: switch back to Claude Code (or Codex). It checks first and switches only if that works. Or run it on the computer yourself:
agentj agent switch claude
To go straight back to the tool you used before the last switch:
agentj agent switch --undo
Details: Switch AI coding tool.