Models / DeepSeek / DeepSeek V3.1
DeepSeek

DeepSeek V3.1

BYOKOpen weightsReleased 21 Aug 2025

Open-weights text model from DeepSeek, released August 2025, priced well below the registry median. Its benchmark results sit under the median and near the bottom of the registry.

Read the full description ↓

Spec sheet

Family
DeepSeek
Released
21 Aug 202515 months ago
Weights
Open
Context window
–
Largest response
147k tokens
Accepts
text
Supports
tools, reasoning, structured output
Knowledge cutoff
March 2025
Intelligence index
–
Input price
$0.27 / 1M
Output price
$1 / 1M
Blended price (3:1)
$0.45 / 1M
Index points per $
–
Speed
47 tokens/sec#128
Popularity
#85 of 194by usage
Providers
1
Weights on
deepseek-ai/DeepSeek-V3.1

Benchmarks

Score · rank among models tested
LMArena textRating from blind human votes between pairs of chat responses
LMArena text
DeepSeek V3.11419.8
Rank#75 of 114
Registry median1437.7
Best1538.9
1419.8#75
Epoch Capabilities IndexEpoch AI's own composite across about 40 benchmarks; shown for comparison, not part of our index
Epoch Capabilities Index
DeepSeek V3.1140.9
Rank#92 of 98
Registry median154.6
Best173.4
140.9#92

The tick on each bar marks the registry median; hover over a bar for the numbers. Sources and how the index is computed: methodology.

Providers and prices

$ per 1M tokens · from genai-prices
ProviderGatewayPydantic AI model stringInputCached inputOutputBlended
OpenRouterBYOKopenrouter:deepseek/deepseek-chat-v3.1 $0.27–$1$0.45

Only one provider serves this model. Blended price assumes three input tokens for each output token.

Example code

# /// script
# dependencies = ["pydantic-ai"]
# ///
import os

from pydantic_ai import Agent

os.environ['OPENROUTER_API_KEY'] = '...'

agent = Agent('openrouter:deepseek/deepseek-chat-v3.1', instructions='Be concise, reply with one sentence.')

result = agent.run_sync('Where does "hello world" come from?')
print(result.output)

Ask DeepSeek V3.1 a question with a Pydantic AI agent and print the answer. Run it with uv run hello.py.

Compare

DeepSeek V3.1vsGLM 5.3 Flash
Intelligence index
205590$0.1$1$10GLM 5.3 Flash: 66.1 at $0.24 blended
GPQA Diamond
5075100$0.1$1$10GLM 5.3 Flash: 90.2% at $0.24 blended
OTIS Mock AIME
4070100$0.1$1$10GLM 5.3 Flash: 93.9% at $0.24 blended
FrontierMath
1055100$0.1$1$10GLM 5.3 Flash: 55.8% at $0.24 blended
ARC-AGI-2
050100$0.1$1$10GLM 5.3 Flash: 65.8% at $0.24 blended
SciCode
204570$0.1$1$10GLM 5.3 Flash: 51.6% at $0.24 blended
WebDev Arena
122015251830$0.1$1$10GLM 5.3 Flash: 1607.1 at $0.24 blended
APEX-Agents
04590$0.1$1$10GLM 5.3 Flash: 52.8% at $0.24 blended
LMArena text
128014101540$0.1$1$10GLM 5.3 Flash: 1471.7 at $0.24 blendedDeepSeek V3.1: 1419.8 at $0.45 blended
Epoch Capabilities Index
120150180$0.1$1$10GLM 5.3 Flash: 153.8 at $0.24 blendedDeepSeek V3.1: 140.9 at $0.45 blended

Score against blended price per 1M tokens (log scale). DeepSeek V3.1   GLM 5.3 Flash   other models

Intelligence indexOur composite of the benchmarks below, 0-100
DeepSeek V3.1–
GLM 5.3 Flash66.1
GPQA DiamondGraduate-level science questions, multiple choice
DeepSeek V3.1–
GLM 5.3 Flash90.2%
OTIS Mock AIMECompetition mathematics problems with exact answers
DeepSeek V3.1–
GLM 5.3 Flash93.9%
FrontierMathOriginal research-level mathematics problems, tiers 1 to 3
DeepSeek V3.1–
GLM 5.3 Flash55.8%
ARC-AGI-2Abstract visual puzzles that test learning a new rule from a few examples
DeepSeek V3.1–
GLM 5.3 Flash65.8%
SciCodeScientific programming problems written by researchers
DeepSeek V3.1–
GLM 5.3 Flash51.6%
WebDev ArenaRating from human votes on web apps the models built
DeepSeek V3.1–
GLM 5.3 Flash1607.1
APEX-AgentsLong professional tasks (banking, consulting, law) passed on the first attempt
DeepSeek V3.1–
GLM 5.3 Flash52.8%
LMArena textRating from blind human votes between pairs of chat responses
DeepSeek V3.11419.8
GLM 5.3 Flash1471.7
Epoch Capabilities IndexEpoch AI's own composite across about 40 benchmarks; shown for comparison, not part of our index
DeepSeek V3.1140.9
GLM 5.3 Flash153.8
Input pricePer 1M tokens, lower is better
DeepSeek V3.1$0.27
GLM 5.3 Flash$0.15
Output pricePer 1M tokens, lower is better
DeepSeek V3.1$1
GLM 5.3 Flash$0.5
EfficiencyIndex points per blended $
DeepSeek V3.1–
GLM 5.3 Flash278
SpeedOutput tokens per second
DeepSeek V3.147 t/s
GLM 5.3 Flash86.5 t/s
Context windowTokens
DeepSeek V3.1–
GLM 5.3 Flash1M
Model stringFor Pydantic AI
DeepSeek V3.1openrouter:deepseek/deepseek-chat-v3.1
GLM 5.3 Flashgateway/doubleword:zai-org/GLM-5.3-Flash

About DeepSeek V3.1

Description written by an LLM from the data on this page

Open-weights text model from DeepSeek, released August 2025, priced well below the registry median. Its benchmark results sit under the median and near the bottom of the registry.

DeepSeek V3.1 is an open-weights text model released in August 2025. Its main appeal for an agent builder is price: a blended cost of $0.45 per million tokens, against a registry median of about $1.01, with input at $0.27 and output at $1 per million tokens. It supports tool calling, structured output and a reasoning mode, and can return responses up to 147k tokens long.

Its benchmark results are weaker. On the LMArena text rating it scores 1420, 75th of 114 and below the median of 1438. On the Epoch Capabilities Index it scores 141, 92nd of 98, against a median of 155. Only two benchmark results are available, so the picture is thin.

The context window is not listed, so check it before relying on long inputs. The model is served only through OpenRouter, which limits provider choice.

Strengths

  • Blended price of $0.45 per million tokens, well under the $1.01 median
  • Open weights, with tool calling, reasoning mode and structured output
  • Accepts text input and returns responses up to 147k tokens

Weaknesses

  • LMArena rating of 1420, 75th of 114 and below the 1438 median
  • Epoch Capabilities Index of 141, 92nd of 98, below the 155 median
  • Available only through OpenRouter; context window not listed

Best for

Low-cost agents and tool-calling pipelines where price matters more than top benchmark scores.

One key, every model

Pydantic AI Gateway gives you the models marked with a single API key, spending limits and Logfire tracing. Bring your own key for the rest.

Start free  Read the docs