Technical Overview
DeepSeek-V4.1-Flash is a multimodal Mixture-of-Experts model that processes images and text and generates text autoregressively. The README describes 552B backbone parameters and a causal encoder-decoder architecture with a 20-layer causal encoder followed by a 20-layer decoder.
The README reports 8B activated parameters per token during prefill and 16B during decoding. Each MoE layer has one shared expert and 384 routed experts, with six routed experts activated per token. Its architectural components include Compressed Sparse Attention 2, Engram conditional memory, DSpark speculative decoding, and a vision encoder connected through a two-layer MLP projector. Architecture source.
The configuration names DeepseekV41ForCausalLM as the architecture and sets max_position_embeddings to 1,048,576, matching the supplied measured context limit. It specifies 40 text layers, a hidden size of 5,120, and 64 attention heads. Configuration source.
Benchmark Performance
The pinned README reports base-model scores of 74.1 on MMLU-Pro (EM), 79.4 on HumanEval (Pass@1), 93.0 on GSM8K (EM), and 45.2 on LongBench-V2 (EM). Base-model evaluation results.
For multimodal base-model evaluation, the README reports 56.5 on MMMU-Pro (EM), 77.9 on CVBench (EM), 95.6 on DocVQA (LLM-Judge), and 86.0 on RefCOCO-avg (Acc@0.5). Multimodal evaluation results.
The instruct comparison reports 90.9 on GPQA Diamond (Pass@1), a Codeforces rating of 3471, 90.6 on Terminal-Bench 2.1 (Pass@1), and 74.2 on DeepSWE v1.1 (Resolved). These instruct results use maximum reasoning effort of 100, temperature 1.0, and top_p 0.95; the README identifies different harnesses for different agent benchmarks. Instruct results and evaluation settings.
Hardware Requirements
Using the supplied measured total of 763,205,315,794 parameters, a 4-bit quantization would need roughly 381.6 GB for parameter bits alone. This is a derived estimate using parameters × 4 ÷ 8, with decimal GB. The supplied total is distinct from the 552B backbone figure described in the pinned README.
The supplied measured weight size is 510,296,708,312 bytes, equivalent to approximately 510.3 GB by derived decimal conversion. No measured Q4 file size is supplied. The pinned configuration declares FP8 quantization with FP4 expert weights; the hypothetical 4-bit estimate is not a measured size for those released files.
These calculations describe weight storage only. A tested minimum RAM capacity, minimum VRAM capacity, GPU count, and inference throughput are not stated in the pinned README.
Use Cases
The README declares native image-and-text input with autoregressive text output and describes input-heavy agentic workloads as an architectural target. Its evaluations cover coding agents, reasoning, mathematics, document question answering, and visual agents. Declared capabilities and evaluated tasks.
The prompt-encoding reference covers multi-turn conversations, tool calling, thinking mode, numeric reasoning effort, mid-conversation system messages, and interleaved image content. The README also describes a production prompt toolkit supporting these formats, while leaving model inference, tool execution, and HTTP transport to the caller. Prompt encoding and integration scope.
Training Details
The README states that the model was trained from scratch on a multimodal corpus comprising 45T tokens. Sparse attention was trained at a sequence length of 64K, and context was extended to 1M tokens at 34T tokens. The vision encoder was also trained from scratch, with visual embeddings processed jointly with text embeddings from the start of language-model pre-training. Pre-training description.
Post-training follows supervised fine-tuning, reinforcement learning, and on-policy distillation. The README attributes substantive changes to the data pipeline, including automated synthesis of agent tasks and environments with progressive scaling of data, tasks, and rollouts. Named pre-training datasets, detailed corpus proportions, training hardware, and training duration are not stated in the pinned README. Post-training description and disclosed training details.
Licensing Information
The README states that both the repository and model weights are licensed under the MIT License. License scope. The pinned LICENSE grants permission to use, copy, modify, merge, publish, distribute, sublicense, and sell copies, supporting commercial use, redistribution, and modification without a share-alike requirement. MIT permission grant.
The copyright notice and permission notice must be included in all copies or substantial portions of the software. The license provides the software AS IS, disclaims warranties, and excludes author or copyright-holder liability as stated in its text. MIT conditions and disclaimer.