DeepSeek logo

DeepSeek V3.1 Terminus

deepseek/deepseek-v3.1-terminusChat
  • Function calling
  • Reasoning

DeepSeek, released Sep 2025, updated Sep 2025

DeepSeek V3.1 Terminus (deepseek/deepseek-v3.1-terminus) is a 684.5B-parameter chat model from DeepSeek with a 163,840-token context window and 147,456 max output tokens, priced at $0.27/1M input and $1.00/1M output tokens. Available via the haimaker.ai OpenAI-compatible API.

API usage

from openai import OpenAI

client = OpenAI(
    base_url="https://api.haimaker.ai/v1",
    api_key="YOUR_API_KEY",
)

response = client.chat.completions.create(
    model="deepseek/deepseek-v3.1-terminus",
    messages=[
        {"role": "user", "content": "Hello, how are you?"}
    ],
)

print(response.choices[0].message.content)

Replace YOUR_API_KEY with a key from your haimaker account. Get an API key or read the developer docs.

Benchmarks

DeepSeek V3.1 Terminus scores 66 of 100 on the haimaker intelligence index, 32nd of 53 open-weight models, from 10 benchmarks.

Coding
BenchmarkSourceScore
Aider PolyglotModel card76.1%
LiveCodeBenchModel card74.9%
SWE-bench VerifiedModel card68.4%
Terminal-Bench 2.xModel card36.7%
Agents and tools
BenchmarkSourceScore
BrowseCompModel card38.5%
Chat
BenchmarkSourceScore
LMArena TextIndependent1416.0 Elo
Knowledge
BenchmarkSourceScore
AIME 2025-2026Model card88.4%
GPQA DiamondModel card80.7%
Humanity's Last ExamModel card21.7%
MMLU-ProModel card85%

Sources use different harnesses and settings, so treat these as a starting point. Compare intelligence and price across models

Overview

DeepSeek's V3 model with a Mixture-of-Experts architecture and strong multilingual and reasoning capabilities.

Specifications

ModeChat
SupportsFunction calling, Reasoning
Not supportedVision, Web search, URL context
LicenceMIT
ArchitectureDeepseekV3ForCausalLM
Model typedeepseek_v3
Base modeldeepseek-ai/DeepSeek-V3.1-Base
Librarytransformers

Frequently asked questions

What is the context window of DeepSeek V3.1 Terminus?

DeepSeek V3.1 Terminus (deepseek/deepseek-v3.1-terminus) has a 163,840-token context window and supports up to 147,456 output tokens per request.

How much does DeepSeek V3.1 Terminus cost?

DeepSeek V3.1 Terminus is priced at $0.27 per 1M input tokens and $1.00 per 1M output tokens when accessed via the haimaker.ai OpenAI-compatible API.

What features does DeepSeek V3.1 Terminus support?

DeepSeek V3.1 Terminus supports function calling, reasoning.

How do I use DeepSeek V3.1 Terminus via API?

Send requests to https://api.haimaker.ai/v1/chat/completions with model "deepseek/deepseek-v3.1-terminus" using any OpenAI-compatible SDK. Authentication uses a Bearer API key from https://app.haimaker.ai.

Model card

Written by the model’s publisher on Hugging Face. Shown without its logos and badges.

Introduction

This update maintains the model's original capabilities while addressing issues reported by users, including:

  • Language consistency: Reducing instances of mixed Chinese-English text and occasional abnormal characters;
  • Agent capabilities: Further optimizing the performance of the Code Agent and Search Agent.
BenchmarkDeepSeek-V3.1DeepSeek-V3.1-Terminus
Reasoning Mode w/o Tool Use
MMLU-Pro84.885.0
GPQA-Diamond80.180.7
Humanity's Last Exam15.921.7
LiveCodeBench74.874.9
Codeforces20912046
Aider-Polyglot76.376.1
Agentic Tool Use
BrowseComp30.038.5
BrowseComp-zh49.245.0
SimpleQA93.496.8
SWE Verified66.068.4
SWE-bench Multilingual54.557.8
Terminal-bench31.336.7

The template and tool-set of search agent have been updated, which is shown in assets/search_tool_trajectory.html.

How to Run Locally

The model structure of DeepSeek-V3.1-Terminus is the same as DeepSeek-V3. Please visit DeepSeek-V3 repo for more information about running this model locally.

For the model's chat template other than search agent, please refer to the DeepSeek-V3.1 repo.

Here we also provide an updated inference demo code in the inference folder to help the community get started with running our model and understand the details of model architecture.

NOTE: In the current model checkpoint, the parameters of self_attn.o_proj do not conform to the UE8M0 FP8 scale data format. This is a known issue and will be corrected in future model releases.

License

This repository and the model weights are licensed under the MIT License.

Citation

@misc{deepseekai2024deepseekv3technicalreport,
      title={DeepSeek-V3 Technical Report}, 
      author={DeepSeek-AI},
      year={2024},
      eprint={2412.19437},
      archivePrefix={arXiv},
      primaryClass={cs.CL},
      url={https://arxiv.org/abs/2412.19437}, 
}

Contact

If you have any questions, please raise an issue or contact us at service@deepseek.com.