DeepSeek V3.1 pricing

DeepSeek V3.1 from DeepSeek costs $0.250 per 1M input tokens and $0.950 per 1M output tokens. Cached input is $0.130 per 1M. Context window 163,840 tokens.

API id deepseek-chat-v3.1 · DeepSeek · source · updated 2026-08-11

$0.250
Input / 1M tokens
$0.950
Output / 1M tokens
$0.130
Cached input / 1M
164K
Context window

What DeepSeek V3.1 costs in practice

Estimated cost at common usage volumes
WorkloadInput tokensOutput tokensEstimated cost
Short chat turn1,000500$0.0007
Document summary50,0002,000$0.01
1M tokens in, 200K out1,000,000200,000$0.44

Estimates use the standard tier and ignore caching discounts, so real bills with repeated prompt prefixes are typically lower.

Common questions

How much does DeepSeek V3.1 cost per 1M tokens?
DeepSeek V3.1 costs $0.250 per 1M input tokens and $0.950 per 1M output tokens on the standard tier. Cached input is $0.130 per 1M.
What is DeepSeek V3.1's context window?
DeepSeek V3.1 accepts up to 163,840 tokens in a single request, and can return up to 32,768 output tokens.
Is there a cheaper DeepSeek model than DeepSeek V3.1?
Yes. DeepSeek V4 Flash 0423 is $0.140 per 1M input tokens versus $0.250 for DeepSeek V3.1, with a 1,048,576 token context window.
Where does this DeepSeek V3.1 price come from?
From the OpenRouter catalogue, because DeepSeek does not publish machine-readable pricing. OpenRouter is a reseller, so its rate can differ from DeepSeek's own — verify before committing spend.

Other DeepSeek models

See all DeepSeek pricing →