Skip to content

Model detail

DeepSeek-V3.1-250821

Provided by DeepSeek
Delisted Pay-as-you-go

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 training process, reaching up to 128K tokens, and uses FP8 microscaling for efficient inference. Users can control the reasoning behaviour with the `reasoning` `enabled` boolean. [Learn more in our docs](https://openrouter.ai/docs/use-cases/reasoning-tokens#enable-reasoning-with-default-config) The model improves tool use, code generation, and reasoning efficiency, achieving performance comparable to DeepSeek-R1 on difficult benchmarks while responding more quickly. It supports structured tool calling, code agents, and search agents, making it suitable for research, coding, and agentic workflows. It succeeds the [DeepSeek V3-0324](/deepseek/deepseek-chat-v3-0324) model and performs well on a variety of tasks.

Model specs

Model ID
deepseek-v3.1-250821
Context length
128K
Max output
32K
I/O modalities
Released
2025-08

02

API endpoints

One MixRoute gateway, OpenAI-compatible

  • OpenAI-compatible /v1/chat/completions POST

03

Pricing

Flat rate, unit: /1M Tokens

Input

$0.5600 /1M Tokens

Completion

$1.6800 /1M Tokens

Cache read

$0.0700 /1M Tokens

05

Selection summary

Quickly judge whether it fits your workload

What is this model good for?

DeepSeek-V3.1 is a large hybrid reasoning model

DeepSeek-V3.1 is a large hybrid reasoning model (671B parameters, 37B active) that supports both thinking and non-thinking modes via prompt templates.

What should you check before using it?

128,000 context, 32,000 output tokens

DeepSeek model that supports reasoning, tool calling and structured output.

Why use it through MixRoute?

Swap the base URL, keep the DeepSeek-V3.1-250821 client

MixRoute serves DeepSeek-V3.1-250821 on the OpenAI-compatible endpoint /v1/chat/completions; point your existing client at https://api.mixroute.ai/v1 with the model ID deepseek-v3.1-250821 and re-run your integration tests.

07

Capabilities & compatibility

Unconfirmed capabilities stay "Unknown," no guesses

Available:

Tool calling

DeepSeek-V3.1-250821 supports function and tool calls.

EX Send a tools definition; the response returns tool_calls to execute and feed results back.
Available:

Structured output

DeepSeek-V3.1-250821 can produce JSON-formatted output on demand.

EX response_format: { type: "json_schema" } forces valid JSON output.
Available:

Streaming

DeepSeek-V3.1-250821 supports streamed responses.

EX stream: true streams tokens incrementally, so chat UIs render as they arrive.
Available:

Prompt caching

DeepSeek-V3.1-250821 supports prompt caching under supported routing conditions.

EX Keep the system prompt and tool definitions at the start of the request; repeated prefixes are automatically billed at the cache-read rate.
Available:

OpenAI SDK

Call DeepSeek-V3.1-250821 through MixRoute's OpenAI-compatible endpoint.

EX Change base_url to https://api.mixroute.ai/v1; everything else follows the OpenAI style.

08

Token cost estimator

Live estimate from this page's pricing, not an actual bill

Share of the same prefix read repeatedly, up to 100%

09

FAQ

DeepSeek-V3.1-250821 is a reasoning model. Reasoning effort can be tuned per request. Lower effort settings cut reasoning tokens and cost for routine work; reserve higher settings for problems that need deeper search. Measure quality at two or three settings before fixing one in production.

One endpoint, a testable decision

Test this model and alternate routes with the same request format

Start from a real workload, then let quality, total cost, and failure conditions decide whether to send production traffic.