DeepSeek V3.1
DeepSeek-V3.1Pricing
List prices at DeepInfra, in US dollars per million tokens.
| Tier | Input / 1M | Output / 1M | |
|---|---|---|---|
| Standard | $0.25 | $0.95 | |
| Cached input 48% off input | $0.13 | 48% off input |
What it costs a month
At DeepInfra list prices, 30 days.
- Chat assistant5,000 requests a day, 2K in / 0.5K out, cached$135
- RAG over documents2,000 requests a day, 8K in / 0.6K out, cached$125
- Coding agent1,000 requests a day, 40K in / 2K out, cached$256
- Overnight batch20,000 requests a day, 4K in / 0.4K out$828
Where to run it
12 hosts serve DeepSeek V3.1. The comparison is on blended price, 3 parts input to 1 part output.
| Host | In / out per 1M | Model id | |
|---|---|---|---|
DeepInfraInference DeepSeek-V3.1 | $0.25 / $0.95 | DeepSeek-V3.1 | |
GMI CloudInference DeepSeek-V3.1 | $0.27 / $1.00 +6% vs headline | DeepSeek-V3.1 | |
Novita AIInference deepseek-v3.1 | $0.27 / $1.00 +6% vs headline | deepseek-v3.1 | |
BasetenInference DeepSeek-V3.1 | $0.50 / $1.50 +76% vs headline | DeepSeek-V3.1 | |
W&B InferenceInference DeepSeek-V3.1 | $0.50 / $1.50 +76% vs headline | DeepSeek-V3.1 | |
Fireworks AIInference deepseek-v3p1 | $0.56 / $1.68 +98% vs headline | deepseek-v3p1 | |
StreamLakeCloud deepseek-v3.1 | $0.571 / $1.71 +102% vs headline | deepseek-v3.1 | |
Vertex AICloud deepseek-v3.1-maas | $0.60 / $1.70 +106% vs headline | deepseek-v3.1-maas | |
Together AIInference DeepSeek-V3.1 | $0.60 / $1.70 +106% vs headline | DeepSeek-V3.1 | |
ReplicateInference deepseek-v3.1 | $0.672 / $2.02 +137% vs headline | deepseek-v3.1 | |
Azure AI FoundryCloud deepseek-v3.1 | $1.23 / $4.94 +408% vs headline | deepseek-v3.1 | |
SambaNovaInference DeepSeek-V3.1 | $3.00 / $4.50 +694% vs headline | DeepSeek-V3.1 |
Capabilities
Core
- Streaming
- Function calling
- JSON mode
- Structured outputs
Multimodal
- Vision
- Image input
- Audio
- Image generation
- Video
Advanced
- Reasoning
- Tool calling
- MCP
- Prompt caching
- Batch API
- Embeddings
- Takes in
- Text
- Produces
- Text
- Open weights
- License: DeepSeek License (MIT code)Runtimes: SGLang, TGI, vLLM
Cheaper alternatives
Current models that cost less and keep most of what this one can do: tools, vision, reasoning, structured output, caching and enough context.
Same model, cheaper host
No host sells it for less than DeepInfra.
Smaller DeepSeek models
No cheaper DeepSeek model keeps its key capabilities.
Other frontier labs
- 53% less
- 53% less
- 38% less
Open-weight picks
- 7% less
- 13% less
- 18% less
- 38% less
Model line
Newer and older versions, at each lab's own price.
- UndatedDeepSeek V3.2.251201LatestNot listed
- Dec 2025DeepSeek V3.2$0.28 / $0.40
- UndatedDeepSeek V3.1This page$0.25 / $0.95
- UndatedDeepSeek V3$0.89 / $0.89
- UndatedDeepSeek V2.5$1.20 / $1.20
Call it
Using DeepInfra's API.
from litellm import completion
response = completion(
model="deepinfra/DeepSeek-V3.1",
messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)Quick answers
How much does DeepSeek V3.1 cost?
On DeepInfra, DeepSeek V3.1 costs $0.25 per million input tokens and $0.95 per million output tokens. Cached input costs $0.13 per million tokens.
Which APIs offer DeepSeek V3.1?
DeepSeek V3.1 runs on 12 APIs: DeepInfra, GMI Cloud, Novita AI, Baseten, W&B Inference, Fireworks AI, StreamLake, Vertex AI, Together AI and 3 more.
What is DeepSeek V3.1's context window?
164K tokens, with up to 164K tokens in one reply.
Is DeepSeek V3.1 being retired?
No retirement date is scheduled for it on any API we track.
Is there a newer version of DeepSeek V3.1?
Yes. DeepSeek V3.2.251201 is the newest model in this line.
What are cheaper alternatives to DeepSeek V3.1?
Models that cost less and keep most of what it can do: Claude Haiku 5.5 on Anthropic (53% less), GPT-6 Luna on OpenAI (53% less) and MiniMax M3 on EmpirioLabs AI (7% less). Savings are on a mix of 3 input tokens to 1 output token.
What is DeepSeek V3.1's API model id?
Use DeepSeek-V3.1 with DeepInfra. Other hosts use their own ids: deepseek-v3.1 on Novita AI, deepseek-v3p1 on Fireworks AI, deepseek-v3.1 on StreamLake, deepseek-v3.1-maas on Vertex AI.
Sources
- DeepInfra pricing
- GMI Cloud pricing
- SambaNova pricing
- Together AI pricing
- W&B Inference pricing
- Azure AI Foundry pricing
- Replicate pricing
- StreamLake pricing
- Vertex AI pricing
- Fireworks AI pricing
- LiteLLM model map
Raw catalog entry for DeepSeek-V3.1 on DeepInfra
{
"max_input_tokens": 163840,
"max_output_tokens": 163840,
"input_cost_per_token": 2.5e-7,
"output_cost_per_token": 9.5e-7,
"cache_read_input_token_cost": 1.3e-7,
"litellm_provider": "deepinfra",
"mode": "chat",
"supports_tool_choice": true,
"supports_reasoning": true,
"supports_function_calling": true,
"source": "https://deepinfra.com/pricing"
}