Skip to main content

NEW You.com Inference Router: Enterprise-grade inference on demand, with an uptime SLA of at least 99.9% and ZDR.

NEW Inference Router: Enterprise-grade inference with ZDR and 99.9% uptime SLA.

Learn More
DeepSeek

DeepSeek V4.1 Flash

DeepSeek V4.1 Flash model for reasoning and agentic coding

Released
Sep 10 2026
Modality
Text + Image
Context
1M tokens
Price in / cached input / out
$0.30 / $0.007 / $1.20per 1M tokens

Quickstart

OpenAI-compatible: change the base URL, and the setup is complete.

from openai import OpenAI
import os

client = OpenAI(
    base_url="https://api.you.com/v1",
    api_key=os.environ["YOU_API_KEY"],
)

response = client.chat.completions.create(
    model="deepseek-v4.1-flash",
    messages=[{"role": "user", "content": "Summarize this support ticket in two sentences."}],
)

print(response.choices[0].message.content)

Specifications

Technical details, capabilities, pricing, and data handling.

Model info

Input Modality
Text, Image
Output Modality
Text
Context Window
1M
Parameters
552B total / 8B active (prefill), 16B active (decode)
License
MIT

Capabilities

Reasoning
Not supported
Function calling
Supported
Structured outputs
Supported
Web search grounding
Available with You.com Search

Pricing

Input
$0.30
Cached input
$0.007
Output
$1.20

Data handling

Zero data retention
Supported
No training on customer data
Supported
Regions
US

Providers

Access models through multiple providers with automatic routing and built-in failover.

Providers serving DeepSeek V4.1 Flash
ProviderZDRNo trainingRegion
You InferenceYesYes
US
ParasailYesYes
US
WaferYesYes
US

When to use DeepSeek V4.1 Flash

Guidance based on the specifications and benchmarks on this page.

Best for

  • Cost-efficient agentic codingLeads DeepSeek's comparison table on Terminal-Bench 2.1 (90.6%) and DeepSWE v1.1 (74.2%) at max reasoning effort.
  • Input-heavy, long-context agentsActivates only 8B parameters during prefill and keeps a small KV cache, so 1M-token agent sessions stay cheap.
  • Image and text understandingNatively processes images and text together, with a vision encoder trained jointly from the start of pre-training.
Get API key

Consider alternatives for

  • You need the strongest knowledge recallDeepSeek's own base-model comparison shows V4 Pro well ahead on knowledge tests such as SimpleQA-Verified.
  • You need top hard-terminal performanceOn Terminal-Bench 3.0 and 4.0, DeepSeek's own table shows Opus 5.0 scoring higher.
  • You need top security exploitation resultsOn SEC-Bench Pro and ExploitGym, DeepSeek's own table shows GPT-5.6 Sol ahead.

Benchmarks

DeepSeek V4.1 Flash results alongside comparable models

Reasoning benchmark scores
BenchmarkDeepSeek V4.1 FlashDeepSeekGLM 5.3Z.aiQwen3.8 MaxAlibabaKimi K3Moonshot AIDeepSeek V4 ProDeepSeekGPT-OSS 120BOpenAI
GPQA Diamond90.9%Not evaluated92.6%93.5%90.1%80.1%
Humanity's Last Exam36.8%Not evaluated43.6%43.5%37.7%14.9%
Humanity's Last Exam (with tools)63.9%62.5%56.2%56%48.2%19%

Scores are self-reported by each model’s developer, so settings may vary between models. Sources: DeepSeek V4.1 Flash (Hugging Face), GLM 5.3 (Hugging Face), Qwen3.8 Max (Hugging Face), Qwen3.8 Max (release post), Kimi K3 (Hugging Face), DeepSeek V4 Pro (Hugging Face), GPT-OSS 120B (model card).

Build with Inference Router

Tell us what you run today, and a solutions engineer will show you what it costs on open-weight models.