DeepSeek: DeepSeek V4.1 Flash

DeepSeek V4.1 Flash is DeepSeek's sparse mixture-of-experts model released 2026-09, the first built on the company's Causal Encoder-Decoder architecture. It runs on a 552B-parameter backbone but activates only 8B parameters on input and 16B on output, an asymmetric split that keeps per-token compute low, and image understanding was trained jointly with text from the start of pre-training. DeepSeek positions it as the cost-efficient tier of the V4.1 family, reporting that it beats V4 Pro on performance, speed, and task completion time, and it targets coding, terminal, and computer-use agents alongside long-horizon and long-context analysis.

Modalities
inTextinImageoutText
Price / 1M
$0.15 / $0.60
Context
1.049M
Released
Sep 10, 2026

Channels

Every channel serves the same model, but they differ in price and stability. On each API key in the Platform, you pick a primary and a backup channel per vendor, and each billing line shows which channel served the request.

Provider
Discount
Input /M
Output /M
Cache read /M
Cache write 5m /M
Cache write 1h /M
Officialstable
+266%
$0.15
$0.60
$0.003
—
—

Capabilities

ReasoningVisionTool useLong contextPrompt cachingStructured output

Parameters

Request parameters this model accepts through the API.

frequency_penaltyinclude_reasoninglogit_biaslogprobsmax_tokensmin_ppresence_penaltyreasoningreasoning_effortrepetition_penaltyresponse_formatseedstopstructured_outputstemperaturetool_choicetoolstop_ktop_logprobstop_p

Cost calculator

Pick a channel and a usage scenario, then drag the sliders to match your workload. Each scenario assumes a different prompt-cache hit rate.

Channel
Scenario
Unit $0.15 / $0.60 /1MDaily chat: 40% cache hit rate assumed · cache read $0.003 /1M
On MirAPI$37.56/ moCreate an API key

Benchmarks

bar = score (0–100) · ▏ median

Scores come from vendor reports and public leaderboards, not private evals.

Intelligence Index
General ability
24.7
#60
GPQA Diamond
Science QA
89.1
#29
GPQA Diamond
Science QA
87.9
#36
τ-bench (airline)
Agentic tool use
76.8
#17

Showcase

Every chat model gets the same three fixed prompts. Outputs are archived verbatim, so you can copy a prompt and reproduce the result.

Task prompt · identical for all models
Build a single-file HTML page using three.js from a CDN: a low-poly planet with a tilted ring of ~200 orbiting particles, a soft key light plus rim light, slow auto-rotation, and drag-to-orbit controls. No build tools — one file only.
Archived output
Archive not published yet

Every model will run this exact prompt, and its output will appear here verbatim with token counts and the cost per run.

Quick start

import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.mirapi.ai/v1",   # changed
    api_key=os.environ["MIRAPI_API_KEY"],   # changed
)

resp = client.chat.completions.create(
    model="deepseek-v4.1-flash",
    messages=[{"role": "user", "content": "Hello"}],
)
Wire DeepSeek V4.1 Flash into your product

1M free tokens to start, no card required. It’s OpenAI-compatible, so you only change the base URL.

Start free