DeepSeek-V3.1

deepseek

DeepSeek-V3.1 is post-trained on the top of DeepSeek-V3.1-Base, which is built upon the original V3 base checkpoint through a two-phase long context extension approach, following the methodology outlined in the original DeepSeek-V3 report. We have expanded our dataset by collecting additional long documents and substantially extending both training phases. The 32K extension phase has been increased 10-fold to 630B tokens, while the 128K extension phase has been extended by 3.3x to 209B tokens...

Context
164K
Input price
$0.25/1M tokens
Output price
$0.95/1M tokens

Capabilities

Reasoning & Interaction
Tool Calling
Output Control
Structured Output
JSON Mode
Infrastructure
Streaming
Fine-tuning

Details

Model IDdeepseek-ai/DeepSeek-V3.1
Provider DeepInfra
Creator DeepSeek
Licensedeepseek
Statusactive
Typechat
Input modalitiestext
Output modalitiestext
Open weightYes
Parameters—
Architecture—
Context window164K tokens
Max input—
Max output—
Reasoning tokens—
Knowledge cutoff—
Release date
Sourceofficial

Tools

Function Callingfunction_calling
Call external functions and APIs

Endpoints

Chat CompletionsPOST
Generate chat responses with messageshttps://api.deepinfra.com/v1/openai/v1/chat/completions

Pricing

Input
$0.25
Output
$0.95
Cache write
—
Cache read
$0.13
Batch in
—
Batch out
—

Family Comparison: deepseek-v3

ModelContextMax outPricing
DeepSeek-V3-0324164K—$0.24$0.9
DeepSeek-V3.1164K—$0.25$0.95
DeepSeek-V3.2164K—$0.26$0.38
DeepSeek-V3.1-Terminus164K—$0.27$0.95
DeepSeek-V3164K—$0.32$0.89

API

GET/v1/models/deepinfra/deepseek-ai/DeepSeek-V3.1

DeepSeek-V3.1

deepseek-ai/DeepSeek-V3.1

DeepSeek-V3.1 is post-trained on the top of DeepSeek-V3.1-Base, which is built upon the original V3 base checkpoint through a two-phase long context extension approach, following the methodology outlined in the original DeepSeek-V3 report. We have expanded our dataset by collecting additional long documents and substantially extending both training phases. The 32K extension phase has been increased 10-fold to 630B tokens, while the 128K extension phase has been extended by 3.3x to 209B tokens...

Changes · 3 entries
deepseek-ai/DeepSeek-V3.1updateca7a400Nov 2, 2026, 03:02 AM
pricinginput$0.21→$0.25output$0.79→$0.95
deepseek-ai/DeepSeek-V3.1update20c73acJul 17, 2026, 02:34 AM
pricinginput$0.21→$0.25output$0.79→$0.95
deepseek-ai/DeepSeek-V3.1create3e56cf1Apr 26, 2026, 07:23 PM