DeepSeek V3.1deepseek/deepseek-chat-v3-1
DeepSeek-V3.1 is a large hybrid reasoning model (671B parameters, 37B active) that supports both thinking and non-thinking modes via prompt templates. It extends the DeepSeek-V3 base with a two-phase long-context...
Pricing across providers
| Provider | Input /1M | Output /1M | Blended /1M | Latency p50 | Format | Freshness | Action |
|---|
1 hosting hidden — prices older than 60 days are pending re-verification.
Affiliate disclosure: We may earn a commission from qualified signups. Pricing independence is enforced at the data layer — see our Editorial Independence Policy.
Works with
Point any of these clients at a hosting's base URL — they all speak at least one of this model's endpoint protocols (OPENAI_COMPATIBLE).
Capabilities
- chat
- reasoning
- code
- math
- tool_use
Languages: en, zh
Code samples
Example using DeepSeek — the cheapest hosting for this model as of last verification. Swap base_url and model to use a different provider from the matrix above.
from openai import OpenAI
client = OpenAI(
api_key="YOUR_API_KEY",
base_url="https://api.deepseek.com/v1",
)
response = client.chat.completions.create(
model="deepseek-chat-v3.1",
messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)
Technical specs
- Context
- 33K
- Max output
- 7K
- Parameters
- 671B
- Release
- —
- Training cutoff
- —
- License
- DeepSeek License
Similar models
Compare with
- DeepSeek V3.1 vs R1Comparison planned — not yet published
- DeepSeek V3.1 vs DeepSeek V3Compare side-by-side →
- DeepSeek V3.1 vs GLM 5Comparison planned — not yet published
Frequently asked
How much does DeepSeek V3.1 cost?+−
How do I access DeepSeek V3.1 from outside China?+−
Is DeepSeek V3.1 open-source? Can I fine-tune it?+−
Is DeepSeek V3.1 OpenAI-compatible?+−
openai SDK client at the Provider's base_url and use the Provider's model name. See the Code Samples above for a copy-pasteable example.