DeepSeek Guides by Topic

Start with the job you need to complete: choose a coding agent, build against the API, use reasoning features correctly, operate or run a model locally, or compare cost and model fit.

Coding agents

Agents & Coding Tools

Choose DeepSeek-first coding agents, then use the documented Alibaba Cloud Model Studio routes when an ordinary API key must power Codex, OpenCode, Cursor, Claude Code, OpenClaw, or Hermes.

Compare the four primary routes
Other Agent Guides (46)

OpenCode, OpenClaw, Deep Code, GitHub Copilot, nanobot, Kilo Code, Pi, Crush, AstrBot, Langcli, and related support guides are available below.

How to Build an Always-On AI Agent That Survives RestartsFive GitHub Agent Skill Repositories and When to Use Each (November 2026)How AI Coding Changes the Work of Senior EngineersHow to Install DeepSeek Bot as a Personal Assistant (November 2026)DeepSeek Bot Personal Assistant: API Key Setup and Connection Fixes (November 2026)How to Build a Personal Assistant Team with DeepSeek Bot (November 2026)DeepSeek Bot Personal Assistant: How to Fix Web Search (November 2026)DeepSeek Bot Personal Assistant: Memory and Backup Guide (November 2026)How to Set Up DeepSeek SuperAgent on GitHub: From Issue to Pull Request (November 2026)DeepSeek SuperAgent on Windows: WSL vs Native Windows Setup (November 2026)DeepSeek SuperAgent Security: Permissions, Observe Mode and Safe Setup (November 2026)DeepSeek Harness (DSH) Super-agent Puts an AI to Work on a Real GitHub Repo.Inside DeepSeek's Super-agent: Why the Ticket Outlives the Chat.DeepSeek SuperAgent: GitHub, Setup, Model Providers & CostsDeepSeek SuperAgent Architecture: How Its Open-Source Coding Agent WorksDeepSeek SuperAgent Explained: A Coding Agent That Works Beyond a Single ChatHow dsh-superagent works: five designs behind a proactive coding agentDeepSeek SuperAgent Kernel: A Scenario AnalysisWhy DeepSeek Calls It Super-agent: The Design Choices Behind the PrototypeOpenBot explained: run Codex, Claude Code, and Grok in one appDeepSeek Harness Sidebar Too Limited? Inside dsh-soup, a Five-Part Replacement (Nov 2026)Super Kanban Turns DeepSeek Harness Sessions Into a Task Board (Nov 2026)Inside pi's Tool System: Four Packages, Six States and One Contract (Nov 2026)Karpathy Skills on GitHub: Four Principles for Better AI CodingGetting Started With DeepSeek Harness (DSH): How to Safely Choose and Install PluginsHow to analyze DeepSeek Harness context usage with dsh-contextREA reverse engineering agent: design, cases, and limitsHow to use a personal agent on DeepSeek's open-source foundationSet Up DeepSeek in GitHub Copilot ChatSet Up GitHub Copilot CLI With DeepSeekMove Copilot Screenshot Workflows to Native DeepSeek V4.1 FlashFix the DeepSeek Copilot CLI reasoning_content 400 ErrorHow to use DeepSeek Search and Fetch in Hermes AgentSet Up Deep Code CLI With DeepSeekAgent Skills for Deep CodeSet Up nanobot With DeepSeek V4 ProSet Up OpenCode With DeepSeek V4 ProConfigure Crush for DeepSeek V4 Pro and FlashConfigure Pi for DeepSeek V4 ReasoningConfigure WorkBuddy and CodeBuddy for DeepSeek V4Set Up Kilo Code With DeepSeek V4 Pro or FlashConfigure Oh My Pi for DeepSeek Thinking ModeSet Up OpenClaw With DeepSeek V4 Pro or FlashConnect DeepSeek OpenClaw to WeChat and FeishuSet Up AstrBot With DeepSeekDeepSeek Langcli Guide: official install, LangRouter flow, and routing tradeoffs

API & SDK

Build against DeepSeek with Python, Node.js, OpenAI- or Anthropic-compatible APIs, request history, model discovery, and balance checks.

Updated 2026-10-11

How to Use DeepSeek in Python — From Zero to Production

Step-by-step guide to calling native-multimodal DeepSeek V4.1 Flash from Python: configure the OpenAI SDK, stream responses, send images, use tools, and manage tokens.

Read guide

Updated 2026-10-11

How to Use DeepSeek in Node.js — TypeScript, Streaming, Tool Use

Production-ready tutorial for calling native-multimodal DeepSeek V4.1 Flash from Node.js and TypeScript using the OpenAI SDK, including streaming and tool use.

Read guide

Updated 2026-11-26

DeepSeek V4.1 Flash

Find the current DeepSeek V4.1 Flash model ID, compare official API token prices, and copy a minimal curl request. Learn how to send text, screenshots and PDFs.

Read guide

Updated 2026-11-20

Make Your First DeepSeek V4.1 Flash API Call

Send a text prompt to DeepSeek V4.1 Flash with curl. Use the official API key, endpoint and model ID, then find the answer and token usage in the JSON response.

Read guide

Updated 2026-11-20

How to Send a Screenshot to DeepSeek V4.1 Flash

Send a local PNG or a public image URL to DeepSeek V4.1 Flash. Learn the image_url message format, check the visible evidence and handle unreadable text.

Read guide

Updated 2026-11-20

DeepSeek V4 Model Names Explained: Pro, Flash, 0813 and 1017

Identify the DeepSeek V4 family, the Pro and Flash variants, the 0813 and 1017 releases, and the exact model names accepted by DeepSeek’s API.

Read guide

Updated 2026-11-20

How to Check for DeepSeek V4.1 Pro API Access

Check whether your API endpoint lists DeepSeek V4.1 Pro, identify the version behind a Pro label and distinguish a missing model from an authentication error.

Read guide

Updated 2026-11-17

How to Use GLM-5.3-Flash with Python: Training, API, or Local Inference?

A practical Python guide to using GLM-5.3-Flash. Learn the difference between training, fine-tuning, API inference, and local model serving, then continue to the GLM plan guide.

Read guide

Updated 2026-10-11

DeepSeek OpenAI vs Anthropic API Routing

DeepSeek-first routing guide for choosing between the OpenAI-format and Anthropic-format DeepSeek endpoints, with model-name rules, migration deadlines, request examples, and verification checklists for coding agents.

Read guide

Updated 2026-10-11

Replay Full History With DeepSeek Chat Completions

Official DeepSeek guide to multi-round chat history: `/chat/completions` is stateless, every follow-up call must resend prior turns, and the assistant response from the last round belongs in `messages` before the next user question.

Read guide

Updated 2026-07-01

Create a DeepSeek Chat Completion

Official DeepSeek Create Chat Completion reference for API users: required `messages`, supported message roles, streaming SSE chunks, `finish_reason` meanings, and how to read usage and tool-call responses safely.

Read guide

Updated 2026-11-20

How to list DeepSeek API models and read their capabilities

List model IDs with DeepSeek's GET /models endpoint. Read optional token limits and input modalities, then check which release a Flash or Pro ID serves.

Read guide

Updated 2026-10-11

How to read DeepSeek's User Balance API before your workflows run out of budget

Official DeepSeek guide to `GET /user/balance`: what `is_available` means, how `granted_balance` differs from `topped_up_balance`, which currencies the docs list, and how to use the endpoint for budget checks without confusing it with token pricing.

Read guide

Reasoning & Model Features

Use thinking mode, tool calls, reasoning content, context caching, structured output, FIM, and reusable prompt patterns correctly.

Updated 2026-10-30

DeepSeek-R1: Powerful on Hard Problems, Expensive on Everything Else

A guide to the original DeepSeek-R1 reasoning model, its reinforcement learning, distilled models, benchmarks, and reasoning-token tradeoffs.

Read guide

Updated 2026-06-11

DeepSeek Thinking Mode & Tool Calls in Multi-Turn Apps

Official DeepSeek guide to thinking mode, reasoning effort, `reasoning_content`, tool-call replay rules, and multi-turn handling for OpenAI-format and Anthropic-format V4 apps.

Read guide

Updated 2026-11-26

DeepSeek Thinking Mode Parameters: stop tuning knobs that the model ignores

How to disable thinking on the DeepSeek API, set reasoning effort for Flash and Pro, and handle reasoning history when a tool is called.

Read guide

Updated 2026-10-11

DeepSeek Context Caching and Prefix Reuse

Official DeepSeek context caching guide for API users: when prefixes persist, why second requests can still miss, how `prompt_cache_hit_tokens` works, and how to structure repeated prompts so DeepSeek V4 Pro or Flash actually gets cheaper.

Read guide

Updated 2026-06-27

DeepSeek JSON Output guide: use the official contract, not wishful prompting

Official DeepSeek JSON Output guide for structured responses: set `response_format` to `json_object`, say "json" in the prompt, give an example schema, cap `max_tokens` sensibly, and watch for occasional empty-content returns.

Read guide

Updated 2026-06-29

Use DeepSeek Chat Prefix Completion (Beta)

Official DeepSeek Chat Prefix Completion beta guide: the last message must be an assistant message with `prefix: true`, the Beta route requires `https://api.deepseek.com/beta`, and `stop` helps keep code-only completions clean.

Read guide

Updated 2026-06-29

Use DeepSeek FIM Completion With Prefix and Suffix

Official DeepSeek FIM Completion beta guide: send a prefix and optional suffix to fill in the middle, use `https://api.deepseek.com/beta`, respect the 4K max-token cap, and understand where Continue fits.

Read guide

Updated 2026-10-13

DeepSeek Temperature Parameter Guide: use the official range for the actual task

DeepSeek temperature settings for non-thinking mode: default 1.0, coding 0.0, translation 1.3, creative writing 1.5. Thinking mode ignores temperature.

Read guide

Updated 2026-07-01

DeepSeek Reasoning Model Inputs and Parameter Limits

Official DeepSeek reasoning-model guide for API users: `max_tokens` counts the CoT, unsupported sampling parameters are ignored or rejected, and replaying `reasoning_content` back into input messages returns a 400 error.

Read guide

Updated 2026-10-11

DeepSeek Tool-Call Python Example

Use DeepSeek's official Python tool-call sample to build function calling with thinking mode, structured tool schemas, multi-step execution, and safe replay rules.

Read guide

Updated 2026-10-11

DeepSeek reasoning_content Output and Replay

Study DeepSeek's official reasoning_content output transcript to understand how thinking mode, tool calls, and final answers change across turns without breaking replay logic.

Read guide

Updated 2026-10-11

DeepSeek Non-Streaming Thinking Mode Sample

Read DeepSeek's official non-streaming thinking-mode sample to understand the two-turn request pattern, how `reasoning_content` is returned, and why the API ignores it in ordinary follow-up turns.

Read guide

Updated 2026-10-11

DeepSeek Streaming Thinking Mode Sample

Use DeepSeek's official streaming thinking-mode sample to understand how `delta.reasoning_content` and `delta.content` arrive, how to accumulate them safely, and how the second turn is structured.

Read guide

Updated 2026-10-11

Use the Official DeepSeek Prompt Library

DeepSeek-first guide to the official Prompt Library: what the first-party page actually is, how to mine reusable patterns, how to adapt examples safely, and how to connect prompt experiments back to real V4 workflows.

Read guide

Updated 2026-11-13

What Is Reverse Prompt Engineering? A Practical Guide With Examples

Learn what reverse prompt engineering means, how to infer and test prompts from text or images, and why an output cannot prove the original prompt.

Read guide

Operations & Local Deployment

Migrate model names, diagnose API failures, manage concurrency, verify official updates, and run DeepSeek V4 Flash or GGUF builds locally.

Explore the DeepInfer deployment topic

Updated 2026-10-23

vLLM, SGLang or DeepInfer: A Practical Guide to DeepSeek Inference Deployment

Compare vLLM 0.32.0, SGLang 0.5.22 and DeepInfer for DeepSeek deployment: hardware, prefix reuse, online serving and offline inference. Checked October 23, 2026.

Read guide

Updated 2026-10-23

DeepInfer hardware requirements and deployment limits

Check DeepInfer's supported GPUs, NPUs and Linux requirements. Work out memory needs and see which parts of an online service you must build yourself.

Read guide

Updated 2026-10-23

How to build DeepInfer and run offline inference

Build DeepInfer on Linux and run the Flash-1017 offline example. Includes environment setup, checkpoint paths and checks for your first inference run.

Read guide

Updated 2026-10-11

DeepSeek Chat Deprecation Guide: Move to V4 Before July 24, 2026

Official DeepSeek migration guide for replacing deepseek-chat and deepseek-reasoner with DeepSeek V4 Pro or Flash across OpenAI SDK code, Claude Code, and production rollout checklists.

Read guide

Updated 2026-11-20

DeepSeek V4.1 Model ID Migration Guide

Map older Flash IDs to deepseek-flash, keep the active Pro ID, and verify your model list before changing an SDK, environment variable or agent configuration.

Read guide

Updated 2026-11-20

How to Use DeepSeek V4: Chat, API or Local Deployment

Choose official DeepSeek chat for a conversation, the hosted API for an application, or open weights for local inference. Find the starting point for each.

Read guide

Updated 2026-10-11

DeepSeek Rate Limit and user_id Isolation: production rules for V4 traffic

Official DeepSeek guide to concurrency limits, `user_id` isolation, 429 handling, keep-alive behavior, and production routing for multi-user V4 deployments.

Read guide

Updated 2026-10-11

DeepSeek V4 Concurrency Limits for Flash and Pro

Understand DeepSeek's official V4 concurrency contract: account-level limits of 2500 for Flash and 500 for Pro, what triggers HTTP 429, when `user_id` matters, and how to request higher capacity safely.

Read guide

Updated 2026-11-09

DeepSeek API Error Codes and Fixes

Official DeepSeek error-code guide for API users: what 400, 401, 402, 422, 429, 500, and 503 mean, which failures are request bugs versus account issues versus provider load, and how to recover without guessing.

Read guide

Updated 2026-10-12

How to Fix "the supported api model names are deepseek-v4-pro or deepseek-v4-flash, but you passed gpt-5.6-sol"

Your API key and base URL are fine — only the model name is wrong. Change model from gpt-5.6-sol, gpt-5.6-terra, or gpt-6.1-sol to deepseek-v4-pro / deepseek-v4-flash and restart your tool. Configs for Codex CLI, Claude Code, and the OpenAI SDK.

Read guide

Updated 2026-10-11

Migrate DeepSeek Chat and Reasoner Before July 24, 2026

Official DeepSeek migration guide for `deepseek-chat` and `deepseek-reasoner`: what retires on July 24, 2026, which aliases map to Flash today, when to move to V4 Pro, and how to update OpenAI and Anthropic-compatible clients safely.

Read guide

Updated 2026-10-11

Fix DeepSeek Chat and Reasoner 404 Errors

Troubleshoot legacy deepseek-chat and deepseek-reasoner failures after the announced retirement: choose a current model ID, check the endpoint, and validate your account's model list.

Read guide

Updated 2026-10-11

Replace deepseek-reasoner With V4 Flash Thinking Mode

Official DeepSeek migration guide for teams replacing `deepseek-reasoner`: how V4 Flash thinking mode maps to the legacy alias, when Pro is still worth it, and how to update OpenAI-compatible and Anthropic-compatible clients safely.

Read guide

Updated 2026-07-14

DeepSeek V4 Flash GGUF: Mac Setup Guide

Run DeepSeek V4 Flash GGUF on a Mac: check memory, choose a quantization, build a compatible llama.cpp runtime, launch it, and validate the output.

Read guide

Updated 2026-07-14

DeepSeek V4 Pro GGUF: Is There an Official Download?

DeepSeek publishes V4 Pro weights, but not an official GGUF file. See which files are official, how community quantizations differ, and what can run locally.

Read guide

Updated 2026-10-11

How to Verify DeepSeek Official X Updates

A DeepSeek-first workflow for tracking official X/Twitter updates when X is login-blocked: verify the homepage anchor, then confirm with DeepSeek docs, status, GitHub, and Hugging Face before publishing or sharing claims.

Read guide

Updated 2026-11-20

DeepSeek V4.1 Pro Release Timeline: Official Announcements and Updates

Trace DeepSeek's first V4.1 Pro mention, the September 14 routing decision and subsequent Flash releases. See which dates refer to Pro and what each source confirms.

Read guide

Comparisons, Pricing & Plans

Compare DeepSeek models and competitors, understand API pricing, and keep Coding Plan content aligned with real inventory.

Updated November 19, 2026

Qwen 4 Subscription and Coding Plan

Compare official Qwen4-Max access with our Multi-Model Coding Plan.

Read guide

MiniMax M4 API Pricing & Model Guide

Check M4 access, run your first API request, and compare official rates with MiniMax M3.1 Flash and DeepSeek V4.1 Flash.

Read guide

Updated 2026-11-10

DeepSeek vs ChatGPT: Models, Coding Plans and Subscription Prices (November 2026)

Compare DeepSeek and ChatGPT models, coding workflows, subscriptions, API pricing and data considerations with current plan availability.

Read guide

Updated 2026-11-24

GLM Coding Plan: GLM-5.3 vs Flash, Pricing and Limits

Choose between GLM-5.3 and Flash for coding or screenshot tasks. Compare gateway model IDs and points, Z.ai API prices, and GLM subscription limits.

Read guide

Updated 2026-11-19

Kimi Subscription and Coding Plan: Which Option Should You Choose?

Choose Kimi K3.1 Pro and Kimi K3.1 Pro High Speed for your coding workflow. Compare our Multi-Model Coding Plan with official Kimi membership and API access, including model IDs, points and setup.

Read guide

Updated 2026-11-19

Qwen4-Max Model Guide: API, Pricing and Benchmarks

Find the Qwen4-Max API model ID, 1M context window, supported inputs and Singapore API prices. Compare benchmark results and test it on your own workload.

Read guide

Updated 2026-11-17

Qwen4-Max Hands-On Test: Eight Builds, the Spec Sheet and a 1v1 Model Arena

We ran Qwen4-Max through eight builds: front-end demos, a physics failure, three animations, a six-level Sokoban harness and a 1v1 model arena.

Read guide

Updated 2026-11-19

DeepSeek V4 Pro vs V4.1 Flash for Coding

Choose between V4 Pro and V4.1 Flash for coding. Compare API model IDs, screenshot support and the cost of a patch with 10,000 input and 2,000 output tokens.

Read guide

Updated 2026-11-20

DeepSeek V4 vs V4.1: What Changed and Who Should Upgrade?

Decide what to change if you use V4 Flash, V4 Pro or local weights. See which Flash upgrades reached the API automatically and when a new checkpoint is needed.

Read guide

Updated 2026-10-11

DeepSeek V4 vs MiniMax 2.7

Detailed DeepSeek V4 vs MiniMax 2.7 comparison for developers: coding quality, agent workflows, API compatibility, local deployment options, context strategy, pricing risk, and when to use each model.

Read guide

Updated 2026-10-11

DeepSeek V4 vs Claude (Sonnet 4 / Opus 4)

In-depth comparison of DeepSeek V4 vs Anthropic Claude Sonnet 4 and Opus 4: coding, reasoning, long-context, agentic tool use, safety, and price. Includes when to use each and how to combine them.

Read guide

Updated 2026-11-10

DeepSeek V4 vs ChatGPT (GPT 5.4)

Compare DeepSeek V4 and ChatGPT for developer workflows, API migration, context, costs and product features, with GPT 5.4 as historical model context.

Read guide

Updated 2026-10-11

DeepSeek V4 vs Grok (Grok 4 / Grok Heavy)

DeepSeek V4 vs xAI Grok 4 and Grok Heavy: coding, reasoning, real-time knowledge, context window, pricing, and which one to pick for product teams versus power users.

Read guide

Updated 2026-11-26

DeepSeek V4.1 Flash Pricing: Cost for 1M Tokens & API Requests

DeepSeek V4.1 Flash API rates checked November 26, 2026: the cost of 1M tokens and 1,000 requests, with cache hit and input/output math.

Read guide

Updated 2026-11-09

DeepSeek V4 Pricing per Million Tokens

Use DeepSeek's official pricing contract to compare DeepSeek V4.1 Flash and Pro per 1M tokens, understand cache hit versus cache miss billing, and estimate when Flash or Pro makes sense for real workloads.

Read guide

Updated 2026-11-09

DeepSeek V4 Pro Coding Plan: Availability and Safer Buying Rules

Compare DeepSeek V4 Pro access through the official API and stocked Coding Plans. Understand endpoints, quotas, billing options, and service periods before buying.

Read guide