Speed
Output tokens / second
Custom pricing for production workloads
DeepSeek-V3.1 is the latest advanced LLM with improved architecture and performance across various natural language tasks.
DeepSeek V3.1 is a large hybrid reasoning model supporting both thinking and non-thinking modes.
deepseek/deepseek-reasoner-v3.1-terminushttps://api.aimlapi.com/v1DeepSeek-V3.1-Terminus is described as an update to DeepSeek-V3.1 that maintains the model’s original capabilities while addressing user-reported issues, including language consistency and agent performance.
It is presented as a large hybrid reasoning model that supports both thinking and non-thinking modes.
| Developer | DeepSeek AI |
|---|---|
| Model ID | deepseek/deepseek-reasoner-v3.1-terminus |
| Release Date | August 27, 2025 |
| Context Window | 128,000 tokens (~128K) |
| Max Output Tokens | 8,000 tokens |
| Modalities | Text → Text |
| Capabilities | file input, streaming, structured (JSON schema) output, tool/function calling |
Language consistency
The model is said to reduce CN/EN mix-ups and random characters in outputs.
Agent improvements
DeepSeek states that Code Agent and Search Agent performance were further optimized.
More stable outputs
The release notes describe the model as delivering more stable and reliable outputs across benchmarks than the previous version.
Hybrid reasoning
The model supports both thinking and non-thinking modes within a single architecture.
Coding workflows
The model is positioned for coding-related tasks through improved Code Agent performance and better tool use.
Search and research tasks
The model is positioned for Search Agent workflows and structured tool calling.
Agentic workflows
The model is described as suitable for agentic workflows that benefit from stronger search and tool-use performance.
DeepSeek-V3.1
DeepSeek-V3.1-Terminus is described as an update to DeepSeek-V3.1 with improved language consistency and agent capabilities.
Sources: https://api-docs.deepseek.com/news/news250821/ · https://huggingface.co/deepseek-ai/DeepSeek-V3.1-Terminus · https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/maas/deepseek/deepseek-v31
DeepSeek V3.1 is documented as suited to advanced text generation. It is also documented for reasoning, coding, and tool use, including agentic workflows such as code agents and search agents.
It is documented as useful for code assistance. The model is also described as suited to coding and structured programming tasks.
It is documented as useful for search tasks and search-agent workflows. DeepSeek’s release note says it has stronger multi-step reasoning for complex search tasks, and the model is described as optimized for Search Agent performance.
It is documented as useful for enterprise RAG and conversational AI. One provider listing explicitly includes both as suitable uses for DeepSeek V3.1 Terminus.
See how DeepSeek V3.1 compares in generation speed and latency. Data retrieved Nov 3, 2026.
Output tokens / second
Compare 15 models available on AI/ML API across 5 independent benchmarks.
Expert-written questions across academic subjects.
Graduate-level science questions written to resist web search.
Reasoning across long documents of about 100k tokens.
Following precise instructions about the shape of the answer.
Customer support agent tasks with tool calls.
| Usage | Price | Unit |
|---|---|---|
| Input | $0.2857 | 1M tokens |
| Output | $1.06 | 1M tokens |
| Cached input | $0.2857 | 1M tokens |
Prices from the AI/ML API price list, checked on Nov 4, 2026.
AI/ML API input and output rates for 5 models, per million tokens.
| Model | Input | Output |
|---|---|---|
| $0.2857 | $1.06 | |
| $0.3 | $1.2 | |
| $0.3 | $1.2 | |
| $0.44 | $1.32 | |
| $0.39 | $1.56 |
Give your agent the model details, code and documentation.
export AIMLAPI_KEY="8f2b4c7d9a1e6b3f…"curl 'https://api.aimlapi.com/v1/chat/completions' \
-H "Authorization: Bearer $AIMLAPI_KEY" \
-H 'Content-Type: application/json' \
-d '{
"model": "deepseek/deepseek-reasoner-v3.1-terminus",
"messages": [
{
"role": "user",
"content": "Write a haiku about the ocean."
}
]
}'import os
import requests
headers = {
"Authorization": f"Bearer {os.environ['AIMLAPI_KEY']}",
"Content-Type": "application/json",
}
payload = {
"model": "deepseek/deepseek-reasoner-v3.1-terminus",
"messages": [
{
"role": "user",
"content": "Write a haiku about the ocean."
}
]
}
response = requests.post("https://api.aimlapi.com/v1/chat/completions", headers=headers, json=payload, timeout=120)
response.raise_for_status()
print(response.json())const response = await fetch("https://api.aimlapi.com/v1/chat/completions", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.AIMLAPI_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"model": "deepseek/deepseek-reasoner-v3.1-terminus",
"messages": [
{
"role": "user",
"content": "Write a haiku about the ocean."
}
]
}),
});
if (!response.ok) throw new Error(`HTTP ${response.status}`);
console.log(await response.json());DeepSeek V3.1 has a 128,000 tokens context window and can return up to 8,000 tokens.
DeepSeek V3.1 takes text as input and returns text.
Use deepseek/deepseek-reasoner-v3.1-terminus as the model id. Requests go to https://api.aimlapi.com/v1/chat/completions.
DeepSeek V3.1 became available on August 28, 2025.
DeepSeek V3.1 costs $0.2857 input and $1.06 output per 1M tokens on AI/ML API, billed as you go with no subscription.
Yes, DeepSeek V3.1 can stream responses as they are generated.
DeepSeek V3.1 was built by DeepSeek.