deepseek-ai / text-generation Open weights Also via API updated 4 months ago

DeepSeek-V4-Flash

We present a preview version of DeepSeek-V4 series, including two strong Mixture-of-Experts (MoE) language models — DeepSeek-V4-Pro with 1.6T parameters (49B activated) and DeepSeek-V4-Flash with 284B parameters (13B activated) — both supporting a context length of one million tokens.

Params
158.1 B
Context
1,048,576
Downloads 30d
1.2 M
Likes
2,384
Commercial use: allowed mit Not gated SAFETENSORS View on Hugging Face ↗

Download history

daily snapshots · 106 days
▲ 247 K in the last 30 days (27.3%)
3.1 M799 K
Jul 28Sep 1Oct 6Nov 10

Can you run it?

Estimated VRAM at 8K context unless noted. Pick your hardware to see the verdict per quantization.

FileQuantSizeEst. VRAMVerdict on RTX 4090 · 24 GB
model.safetensors i8 159.6 GB 199.8 GB ❌ Won’t fit
model.safetensors (bf16, full) bf16 + 1024K ctx 159.6 GB 3,211.0 GB ❌ Won’t fit
Estimate: file size × 1.1 + KV cache at 8K + 0.5 GB overhead. Not a benchmark — how we calculate this.

Run it

copy-paste, exact tags checked against the Hub
~ · curl · api/v1
$ curl -s https://aimodelscomparison.com/api/v1/models/deepseek-v4-flash
{
  "hf_id": "deepseek-ai/DeepSeek-V4-Flash",
  "params_b": 158.07,
  "context_length": 1048576,
  "license": { "id": "mit", "commercial": "yes" },
  "downloads_30d": 1151336,
  "vram_estimates": [
    { "quant": "i8", "gb": 199.8 }
  ],
  "updated_at": "2026-07-28T17:07:23Z"
}
est. VRAM —on RTX 4090 · 24 GBJSON API →

Use via API

via OpenRouter · USD per 1M tokens · synced 2026-11-10
$0.091
input / 1M
$0.18
output / 1M
$0.018
cached input / 1M
$0.27
1M in + 1M out
Context window
1,048,575 tokens
Max output
943,717 tokens
Providers
13
Cheapest provider
StreamLake · $0.083 / $0.17
Best throughput
—
AA Intelligence / Coding / Agentic
— / 56.2 / 22.2
✓ Tool calling ✓ Reasoning ✓ Structured outputs ✗ Image input ✗ File input ✗ Audio input ✓ Prompt caching

Specifications

Architecture
DeepseekV4ForCausalLM
Parameters
158.1 B
Tensor type
I8
Context length
1,048,576
Vocabulary
129,280
Layers / heads
43 / 64
Licence
mit
First seen on the Hub
2026-04-22
Training datasets
undisclosed
Added to our catalog
2026-07-28
Compare with any text-generation model