DeepSeek-R1-Distill-Qwen-7B Architecture Parameters, Benchmarks & VRAM
7.6B distilled R1 model fitting comfortably inside 8GB GPUs.
🧬 DeepSeek-R1-Distill-Qwen-7B Architecture & Tensor Specifications
Verified directly against HuggingFace (deepseek-ai/DeepSeek-R1-Distill-Qwen-7B) config.json & Model Card
1. Backbone & Dimensions
qwen2- Total / Active Params
- 7.6B (Dense)
- Hidden Size (d_model)
- 3,584
- FFN Intermediate Size
- 18,944
- Activation / Norm
- SiLU (SwiGLU) · ε=1e-6
- Native Tensor Dtype
- BF16
2. Attention & Layer Layout
GQA- Num Hidden Layers
- 28 Layers
- Hidden Layer Layout
- 28-Layer Qwen2.5-Math-7B Dense Backbone (Distilled from DeepSeek-R1)
- Attention Heads (Q / KV)
- 28 Q / 4 KV (7:1 GQA)
- Head Dimension
- 128
3. Context, RoPE & Tokenizer
Tokenizer- Native Context Length
- 131,072 tokens
- RoPE Configuration
- RoPE (θ=10,000 · 128K Context)
- Vocab Size
- 152,064 (Untied)
- Special Token IDs
- BOS: 151646 · EOS: 151643
📋 DeepSeek-R1-Distill-Qwen-7B Official API & System Card Specifications
Verified against official DeepSeek developer documentation & pricing
1. Identity & Capabilities
API Spec- API Model ID
- deepseek-r1-distill-qwen-7b
- Release Date
- 2025-01-20
- Weight License
- Open-Weight (API Spec)
- Native Reasoning
- ✅ Supported
- Function Calling & JSON Schema
- ✅ 原生支持
- Batch API 异步批处理
- ✅ Supported (50% off)
2. Context, Output & Modalities
Limits- Max Context Window
- 128,000 tokens (128K)
- Max Output Tokens
- 16,000 tokens
- Input Modalities
- Text
- Output Modalities
- Text
- Direct China Access
- ✅ Direct CN + RMB
- Deployment Mode
- Open-Weight + Cloud API
3. Official Pricing & Cache
CNY / 1M- Input / 1M Tokens
- ¥ 0.5
- Cached Input / 1M
- ¥ 0.1 -80%
- Output / 1M Tokens
- ¥ 1
- Tiered Pricing Notes
- Alibaba Bailian: Hosted on Alibaba Cloud Bailian (CN Direct)
🏆 Official Benchmark Results
Sourced from official System Card / Model Card & technical reports
American Invitational Mathematics Examination 2024, consisting of 30 challenging mathematical reasoning problems from AIME I and AIME II competitions.
MATH-500 is a subset of the MATH dataset containing 500 challenging competition mathematics problems from AMC 10, AMC 12, AIME, and other mathematics competitions.
PhD-level Google-proof science reasoning questions
LiveCodeBench is a holistic and contamination-free evaluation benchmark for large language models for code.
🎛️ Official Sampling & Reasoning Parameters
Recommended generation settings & API parameter constraints
💡 Keep temperature in 0.5–0.7 (0.6 best); avoid system prompts and place all instructions in user message.
📊 DeepSeek-R1-Distill-Qwen-7B Full Benchmark Scorecard
4 public benchmarks · ranks among 154 models · synced 2026-11-20
💻 Coding 1 items
📐 Math 2 items
MATH-500 is a subset of the MATH dataset containing 500 challenging competition mathematics problems from AMC 10, AMC 12, AIME, and other mathematics competitions.
American Invitational Mathematics Examination 2024, consisting of 30 challenging mathematical reasoning problems from AIME I and AIME II competitions.
Source: ZeroEval / llm-stats.com (✓ = third-party verified, others vendor-reported).
⚡ DeepSeek-R1-Distill-Qwen-7B Interactive VRAM & Token Speed Calculator
Physical 32 GB · Load 19.4%
Actual speed varies ~±25% by runtime
Enable Q8/Q4 KV quantization to scale batch concurrency
OLLAMA_CONTEXT_LENGTH=16384 ollama run deepseek-r1:7bRTX 5090 Fits DeepSeek-R1-Distill-Qwen-7B · Cost & TCO
Approx. $2,199 (~$69/GB VRAM) · 575W TDP
📊 DeepSeek-R1-Distill-Qwen-7B Quantization VRAM Breakdown (16K Context)
| Quantization | Bits/Weight | Weights | KV Cache (16K) | Total VRAM | Quality Note |
|---|---|---|---|---|---|
| FP16 / BF16 | 16 bpw | 15.2 GB | 0.94 GB | 16.89 GB | Lossless Full Precision |
| FP8 / Q8_0 | 8.5 bpw | 8.07 GB | 0.94 GB | 9.63 GB | 99.9% Near-Lossless |
| GGUF Q6_K | 6.56 bpw | 6.23 GB | 0.94 GB | 7.75 GB | Ultra High Quality |
| GGUF Q5_K_M | 5.69 bpw | 5.41 GB | 0.94 GB | 6.9 GB | High Balanced Quality |
| Q4_K_M / AWQ | 4.85 bpw | 4.61 GB | 0.94 GB | 6.09 GB | Sweet Spot (Recommended) |
| GGUF IQ4_XS | 4.25 bpw | 4.04 GB | 0.94 GB | 5.51 GB | Compact 4-bit |
| GGUF Q3_K_M | 3.91 bpw | 3.71 GB | 0.94 GB | 5.18 GB | Moderate Perplexity Loss |
| GGUF Q2_K | 3.15 bpw | 2.99 GB | 0.94 GB | 4.44 GB | Extreme Compression |
🖥️ GPU & Apple Silicon Compatibility for DeepSeek-R1-Distill-Qwen-7B (Q4_K_M)
Frequently Asked Questions
What are the exact architecture parameters of DeepSeek-R1-Distill-Qwen-7B?
DeepSeek-R1-Distill-Qwen-7B uses Qwen2ForCausalLM with 28 layers (28-Layer Qwen2.5-Math-7B Dense Backbone (Distilled from DeepSeek-R1)), hidden_size=3584, 28 Q heads / 4 KV heads (head_dim=128), and vocab_size=152,064.
How much VRAM does DeepSeek-R1-Distill-Qwen-7B require?
At 4-bit quantization (Q4_K_M, 16K context), DeepSeek-R1-Distill-Qwen-7B requires 6.09 GB VRAM. Full FP16 requires 16.89 GB.