gpt2 vs DeepSeek-R1
gpt2 has 137M parameters (137M active per token) and takes 548 MB on disk; DeepSeek-R1 has 684B (36.6B active) and takes 689 GB. Compare them layer by layer.
At a glance
| openai-community/gpt2 | deepseek-ai/DeepSeek-R1 | |
|---|---|---|
| Repo created | Mar 2, 2022updated Feb 19, 2024 | Jan 20, 2025updated Mar 27, 2025 |
| Model type | DenseFull attention (MHA) | Mixture of expertsFull attention (MLA) |
| Inputs | Text | Text |
| Total parameters | 137M4995× less | 684B4995× more |
| Active per token | 137M267× less100% of the model | 36.6B267× more5.4% of the model |
| Experts | None (dense) | 8 of 256 activeplus 1 shared, always on |
| Max context (from config) | 1K tokens160× less | 160K tokens160× more |
| Layers | 125.1× less | 615.1× moreplus 1 extra prediction layer |
| On disk | 548 MB1256× less1 file | 689 GB1256× more163 files |
| Precision | FP32 (100%) | FP8 E4M3 (99%), BF16 (1.1%) |
| Quantization | Noneoriginal precision (FP32) | FP8 E4M3blocks of 128×128 · 99% of parameters |
| Fewest GPUs | 1× RTX 4060a single 8 GB card · weights only | 6× NVIDIA H200fits in one 8-GPU server · weights only |
| License | mit | mit |
| GitHub | openai/gpt-2 | deepseek-ai/DeepSeek-R1 |
Where the parameters live
Each bar is one model, split by component and drawn on the same scale.
Anatomy map
Every rectangle is one component in one layer, with area proportional to its size. When you compare two models, both maps use the same scale, so a model twice the size covers twice the area.
Layer map
The model's layers from input (left) to output (right): which kind of attention each one uses, and whether its feed-forward block is a mixture of experts or a single dense network.
One token's route
In a mixture-of-experts layer, a router picks a few experts for each token. This shows how many that is, drawn to scale: the lit cells are one token's share of a single layer, and everything else sits idle in memory. Which cells light up is a random example, not the model's real router.
Can my GPU handle this model?
At a datacenter
The fewest GPUs of each type whose combined memory can hold the weights, assuming 90% of each GPU's memory is usable. Real deployments need more memory for context (KV cache), and usually round up to 8 or 16 GPUs so the model splits evenly. The list covers NVIDIA data-center GPUs widely rentable as of September 2026, best first.
At home
Whether the weights fit on popular home GPUs, assuming 90% of the card's memory is usable. People at home usually run 4-bit versions (GGUF files for llama.cpp, Ollama or LM Studio), which are much smaller than what labs publish, so both are shown. The 4-bit size is an estimate of about 4.5 bits per parameter. "Tight" means the weights fit but leave little room for context.
Context memory
Besides its weights, a model needs memory for the text it's working on (the "KV cache"), and it grows with every token of context. Figures are for one conversation stored in 16-bit precision: each simultaneous conversation needs its own, and servers that store it in 8-bit (FP8) need half as much.