Fresh paint, wet floors — we're rebuilding CostOfToken into a cross-provider price comparison. Some corners are still under construction; the full version is coming up soon.

deepseek-ai/DeepSeek-V3.1 pricing

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. deepseek-ai/DeepSeek-V3.1 from DeepInfra 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-ai/DeepSeek-V3.1 · DeepInfra · source · updated 2026-09-25 · general-purpose

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

deepseek-ai/DeepSeek-V3.1 specifications

Provider
DeepInfra
API id
deepseek-ai/DeepSeek-V3.1
Model type
general-purpose
Context window
164K tokens
Max output
not published
Currency
USD
Price source
Provider API
Last checked
2026-09-25

What deepseek-ai/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-ai/DeepSeek-V3.1 cost per 1M tokens?
deepseek-ai/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-ai/DeepSeek-V3.1's context window?
deepseek-ai/DeepSeek-V3.1 accepts up to 163,840 tokens in a single request.
Is there a cheaper DeepInfra model than deepseek-ai/DeepSeek-V3.1?
Yes. deepseek-ai/DeepSeek-V4-Flash is $0.090 per 1M input tokens versus $0.250 for deepseek-ai/DeepSeek-V3.1, with a 1,048,576 token context window.
Where does this deepseek-ai/DeepSeek-V3.1 price come from?
From the OpenRouter catalogue, because DeepInfra does not publish machine-readable pricing. OpenRouter is a reseller, so its rate can differ from DeepInfra's own — verify before committing spend.

Head-to-head comparisons

Other DeepInfra models

See all DeepInfra pricing →