Back to Models

DeepSeek V3.1 Terminus

deepseekdeepseek/deepseek-v3.1-terminus

DeepSeek V3.1 Terminus β€” refined variant of V3.1 optimized for tool calling and structured generation tasks.

DeepSeek-V3.1-Terminus, released September 22, 2025, is a targeted refinement of V3.1 rather than a new architecture. It keeps the same 671B-total / 37B-active MoE backbone, 128K context, and hybrid-reasoning surface (deepseek-chat non-thinking vs deepseek-reasoner thinking modes). The release focuses on two engineering fixes reported by users: reduced Chinese-English language mixing and fewer spurious characters, plus measurable agentic improvements in Code Agent and Search Agent performance.

For TheRouter operators the practical value is stability: Terminus reduces the failure modes that previously required post-processing or prompt engineering. Agentic benchmarks show consistent gains β€” SWE-bench Verified 68.4 (+2.4), SWE-bench Multilingual 57.8 (+3.3), Terminal-bench 36.7 (+5.4), BrowseComp 38.5 (+8.5) β€” while reasoning-only benchmarks (GPQA-Diamond, HLE) move modestly. Pricing, context window, and API surface remain identical to V3.1. The model is MIT-licensed for code and permissively licensed for weights; weights are available on Hugging Face, and inference stacks (SGLang, vLLM, LMDeploy) already support it.

Best for
  • β€’ Production agent workflows that previously suffered from language mixing or unstable tool calls β€” Terminus measurably reduces both failure classes
  • β€’ Cost-sensitive coding agents that need reliable JSON/function calling and SWE-bench-grade performance without paying frontier prices
  • β€’ Multilingual customer-facing chat where accidental language switching is unacceptable
  • β€’ Self-host fallback for compliance or cost β€” same weights and tokenizer as the hosted path
Reach for something else if
  • β€’ Vision or multimodal inputs β€” V3.1-Terminus is text-only; route images to Claude Opus 4.7, Amazon Nova 2 Lite, or GPT-5o
  • β€’ Ultra-deep math or research where V3.2-Speciale or V4-Pro already exist and are preferred
  • β€’ Production paths that should already be on V4 β€” V4-Flash / V4-Pro launched April 2026 and are the current default
Context Length
131K
Max Output
33K
Input Priceper 1M tokens
$0.2916/ 1M tokens
Output Priceper 1M tokens
$1.08/ 1M tokens

Modalities

text→text

Pricing Breakdown

TypeRate
Input$0.2916 / 1M tokens
Output$1.08 / 1M tokens

Supported Parameters

temperaturemax_tokenstop_ptoolstool_choiceresponse_formatstop

Specifications

Release date2025-09-22api-docs.deepseek.com β†—verified
Architecture671B-total / 37B-active MoE (unchanged from V3.1); same tokenizer and chat template; targeted post-training for language consistency and agent reliabilityapi-docs.deepseek.com β†—verified
Context window128K tokensapi-docs.deepseek.com β†—verified
Hybrid modesdeepseek-chat β†’ non-thinking mode; deepseek-reasoner β†’ thinking mode (toggle via API or UI DeepThink button). Tool calls in reasoner mode are automatically rerouted to chat mode.venturebeat.com β†—verified
License β€” codeMIThuggingface.co β†—verified
License β€” weightsDeepSeek Model License (commercial use permitted)huggingface.co β†—verified
Supported inference backendsSGLang, vLLM, LMDeploy, TensorRT-LLM, LightLLM, DeepSeek-Infer; FP8 + BF16; NVIDIA + AMD GPUs; Huawei Ascend via MindIEhuggingface.co β†—verified
SuccessorDeepSeek-V3.2 (Dec 2025) β†’ V3.2-Speciale (temporary) β†’ V4-Flash / V4-Pro (Apr 2026)verified

Benchmarks

BenchmarkDistributionScoreSource
SWE-bench Verified
Pass@1; +2.4 over V3.1 (66.0)
68.4%venturebeat.com β†—
SWE-bench Multilingual
Pass@1; +3.3 over V3.1 (54.5)
57.8%venturebeat.com β†—
Terminal-bench
+5.4 over V3.1 (31.3)
36.7%venturebeat.com β†—
BrowseComp
+8.5 over V3.1 (30.0)
38.5%venturebeat.com β†—
SimpleQA
+3.4 over V3.1 (93.4)
96.8%venturebeat.com β†—
MMLU-Pro
+0.2 over V3.1 (84.8)
85.0%sourceforge.net β†—
GPQA-Diamond
+0.6 over V3.1 (80.1)
80.7%sourceforge.net β†—
Humanity's Last Exam
+5.8 over V3.1 (15.9)
21.7%venturebeat.com β†—

API Usage Examples

Use the global api.therouter.ai endpoint shown below for new integrations; the legacy China accelerated endpoint is retired.

cURL
curl https://api.therouter.ai/v1/chat/completions   -H "Content-Type: application/json"   -H "Authorization: Bearer $THE_ROUTER_API_KEY"   -d '{
    "model": "deepseek/deepseek-v3.1-terminus",
    "messages": [
      {"role": "user", "content": "Summarize the key points from this input."}
    ]
  }'

Chat completion

cURL
curl https://api.therouter.ai/v1/chat/completions \
  -H "Authorization: Bearer $THEROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"deepseek/deepseek-v3.1-terminus","messages":[{"role":"user","content":"Hello"}]}'

More from deepseek

Similar models

Cross-provider sibling models

News & changes

2025-09-22

DeepSeek releases V3.1-Terminus β€” language consistency & agent reliability fixes

Minor update to V3.1 that reduces CN/EN mixing and spurious characters while delivering measurable gains on SWE-bench, BrowseComp, and Terminal-bench. Same pricing and context window; aliases deepseek-chat and deepseek-reasoner now point to Terminus.

re-authored by TheRouterapi-docs.deepseek.com β†—

Frequently asked

Is V3.1-Terminus a new model or just a patch?

It is a refinement checkpoint of the same V3.1 architecture. DeepSeek performed additional post-training focused on language consistency and agent reliability. Weights are published separately on Hugging Face as DeepSeek-V3.1-Terminus.

Should I migrate from V3.1 to V3.1-Terminus?

Yes for any production workload that previously experienced language mixing or unstable tool calling. The upgrade is drop-in (same model ID surface via TheRouter) and carries no additional cost. New projects should evaluate V4-Flash / V4-Pro first.

re-authored by TheRouterapi-docs.deepseek.com β†—
Fact ledger β€” every claim on this page traces here
sourceURLretrieved
Release dateapi-docs.deepseek.com β†—2026-05-25verified
Architectureapi-docs.deepseek.com β†—2026-05-25verified
Context windowapi-docs.deepseek.com β†—2026-05-25verified
Hybrid modesventurebeat.com β†—2026-05-25verified
License β€” codehuggingface.co β†—2026-05-25verified
License β€” weightshuggingface.co β†—2026-05-25verified
Supported inference backendshuggingface.co β†—2026-05-25verified
Successorβ€”β€”verified
SWE-bench Verifiedventurebeat.com β†—2026-05-25verified
SWE-bench Multilingualventurebeat.com β†—2026-05-25verified
Terminal-benchventurebeat.com β†—2026-05-25verified
BrowseCompventurebeat.com β†—2026-05-25verified
SimpleQAventurebeat.com β†—2026-05-25verified
MMLU-Prosourceforge.net β†—2026-05-25verified
GPQA-Diamondsourceforge.net β†—2026-05-25verified
Humanity's Last Examventurebeat.com β†—2026-05-25verified
DeepSeek releases V3.1-Terminus β€” language consistency & agent reliability fixesapi-docs.deepseek.com β†—2026-05-25verified
Is V3.1-Terminus a new model or just a patch?api-docs.deepseek.com β†—2026-05-25to verify
Should I migrate from V3.1 to V3.1-Terminus?api-docs.deepseek.com β†—2026-05-25to verify
Help & contact