DeepSeek-V4-Flash
DeepSeek V4 MoE model with hybrid CSA+HCA attention, manifold-constrained hyper-connections, and three-tier reasoning (Non-think / Think High / Think Max).
Compact 284B/13B V4 sibling — single-node 1M-context serving with W8A8 weights and MTP
Preparation
DeepSeek-V4-Flash is a 284B-total / 13B-active MoE model in the V4 preview family.
It pairs a hybrid attention stack — Compressed Sparse Attention (CSA) + Heavily
Compressed Attention (HCA) — with Manifold-Constrained Hyper-Connections (mHC) to
reach 27% of V3.2's per-token inference FLOPs and 10% of V3.2's KV cache at 1M
context. Pre-trained on 32T+ tokens; post-training is a two-stage pipeline (domain-
specific expert cultivation + unified consolidation via on-policy distillation).
Deployment Guide
Select NPU type and deployment options to view the corresponding deployment instructions.
Verification
Once your server is started, you can query the model with input prompts:
In
curl http://<node0_ip>:<port>/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{
"model": "dsv4",
"messages": [
{
"role": "user",
"content": "Who are you?"
}
],
"max_tokens": 256,
"temperature": 0
}'Expected Result:
The service returns HTTP 200 OK with a JSON response containing the choices field.
More Info
Accuracy
Using AISBench
1. Refer to Using AISBench for details.
2. After execution, you can get the result.
| dataset | version | metric | mode | vllm-api-general-chat | note |
|---|---|---|---|---|---|
| GPQA | - | accuracy | gen | 88.17 | 1 Atlas 800 A3 (128G × 8) |
| GSM8K | - | accuracy | gen | 96.44 | 1 Atlas 800 A3 (128G × 8) |
Accuracy
Here are two accuracy evaluation methods.
Using AISBench
1. Refer to Using AISBench for details.
2. After execution, you can get the result.
| dataset | version | metric | mode | vllm-api-general-chat | note |
|---|---|---|---|---|---|
| GPQA | - | accuracy | gen | 88.17 | 1 Atlas 800 A3 (128G × 8) |
| GSM8K | - | accuracy | gen | 96.44 | 1 Atlas 800 A3 (128G × 8) |
Benchmark
Recommended Configurations
Note: The following configurations are validated in specific test environments and are for reference only. The optimal configuration depends on factors such as maximum input/output length, prefix cache hit rate, precision requirements, and deployment machine ratios. It is recommended to refer to Section 9.2 for tuning based on actual conditions.
Table 1: Scenario Overview
*Total NPUs indicates the total number of NPUs used across all nodes.
| Scenario | Deployment Mode | *Total NPUs | Weight Version | Key Considerations |
|---|---|---|---|---|
| High Throughput | Single-Node Mixed | 16 (A3) | DeepSeek-V4-Flash-w8a8-mtp | Use dp4 tp4 to balance memory capacity and compute efficiency |
| High Throughput | 1P1D deployment | 32 (A3) | DeepSeek-V4-Flash-w8a8-mtp | dp16 tp1 on both P and D nodes; balanced latency and throughput |
| Long Context (1M) | Single-Node (A3) | 8 (A3) | DeepSeek-V4-Flash-w8a8-mtp | Use dp4 tp4 to balance memory capacity and compute efficiency |
| Long Context (1M) | 1P1D deployment | 32 (A3) | DeepSeek-V4-Flash-w8a8-mtp | dp16 tp1 on both P and D nodes; balanced latency and throughput |
Table 2: Detailed Node Configuration
A3 Configurations
| Model | Product Combo | Scenario | Device | Networking | Total NPUs | Data Format | Context Length | Average Input | Average Output |
|---|---|---|---|---|---|---|---|---|---|
| deepseek V4 flash | A3 PD separation | High Throughput | Atlas 800I A3 560T | 3*1P + 1*1D (EP16) 4 machines | 32 | W8A8C16 | 1M | 8K | 1K |
| deepseek V4 flash | A3 PD separation | Low Latency | Atlas 800I A3 560T | 3*1P + 1*1D (EP16) 4 machines | 32 | W8A8C16 | 1M | 8K | 1K |
| deepseek V4 flash | A3 PD separation | High Throughput | Atlas 800I A3 560T | 3*1P + 1*1D (EP16) 4 machines | 32 | W8A8C16 | 1M | 32K | 1K |
| deepseek V4 flash | A3 PD separation | Low Latency | Atlas 800I A3 560T | 3*1P + 1*1D (EP16) 4 machines | 32 | W8A8C16 | 1M | 32K | 1K |
| deepseek V4 flash | A3 PD separation | High Throughput | Atlas 800I A3 560T | 3*1P + 1*1D (EP16) 4 machines | 32 | W8A8C16 | 1M | 128K | 1K |
| deepseek V4 flash | A3 PD separation | Low Latency | Atlas 800I A3 560T | 3*1P + 1*1D (EP16) 4 machines | 32 | W8A8C16 | 1M | 128K | 1K |
| deepseek V4 flash | A3 PD separation | Long Context | Atlas 800I A3 560T | 3*1P + 1*1D (EP16) 4 machines | 32 | W8A8C16 | 1M | 1M | 1K |
| deepseek V4 flash | A3 single-node mixed | High Throughput | Atlas 800I A3 560T | Single-node mixed EP16 1 machine | 8 | W8A8C16 | 1M | 8K | 1K |
| deepseek V4 flash | A3 single-node mixed | Low Latency | Atlas 800I A3 560T | Single-node mixed EP16 1 machine | 8 | W8A8C16 | 1M | 8K | 1K |
| deepseek V4 flash | A3 single-node mixed | High Throughput | Atlas 800I A3 560T | Single-node mixed EP16 1 machine | 8 | W8A8C16 | 1M | 32K | 1K |
| deepseek V4 flash | A3 single-node mixed | Low Latency | Atlas 800I A3 560T | Single-node mixed EP16 1 machine | 8 | W8A8C16 | 1M | 32K | 1K |
| deepseek V4 flash | A3 single-node mixed | High Throughput | Atlas 800I A3 560T | Single-node mixed EP16 1 machine | 8 | W8A8C16 | 1M | 128K | 1K |
| deepseek V4 flash | A3 single-node mixed | Low Latency | Atlas 800I A3 560T | Single-node mixed EP16 1 machine | 8 | W8A8C16 | 1M | 128K | 1K |
| deepseek V4 flash | A3 single-node mixed | Long Context | Atlas 800I A3 560T | Single-node mixed EP16 1 machine | 8 | W8A8C16 | 1M | 1M | 1K |
A2 Configurations
| Model | Product Combo | Scenario | Device | Networking | Total NPUs | Data Format | Context Length | Average Input | Average Output |
|---|---|---|---|---|---|---|---|---|---|
| deepseek V4 flash | A2 single-node mixed | High Throughput | Atlas 800I A2 280T | A2 single-node mixed | 8 | W8A8C16 | 133072 | 8K | 1K |
| deepseek V4 flash | A2 single-node mixed | Low Latency | Atlas 800I A2 280T | A2 single-node mixed | 8 | W8A8C16 | 133072 | 8K | 1K |
| deepseek V4 flash | A2 single-node mixed | High Throughput | Atlas 800I A2 280T | A2 single-node mixed | 8 | W8A8C16 | 133072 | 32K | 1K |
| deepseek V4 flash | A2 single-node mixed | Low Latency | Atlas 800I A2 280T | A2 single-node mixed | 8 | W8A8C16 | 133072 | 32K | 1K |
| deepseek V4 flash | A2 single-node mixed | High Throughput | Atlas 800I A2 280T | A2 single-node mixed | 8 | W8A8C16 | 133072 | 128K | 1K |
| deepseek V4 flash | A2 single-node mixed | Low Latency | Atlas 800I A2 280T | A2 single-node mixed | 8 | W8A8C16 | 133072 | 128K | 1K |
| deepseek V4 flash | A2 single-node mixed | Long Context | Atlas 800I A2 280T | A2 single-node mixed | 8 | W8A8C16 | 1M | 1020K | 1K |
| deepseek V4 flash | A2 8-machine PD separation | High Throughput | Atlas 800I A2 280T | 4*1P + 1*4D 8 machines | 64 | W8A8C16 | 133072 | 8K | 1K |
| deepseek V4 flash | A2 8-machine PD separation | Low Latency | Atlas 800I A2 280T | 4*1P + 1*4D 8 machines | 64 | W8A8C16 | 133072 | 8K | 1K |
| deepseek V4 flash | A2 8-machine PD separation | High Throughput | Atlas 800I A2 280T | 4*1P + 1*4D 8 machines | 64 | W8A8C16 | 133072 | 32K | 1K |
| deepseek V4 flash | A2 8-machine PD separation | Low Latency | Atlas 800I A2 280T | 4*1P + 1*4D 8 machines | 64 | W8A8C16 | 133072 | 32K | 1K |
| deepseek V4 flash | A2 8-machine PD separation | High Throughput | Atlas 800I A2 280T | 4*1P + 1*4D 8 machines | 64 | W8A8C16 | 133072 | 128K | 1K |
| deepseek V4 flash | A2 8-machine PD separation | Low Latency | Atlas 800I A2 280T | 4*1P + 1*4D 8 machines | 64 | W8A8C16 | 133072 | 128K | 1K |
| deepseek V4 flash | A2 8-machine PD separation | Long Context | Atlas 800I A2 280T | 4*1P + 1*4D 8 machines | 64 | W8A8C16 | 1M | 1M | 1K |
For complete startup commands and parameter descriptions, please refer to the deployment examples in Chapter 5.
Notice:
max-model-len and max-num-seqs need to be set according to the actual usage scenario. For other settings, please refer to the Deployment chapter.
Currently, we support 4K prefix cache hit in an experimental manner. You only need to change the value of --block-size from 128 to 32 in the service.
Benchmark
Using AISBench
Refer to Using AISBench for performance evaluation for details.
Using vLLM Benchmark
Refer to vllm benchmark for more details.