ai.canshu.com
中文
VRAM Calculator Advisor & TCO API Pricing Compare Models Leaderboard GPUs

Search models, GPUs, and tools

↑↓ Navigate · Enter Open · ★ Watchlist prioritized ai.canshu.com
DeepSeek
Open-Weight DeepSeek · Dense 7.6B · Text · BF16

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

HF Class: Qwen2ForCausalLM

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

API Model ID: deepseek-r1-distill-qwen-7b

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

Arena Elo ~1335 AA Index 28
🧠 Reasoning
AIME 2024 55.5 %

American Invitational Mathematics Examination 2024, consisting of 30 challenging mathematical reasoning problems from AIME I and AIME II competitions.

🧠 Reasoning
MATH-500 92.8 %

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.

🧠 Reasoning
GPQA Diamond 49.1 %

PhD-level Google-proof science reasoning questions

💻 Coding
LiveCodeBench 37.6 %

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

Reasoning Recommended Config
temperature=0.6 top_p=0.95 max_tokens=32,768

💡 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

⚔️ Compare head-to-head

Source: ZeroEval / llm-stats.com (✓ = third-party verified, others vendor-reported).

⚡ DeepSeek-R1-Distill-Qwen-7B Interactive VRAM & Token Speed Calculator

Concurrency (Batch):
Dense 7.6B·28L (d=3584)·28Q/4KV·Ctx 128K
Runnable Models →
GPUs
32 GB VRAM·1792 GB/s·Safe Usable 31.4 GB
Smooth Fit6.09 / 31.4 GB~254.1 tok/s
3. Weight Quantization
4. Per-Request Context16K (16,384 tok)
Verified: 2026-11-20·Roofline bandwidth/compute estimate (Batch=1)
Smooth Fit
6.09/ 31.4 GB usable

Physical 32 GB · Load 19.4%

Theoretical Decode Speed
~254.1tokens/s

Actual speed varies ~±25% by runtime

Max Context at Batch=1
128K/ 128K

Enable Q8/Q4 KV quantization to scale batch concurrency

Weights: 4.61 GBKV Cache (1×16K): 0.94 GBOverhead: 0.54 GB
🚀 Blazing Fast (Instant CoT)~2s for a 500-token response
Reference Launch CLI:
OLLAMA_CONTEXT_LENGTH=16384 ollama run deepseek-r1:7b

RTX 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.