DeepSeek V3.1

DeepSeekdeepseek/deepseek-chat-v3.1Providers: 7
Inputi$0.25per 1M tokens
Outputi$0.95per 1M tokens
Contexti160K163,840 tokens
ReleasedAug 21, 2025Max output: 32K

Where it stands

Quality in independent tests against price, next to 135 other models. Up means more capable, left means cheaper.

100110120130140150160170$0.01$0.03$0.1$0.3$1$3$10$30$100Overall indexPrice per million tokens, log scale (3 parts input to 1 part output)↖ Cheaper and smarterDeepSeek V3.1
Scores: Epoch AI (CC BY 4.0). Prices: OpenRouter. View as a table

About this model

DeepSeek V3.1 is an AI model from DeepSeek, made available through the API on August 21, 2025. It can read up to 163,840 tokens in one request, roughly 307 pages of text, and write up to 32,768 tokens in a single answer.

Through the API it costs $0.25 per million input tokens and $0.95 per million output tokens. Its pricing puts it among the more affordable models we track, which makes it a good fit for high-volume tasks.

It supports extended reasoning: it can "think" step by step before answering, which helps on maths, code and complex questions. It can call tools and functions, so developers can connect it to search, databases or other software. Its weights are openly published (deepseek-ai/DeepSeek-V3.1), so it can also be downloaded and run on your own hardware.

Quality scores

Rankings →
139.9Overall index · #95 of 136

Benchmark data: Epoch AI, licensed CC BY 4.0

Where to use it

Companies that serve this model through an API: 7. Prices per million tokens, cheapest first.

ProviderInputiOutputiContextiUptime (24 h)i
DeepInfraCheapestfp4
$0.25$0.95160K100.0%
SiliconFlowfp8
$0.27$1160K96.0%
AtlasCloudfp8
$0.30$1128K99.4%
SambaNovafp8
$0.65$1.50128K87.2%
CoreWeavefp8
$0.55$1.65161K100.0%
Mara
$0.60$1.70128K88.5%
Google
$0.60$1.70160K0.0%

Availability and prices come from OpenRouter’s public API and are refreshed daily. Uptime is the share of successful requests over the last 24 hours. Some providers run a compressed version of open models (fp8, int4), which is cheaper but can be slightly less accurate.

Use it in your code

Call DeepSeek V3.1 through OpenRouter’s OpenAI-compatible API: create a key on openrouter.ai, then run one of these examples.

curl https://openrouter.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "deepseek/deepseek-chat-v3.1", "messages": [{"role": "user", "content": "Hello! What can you do?"}]}'

The same code works with every model on this site: only the model ID changes. Many labs also offer their own API and SDK.

What it costs in practice

  • 1,000 chat replies
    ≈ 500 tokens in, 300 out each
    $0.41
  • Summarise a 100-page document
    ≈ 50,000 tokens in, 1,000 out
    $0.013
  • An app with 10,000 requests a day for a month
    ≈ 1,000 tokens in, 400 out each
    $189

Cost calculator →

Similar-priced alternatives

ModelInputiOutputiContexti
Gemini 3.1 Flash LiteGoogle DeepMind
$0.25$1.501MCompare with ⇄
$0.25$0.80256KCompare with ⇄
Seed-2.0-LiteByteDance Seed
$0.25$2256KCompare with ⇄
Mercury 2Inception
$0.25$0.75128KCompare with ⇄
$0.25$2400KCompare with ⇄
Qwen3.5-122B-A10BAlibaba Qwen
$0.26$2.08256KCompare with ⇄

News about DeepSeek

See all →

Frequently asked questions

How much does DeepSeek V3.1 cost?
DeepSeek V3.1 costs $0.25 per million input tokens and $0.95 per million output tokens through the API. For example, 1,000 chat replies of about 500 tokens in and 300 out cost around $0.41.
What is the context window of DeepSeek V3.1?
DeepSeek V3.1 can read up to 163,840 tokens in one request, about 307 pages of text. It can write up to 32,768 tokens in a single answer.
Is DeepSeek V3.1 open source?
Yes. Its weights are published (deepseek-ai/DeepSeek-V3.1), so you can download it and run it on your own hardware, or use it through one of 7 API providers.
Who makes DeepSeek V3.1?
DeepSeek V3.1 is made by DeepSeek. It became available through the API on August 21, 2025.
How good is DeepSeek V3.1?
DeepSeek V3.1 has an overall index of 139.9 in Epoch AI’s independent tests, ranking #95 of 136 models we track.
Can DeepSeek V3.1 read images?
No. DeepSeek V3.1 only accepts text as input.
What are the alternatives to DeepSeek V3.1?
Models with a similar price from other companies include Gemini 3.1 Flash Lite, Trinity Large Thinking and Seed-2.0-Lite. You can compare them side by side on this page.