Skip to content
Get API key API key

DeepSeek V4.1 Flash

All models

DeepSeek
Model ID DeepSeek-V4.1-Flash
Context window
1M tokens
Max output
125K tokens
Input price
€0.30 per 1M tokens
Output price
€1.20 per 1M tokens
Cached input price
€0.045 per 1M tokens
Type
LLMCoding
Input
TextImage
Output
Text
Endpoints
/v1/chat/completions
Reasoning
noneminimallowmediumhighxhighmax
Cloud
T Cloud T Cloud Public
Location
Germany (EU)
Data processing
Germany (EU)

Parameters

What the gateway accepts for this model. It refuses other values.

ParameterAccepted valuesDefaultDescription
reasoning_effort none, minimal, low, medium, high, xhigh, max high none turns thinking off; high is the default; max reasons longer.
temperature 0 to 2 (step 0.01) 1 What to sample at. Higher values make the output more random, lower ones more deterministic. Change this or top_p, not both.
top_p 0 to 1 (step 0.01) 1 Nucleus sampling: only the tokens making up the top top_p of probability mass are considered. 0.1 means the top 10%. Change this or temperature, not both.
max_completion_tokens 1 to 128,000 32768 The most tokens the answer may use.

Plans and limits

TPM counts input and output tokens together. The prices above apply in every plan. Rate limits

Plan TPM RPM
Essential 6,000,000 600
Professional 12,000,000 1,200
Agentic 24,000,000 2,400

Example

With OPENAI_BASE_URL and OPENAI_API_KEY set as in the Quickstart.

Terminal
curl "$OPENAI_BASE_URL/chat/completions" \
-H "Authorization: Bearer $OPENAI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "DeepSeek-V4.1-Flash",
"messages": [{"role": "user", "content": "What is T Cloud?"}]
}'