免費的 DeepSeek AI Agent

免費運行 DeepSeek AI Agent — 用 DeepSeek API 接入程式 Agent,或直接在瀏覽器試用免費線上 Agent。

本站為獨立的 DeepSeek Agent 指南,與 DeepSeek 官方無關聯或背書關係。

DeepSeek V4 Flash 與 Pro

在 iMini 免費線上 AI Agent 中使用最新 DeepSeek V4:Flash 偏速度與成本,Pro 偏深度推理與複雜任務。

DeepSeek V4 Flash

免費

面向高吞吐程式、對話与短中程 Agent 的 V4 高效 MoE — 可在 iMini Agent 免費試用。

适合高吞吐 Agent 任務、日常程式辅助,以及更关注成本的场景。

  • 284B MoE,约 13B 每 token 啟用參數
  • 百万 token 上下文,适合更长的 Agent 会话
  • 想在瀏覽器里又快又省地跑任務时优先选它

DeepSeek V4 Pro

免費

硬約束推理、全倉程式与長程多步工具任務的 V4 旗艦 MoE — 可在 iMini Agent 免費試用。

适合硬推理、Agent 程式,以及多步创意或研究型任務。

  • 1.6T MoE,约 49B 每 token 啟用參數
  • 百万 token 上下文,支撑長程 Agent 任務
  • 需要更深规划与更高代码质量时,优先線上試用 Pro

什麼是 DeepSeek?

DeepSeek 是一家位於杭州的中國 AI 實驗室,專注於研發並發佈大型語言模型,其中多數以開放授權發佈。它之所以廣為人知,一是以遠低於閉源競品的價格提供了前沿級別的推理與程式模型,二是技術報告寫得足夠詳細,其他團隊可以據此重現其思路。

當前一代是 2026 年 4 月發佈的 DeepSeek V4,包含兩個混合專家(MoE)檔位:面向最難推理與 Agent 程式的 V4 Pro,以及面向高吞吐、低成本場景的 V4 Flash。兩者共享百萬 token 上下文,並把推理強度做成請求參數,而不是另起一個模型 ID。

DeepSeek 同時提供相容 OpenAI 介面的 API。這種相容性正是它在 Agent 工具鏈裡頻繁出現的現實原因:只要某個程式 Agent 允許你自訂 base URL 和 API Key,通常不用改工具本身就能把它指向 DeepSeek。

什麼是 DeepSeek Agent?

DeepSeek AI Agent 是透過 DeepSeek API 使用 DeepSeek 模型的自主程式助手。你用自然語言描述目標,Agent 會規劃步驟、呼叫終端或檔案編輯器等工具,並持續工作直到任務完成。

這和只在訊息視窗裡回覆的聊天機器人不同。Agent 跑的是「規劃 → 行動 → 觀察」的迴圈,直到任務結束或你主動停下。

DeepSeek API 原生相容 OpenAI Chat Completions 與 Anthropic Messages,因此對支援自訂端點的程式 Agent 很實用:Chat 形態指到 api.deepseek.com,Anthropic 形態指到 api.deepseek.com/anthropic;如果工具只講 OpenAI Responses,則需要橋接層。

本站整理如何把 Codex、Claude Code、OpenClaw 等 AI 程式 Agent 接到 DeepSeek,以及常見的設定與除錯步驟。

OpenAI Chat、Responses 與 Anthropic:DeepSeek 原生支援什麼

程式 Agent 講的協議並不一樣。DeepSeek 原生相容兩套:OpenAI Chat Completions 和 Anthropic Messages。它不提供 OpenAI Responses,所以像 Codex 這類工具需要橋接層。

對比項OpenAI Chat CompletionsOpenAI ResponsesAnthropic Messages
端點POST /v1/chat/completionsPOST /v1/responsesPOST /v1/messages
主載荷messages: [{role, content}]input(字串或 item 列表)messages + 頂層 system
鑑權Authorization: BearerAuthorization: Bearerx-api-key / ANTHROPIC_API_KEY
內容形態多為純文字字串帶類型的 item(message、function_call、reasoning…)content blocks(type: text 等)
會話狀態無狀態,每次回傳完整歷史面向 Agent 迴圈與更細的 item無狀態,每次回傳完整歷史
典型工具openai SDK、多數 OpenAI 相容 AgentCodex CLI(只認 Responses)Claude Code、Copilot CLI(Anthropic 模式)

DeepSeek 原生支援什麼

官方文件給出兩個 base URL。把對應 SDK 或 Agent 指過去,填入 DeepSeek API Key,再選 deepseek-v4-pro 或 deepseek-v4-flash 即可。

OpenAI Chat Completions

原生支援

對多數 OpenAI 相容用戶端幾乎即插即用:改 base_url 和 api_key,繼續調 /chat/completions。

https://api.deepseek.com

Anthropic Messages

原生支援

同一把 Key,走 Anthropic 形態路徑。Claude Code 等工具改 ANTHROPIC_BASE_URL 就能接。

https://api.deepseek.com/anthropic

OpenAI Responses

不原生支援

沒有官方 /v1/responses。Codex 等只講 Responses 的用戶端需要本機橋,例如 Moon Bridge。

需要橋接 → /guides/codex

要用 Codex 接 DeepSeek?

Codex 講 OpenAI Responses,DeepSeek 講 Chat Completions 和 Anthropic Messages。Moon Bridge 夾在中間:Codex → Responses → Moon Bridge → DeepSeek。

Codex + Moon Bridge 教學

How to build a DeepSeek AI Agent

Most setups follow the same pattern: get API access, pick an agent tool, paste your key, then run a small coding task to confirm everything works.

  1. Step 1

    Get DeepSeek API access or free credits

    Create an account on the DeepSeek Platform, generate an API key, and check whether free credits or a free tier is available in your region. Keep the key private — you will paste it into your agent config.

  2. Step 2

    Choose an agent tool

    Pick a coding agent that fits your workflow. Popular options on this site include Codex, Claude Code and OpenClaw — each has a dedicated setup guide.

  3. Step 3

    Configure the API key and run your first task

    Follow the guide for your tool: set the DeepSeek endpoint, model name and API key in its config file or environment variables. Restart the agent, then try a simple task such as fixing a test or adding a small feature.

DeepSeek AI Agent guides by tool

DeepSeek AI Agent for Codex

Codex can run against DeepSeek when the stack supports OpenAI-compatible API routing — often via Moon Bridge or a switching tool. Our guide walks through endpoints, model IDs and common errors.

DeepSeek Agent setup for Codex

DeepSeek AI Agent for Claude Code

Claude Code accepts custom provider settings. You can point it at DeepSeek with environment variables in settings.json, or use CC Switch if you prefer a visual setup.

Claude Code with DeepSeek API

DeepSeek AI Agent for OpenClaw

OpenClaw supports custom model providers during onboarding. The guide covers provider config, Skills, MCP and chat-platform integration with DeepSeek as the model backend.

OpenClaw DeepSeek API guide

DeepSeek Agent 能幫你做什麼?

你說目標,Agent 動手完成

DeepSeek Agent
幫我生成一個市場分析的網站

規劃頁面:首頁、行業概覽、競品對比、數據圖表

腳手架 Next.js 專案,安裝 Recharts

編寫頁面元件,接入示例市場數據

啟動 dev server…… localhost:3000 可預覽

使用 DeepSeek Agent 的一整天

  1. 終端機 · Claude Code

    這個測試掛了,幫我修

    Agent 讀了報錯堆疊、定位到斷言失敗、改了測試檔、跑 pytest 直到全綠——你沒打開過檔案樹。

  2. 終端機 · Codex

    給支付模組加一個退款介面

    Agent 掃了現有路由結構、寫了 handler 和單測、在終端機裡跑通整合測試——你只看最後的 diff。

  3. OA · OpenClaw

    彙總今天 GitHub 上我倉庫的 PR 評論

    Agent 調 GitHub API 拉資料、按優先級排好、在 OA 裡推送一條摘要——你手機上看完就行。

DeepSeek AI Agent vs ChatGPT, Claude and Gemini

ChatGPT, Claude and Gemini are strong general-purpose assistants. A DeepSeek AI agent is a different idea: you keep a coding-agent shell (Codex, Claude Code, OpenClaw, etc.) and use the DeepSeek API as the model backend. That matters when you want agent workflows — not just chat — at lower API cost.

PlatformAgent supportAPI for coding agentsTypical cost
DeepSeek AI AgentWorks with Codex, Claude Code, OpenClaw + 20 agentsOpenAI-compatible DeepSeek APIFree credits / low API pricing
ChatGPT / Codex (default)Codex, Copilot CLI (OpenAI models only)OpenAI API — usage-basedSubscription + API fees
Claude (default)Claude Code (Anthropic models only)Anthropic API — usage-basedPro plan + API fees
Gemini (default)Limited agent toolingGoogle AI APIFree tier + paid tiers

DeepSeek 支援的 Agent 清單

找到你想使用的 Agent——Codex、Claude Code、OpenClaw、Hermes,查看指南配置你的 DeepSeek Agent。

  • Claude Code

    執行在終端機內的 AI 程式助手。

    查看指南
  • Codex

    OpenAI 的程式 Agent。

    查看指南
  • Hermes

    開源自我進化 AI 助手。

    查看指南
  • OpenClaw

    開源個人 AI 助手,可接入飛書、微信等聊天工具,並透過 Skill 擴展能力。

    查看指南
  • Pi

    極簡且高度可擴展的終端機編碼框架,支援樹狀會話和自訂供應商。

    查看指南
  • WorkBuddy / CodeBuddy

    支援自訂 OpenAI 相容模型設定的 AI Agent 與程式助手。

    查看指南

想進階使用 DeepSeek Agent?

瀏覽 Skill 市場發現工作流與整合,或透過常用工具進一步客製你的 Agent。

常見問題

還有疑問?點開看看。

什麼是 DeepSeek?

+
DeepSeek 是位於杭州的 AI 實驗室,研發並以開放授權發佈大型語言模型。當前一代是 2026 年 4 月發佈的 DeepSeek V4:V4 Pro 面向硬推理與 Agent 程式,V4 Flash 面向高吞吐、低成本場景。兩者共享百萬 token 上下文,並原生提供 OpenAI Chat Completions 與 Anthropic Messages 兩套相容介面。

DeepSeek 原生支援哪些 API 協議?

+
DeepSeek 原生支援 OpenAI Chat Completions(https://api.deepseek.com)和 Anthropic Messages(https://api.deepseek.com/anthropic)。它不提供官方的 OpenAI Responses(/v1/responses)。像 Codex CLI 這類只講 Responses 的工具,需要 Moon Bridge 等橋接層。

DeepSeek 支援 OpenAI Responses API 嗎?

+
不支援。DeepSeek 沒有官方 /v1/responses 端點。請直接使用 Chat Completions 或 Anthropic Messages;若用戶端只認 Responses(例如 Codex),需要本機協議橋把請求轉換成 DeepSeek 能理解的格式。

大語言模型和 Agent 有什麼區別?

+
大語言模型根據提示詞生成文字;Agent 在 LLM 外包了一層工具呼叫、記憶和執行的循環,可以執行命令、改檔案、完成多步驟任務,而不只是聊天回覆。

我需要 Agent 嗎,還是普通對話模型就夠了?

+
快速問答或起草文字,對話模型就夠。當你需要「動手幫忙」——寫功能、重構倉庫、自動化流程,或在編輯器、終端機、聊天 App 裡持續執行任務時,才需要 Agent。

為什麼用 DeepSeek 驅動這些 Agent?

+
DeepSeek 在推理和程式設計場景表現強,價格也低,還能拿到免費額度。Codex、Claude Code、OpenClaw、Hermes 等大多支援透過設定 API Key 和端點,把預設模型換成 DeepSeek,所以你能用很低甚至零成本跑同樣的工作流。

DeepSeek API 真的免費嗎?額度從哪來?

+
可以透過免費額度或第三方免費渠道拿到與 DeepSeek 相容的接口——例如平台不時發放的贈送額度,以及一些提供免費層的聚合渠道。額度和可用性會隨時間變化,接入前請以渠道方的最新說明為準。

具體怎麼把 DeepSeek 接到我的工具上?

+
在下方列表找到你的工具,開啟對應的接入指南。大多數只需取得一個 DeepSeek API Key(含免費渠道的 Key),並在工具的設定檔或環境變數裡填寫幾項參數即可。

配置太複雜,有沒有更簡單的辦法?

+
有。我們單獨整理了一個「切換模型工具」頁面,用圖形化工具或轉發層幫你快速把 Agent 指向 DeepSeek,不用手改 JSON,也方便在多個模型之間來回切換。見本站「工具」頁。