deepseek logo
deepseek

DeepSeek: DeepSeek V3.1

Source description (English)

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...

Overview

Model specifications

Context
163,840 tokens
Maximum output
32,768 tokens
Architecture
text->text
Tokenizer
DeepSeek
Knowledge cutoff
2025-03-31
Moderated
No
OPENROUTER

Complete pricing

Synchronized OpenRouter rates. Token prices are shown per one million tokens.

Input
$0.25
per 1M tokens
Output
$0.95
per 1M tokens
Cache read
$0.13
per 1M tokens
API

Model configuration

Reasoning

Reasoning required
No
Default parameters
No
API

Quick start

Set OPENROUTER_API_KEY locally. Python requires requests; JavaScript runs in Node.js. Keep the key on the server.

API documentation

curl --fail-with-body 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!"}]}'
Capabilities

InputOutput

Input
text
Output
text
Reasoning

No

API

Supported API parameters

frequency_penaltyinclude_reasoninglogit_biaslogprobsmax_tokensmin_ppresence_penaltyreasoningrepetition_penaltyresponse_formatseedstopstructured_outputstemperaturetool_choicetoolstop_ktop_logprobstop_p
Available providers

8 providers

Checked: September 8, 2026

Live providers on OpenRouter

Provider availability, latency, throughput and routing can change continuously. Open the source page for current operational data.

OpenRouter

DeepInfra

fp4
Context
164K
Maximum output
33K
Input
$0.25
Output
$0.95
Cache read
$0.13
Cache write
Not provided

SiliconFlow

fp8
Context
164K
Maximum output
147K
Input
$0.27
Output
$1
Cache read
Not provided
Cache write
Not provided

Novita

fp8
Context
131K
Maximum output
33K
Input
$0.27
Output
$1
Cache read
$0.135
Cache write
Not provided

AtlasCloud

fp8
Context
131K
Maximum output
66K
Input
$0.3
Output
$0.95
Cache read
$0.13
Cache write
Not provided

CoreWeave

fp8
Context
161K
Maximum output
145K
Input
$0.55
Output
$1.65
Cache read
$0.55
Cache write
Not provided

Mara

Not provided
Context
131K
Maximum output
118K
Input
$0.6
Output
$1.7
Cache read
Not provided
Cache write
Not provided

Google

Not provided
Context
164K
Maximum output
33K
Input
$0.6
Output
$1.7
Cache read
Not provided
Cache write
Not provided

SambaNova

fp8
Context
131K
Maximum output
7K
Input
$0.65
Output
$1.5
Cache read
Not provided
Cache write
Not provided
deepseek

4 models

All models