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 high-efficiency hybrid AI model optimized for fast, direct responses without deep reasoning, supporting extensive multimodal inputs and large context windows.
deepseek/deepseek-chat-v3.1https://api.aimlapi.com/v1DeepSeek-V3.1 is a next-generation hybrid language model built by DeepSeek AI. It runs on a Mixture-of-Experts (MoE) transformer architecture, which means it routes each inference request through a small, relevant subset of its parameters, keeping latency low and compute costs lean without sacrificing output quality.
The Chat variant specifically operates in non-thinking mode. Rather than working through multi-step reasoning chains, it returns direct, high-quality answers with minimal overhead. That design choice makes DeepSeek-V3.1 a natural fit for applications where speed is a first-class requirement: customer-facing chatbots, CI/CD code automation pipelines, real-time data extraction, and any agentic system calling external tools in a tight loop.
First-class support for structured function calls, code agents, and search agents. Build complex agentic pipelines without bolting on workarounds.
MoE layers activate only the parameters relevant to each token. The result: competitive performance at a significantly lower compute footprint than dense alternatives.
Extended multilingual training means you can serve global users from a single model deployment without separate fine-tuning per language.
Every parameter below is relevant to planning your integration. Understanding them upfront helps you size context windows correctly, avoid truncation surprises, and choose the right sampling settings for your use case.
The model's non-thinking, high-speed profile makes it particularly strong in scenarios where fast, accurate, and contextually aware output matters more than deep step-by-step deliberation.
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.6877 | 1M tokens |
| Output | $1.8 | 1M tokens |
| Cached input | $0.5819 | 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.6877 | $1.8 | |
| $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-chat-v3.1",
"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-chat-v3.1",
"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-chat-v3.1",
"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-chat-v3.1 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.6877 input and $1.8 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.
Yes, its capabilities include reasoning alongside function calling and structured outputs.