DeepSeek V4.1 Flash

DeepSeekMCP Tool CallReasoning
deepseek/deepseek-v4.1-flashOpen Weights

DeepSeek V4.1 Flash model for reasoning and agentic coding

Benchmark Pricing$0.51 / 1M in$1.53 / 1M out$0.13 cache read
Context: 1,000,000 tokens•Max Output: 384,000 tokens•Knowledge: 2025-05•Released: 2026-09-10

TECHNICAL SPECIFICATIONS

Context Window1,000,0001M tokens
Max Output384,000384K tokens
LicenseMITSelf-hostable
Input Modalities
TextVision
Function / Tool CallingSupported (MCP Ready)
Structured OutputsGuaranteed Schema

MODEL CONTEXT PROTOCOL (MCP) READINESS

✓ DeepSeek V4.1 Flash natively supports OpenAI / Anthropic format tool calling and is fully compatible with MCP servers and agent loops.

MCP Context Window Recommendations

With a context capacity of 1,000,000 tokens, this model can handle extremely large MCP resource manifests, complete database schemas, and multiple active server tool definitions simultaneously without degradation.

STANDARDIZED BENCHMARKS & EVALS

GPQA Diamondpass@1
90.9
MathArena Apexpass@1
65.6
Humanity's Last Exampass@1
36.8
Humanity's Last Exampass@1
39.1
Codeforcesrating
3471
Terminal-Benchpass@1
90.6
Terminal-Benchpass@1
30
Terminal-Benchpass@1
31.2
DeepSWEresolved
74.2
ProgramBenchalmost@1
20.3
NL2Reposcore
64
CyberGympass@1
88.1
ExploitGympass@1
15.3
AutomationBenchpass@1
54.8
Agents' Last Exampass@1
31.8
SEC-Bench Propass@1
62.8
Humanity's Last Exampass@1
63.9
Chartographypass@1
78.9
BabyVisionpass@1
89.6
ZeroBenchpass@5
49
DeepSWEresolved
69.8
Terminal-Benchpass@1
88
DeepSWEresolved
65.6
Terminal-Benchpass@1
84.1
DeepSWEresolved
65.5
Terminal-Benchpass@1
85
DeepSWEresolved
66.2
Terminal-Benchpass@1
86.1
Terminal-Benchpass@1
90.3
DeepSWEresolved
72.6
DeepSWEresolved
70.5
Terminal-Benchpass@1
85.8
DeepSWEresolved
67.6
Terminal-Benchpass@1
85.8

API CALL INVOCATION EXAMPLE

// Example: Calling DeepSeek V4.1 Flash via OpenAI SDK
import OpenAI from "openai";

const client = new OpenAI({
  apiKey: process.env.DEEPSEEK_API_KEY,
});

const response = await client.chat.completions.create({
  model: "deepseek/deepseek-v4.1-flash",
  messages: [{ role: "user", content: "Hello! Can you inspect MCP tools?" }],
});

console.log(response.choices[0].message.content);

PRICING BY PROVIDER

15 providers
Cortecsdeepseek-v4.1-flash-1017
$0.51 / $1.53$0.13 cache
AMDDeepSeek-V4.1-Flash
$0.00 / $0.00$0.00 cache
ClinePasscline-pass/deepseek-v4.1-flash
$0.15 / $0.60$0.00 cache
Fireworks AIaccounts/fireworks/models/deepseek-v4p1-flash
$0.30 / $1.20$0.01 cache
NanoGPTTEE/deepseek-v4.1-flash
$0.65 / $1.45$0.13 cache
Scalewaydeepseek-v4.1-flash
$0.67 / $2.02$0.13 cache
Vultrdeepseek-v4.1-flash
$0.15 / $0.60
GreenPTdeepseek-v4.1-flash
$0.26 / $1.28$0.01 cache
OpenCode Godeepseek-v4.1-flash
$0.15 / $0.60$0.00 cache
Charm Hyperdeepseek-v4.1-flash-1017
$0.33 / $1.31$0.03 cache
Umans AI Coding Planumans-deepseek-v4.1-flash-1017
$0.00 / $0.00$0.00 cache
CrossModeldeepseek/deepseek-v4.1-flash
$0.30 / $1.20$0.01 cache
Novita AIdeepseek/deepseek-v4.1-flash-1017
$0.30 / $1.20$0.01 cache
ai&deepseek-ai/deepseek-v4.1-flash
$0.30 / $0.60$0.02 cache
Synthetichf:deepseek-ai/DeepSeek-V4.1-Flash
$0.60 / $1.20$0.03 cache

Rates in USD per 1M tokens. Rates synchronized from models.dev public catalog.

Prompt Caching Active

This model supports prompt caching at $0.13 / 1M tokens, saving up to 75% on repetitive MCP tool definitions and system instructions.