Parameters
7B
Context Length
131K
Modality
Text
Architecture
Dense
KV Cache Rate
36 KB/tok
License
Apache 2.0
Release Date
27 Dec 2024
Knowledge Cutoff
-
API Pricing (per 1M)
Self-hosted only
Precision
Context
Workload Memory: 9.76 GB
INT4 · 8K context · 1 user
Base Weights: 3.26 GB
KV Cache: 4.00 GB
Runtime & Graphs: 2.50 GB
1x NVIDIA L4 24GB
9.8 / 21.6 GB
1x RTX 3060 12GB
9.8 / 11.2 GB
Apple M4 24GB
9.8 / 18.0 GB
Determine requirements for your specific workload:
Checkpoint format
FP16
CUDA
>= 11.8
PyTorch
>= 2.1
Transformers
>= 4.44.0
| Architecture | Precision | Attention kernel |
|---|---|---|
Blackwell, Hopper | Native FP16 | FlashAttention-3 |
Ada Lovelace, Ampere | Native FP16 | FlashAttention-2 |
Rank
#224
| Benchmark | Score | Rank |
|---|---|---|
Graduate-Level QA | 0.491 | #105 |
Overall Rank
#224
Coding Rank
-
DeepSeek-R1 7B is a dense reasoning model distilled from DeepSeek-R1 onto the Qwen2.5-Math-7B foundation. It specializes in mathematical theorem proving, algorithmic problem solving, and structured logic over a 131K context window.
Attention
Attention Structure
Multi-Layer Attention
Attention Heads
64
Key-Value Heads
64
Position Embedding
ROPE
RoPE Theta
10,000
Normalization
RMS Normalization
Activation Function
SwiGLU
Dimensions
Base Precision
FP16
Hidden Dimension Size
4,096
Number of Layers
32
FFN Intermediate Size (Dense)
18,944
Tokenizer
Vocabulary Size
152,064
DeepSeek-R1 is a model family developed for logical reasoning tasks. It incorporates a Mixture-of-Experts architecture for computational efficiency and scalability. The family utilizes Multi-Head Latent Attention and employs reinforcement learning in its training, with some variants integrating cold-start data.