DeepSeek-V3.1 is a large hybrid reasoning model (671B parameters, 37B active) that supports both thinking and non-thinking modes via prompt templates.
Ways to buy 4
| Way to buy | Input | Output | In / out per 1M | Cached | Vs cheapest |
|---|---|---|---|---|---|
fp4 · cached $0.13 | $0.25 | $0.95 | $0.25 / $0.95Cheapest | $0.13 | Cheapest |
fp8 | $0.27 | $1 | $0.27 / $1+6% vs cheapest | n/a | +6% vs cheapest |
fp8 · cached $0.55 | $0.55 | $1.65 | $0.55 / $1.65+94% vs cheapest | $0.55 | +94% vs cheapest |
fp8 | $0.65 | $1.5 | $0.65 / $1.5+103% vs cheapest | n/a | +103% vs cheapest |
USD per 1M tokens. Regions are separate routes.
Through a gateway
Your own numbers100M input and 20M output tokens a month: $44.00 direct.
Kong AI Gateway$44.00+0%
OpenRouter$46.42+5.5%
Cloudflare AI GatewayNot offeredNot offered
Eden AINot offeredNot offered
HeliconeNot offeredNot offered
LiteLLMNot offeredNot offered
Neon AI GatewayNot offeredNot offered
RequestyNot offeredNot offered
TrueFoundry AI GatewayNot offeredNot offered
Vercel AI GatewayNot offeredNot offered
A dash: not on that gateway's own model list. No published token fee: Martian Gateway, Portkey.
Related models
| In / out per 1M | Cheapest route | |||||||
|---|---|---|---|---|---|---|---|---|
DeepSeek · 1MCheapest: $0.081 on Particle AI (us-flex) | $0.15 | $0.6 | $0.15 / $0.6 | $0.262 | 1M | $0.081 on Particle AI (us-flex) | · | DeepSeek V4.1 Flash 1017 is the October 17, 2026 snapshot of DeepSeek V4.1 Flash, served by DeepSeek under the deepseek-flash API model name. |
DeepSeek · 1M | $0.045 | $0.3 | $0.045 / $0.3 | $0.109 | 1M | on InferenceNet (fp8) | · | DeepSeek V4.1 Flash is a sparse mixture-of-experts model from DeepSeek, and the first built on the company's Causal Encoder-Decoder (CED) architecture. |
DeepSeek · 1M | $0.44 | $1.32 | $0.44 / $1.32 | $0.66 | 1M | on DeepInfra (fp8) | · | DeepSeek V4 Flash Vision Exp is an experimental vision-enabled version of DeepSeek V4 Flash 0731 from DeepSeek, adding image understanding while matching the base model on text capabi |
DeepSeek · 1M | $0.66 | $1.98 | $0.66 / $1.98 | $0.99 | 1M | Lab list price | · | DeepSeek V4 Pro 0813 is a large-scale mixture-of-experts model from DeepSeek. |
Z.ai · 1M | $0.179 | $1.4 | $0.179 / $1.4 | $0.484 | 1M | on Wafer (fp4) | · | GLM-5.3 is a large-scale reasoning model from Z.ai, built for complex software engineering and long-horizon agent tasks. |
Anthropic · 1M | $0.1 | $0.5 | $0.1 / $0.5 | $0.2 | 1M | Lab list price | · | Claude Haiku 5.5 is Anthropic's small, fast model for high-volume, cost-sensitive work such as summarization, subagents, and browser use. |
Z.ai · 1M | $0.37 | $1.25 | $0.37 / $1.25 | $0.59 | 1M | Lab list price | · | GLM-5.3-FlashX-Legal (GLM-Legal) is Z.ai's legal-domain variant of GLM-5.3-FlashX, a native multimodal model that accepts text, image, and video input and produces text. |
Amazon Nova · 0K | $0.8 | Free | $0.8 / Free | $0.6 | 0K | Lab list price | · | Amazon Titan Multimodal Embeddings G1 embeds text, images, or text and image together into a shared vector space for multimodal search and recommendation. |
About DeepSeek V3.1
Takes text in and returns text. First listed Sep 23, 2026. Up to 147K output tokens. Blended price $0.425 per 1M tokens at 3 input to 1 output. Model id deepseek-chat-v3-1.
Price history
No list-price history: this model is sold by hosts rather than its lab.
Questions
How much does DeepSeek V3.1 cost?
$0.25 per million input tokens and $0.95 per million output tokens, with cached input at $0.13.
What is the context window of DeepSeek V3.1?
164K tokens, with up to 147K tokens of output.
Where is DeepSeek V3.1 cheapest?
Of 4 routes tracked, DeepInfra is cheapest at $0.25 input and $0.95 output per million tokens.
Has DeepSeek V3.1's price changed?
Yes. The output price went from $0.95 to $1, first seen Oct 2, 2026.