C.W.K.
Stream
Lesson 02 of 12 · published

Parameter Count Intuition: 1B to 1T

~8 min · params, intuition

Level 0Token
0 XP0/94 lessons0/10 achievements
0/120 XP to next level120 XP to go0% complete

"7 billion parameters" is an abstract number. Building intuition for what each scale means — capability, hardware, cost — is a real skill.

SizeExamplesCapability tierHardware
1-3BPhi-3-mini, Llama 3.2 1B/3B, Gemma 3 1BBasic tasks, mobile-friendlySingle GPU, smartphone
7-8BLlama 3 8B, Mistral 7B, Qwen 2.5-7BSolid general capabilitySingle 16GB+ GPU
13-14BPhi-4, Gemma 3 12BStrong reasoning, near-frontier on focused tasksSingle 24GB+ GPU
27-32BGemma 3 27B, Qwen 2.5-32BApproaches frontier quality on most tasks1-2 GPUs
65-70BLlama 3.3 70BFrontier-quality dense model2-4 GPUs in FP16, 1 GPU in INT4
200-400B denseLlama 3.1 405BTop-tier qualityCluster (8+ GPUs)
MoE 100-700B totalMixtral 8×22B, DeepSeek-V3, Llama 4Top-tier quality, ~20-40B active4-8 GPUs (depending on quantization)

The takeaway: sweet spots have moved over time. In 2023, 70B dense was the sweet spot for quality at reasonable cost. In 2026, MoE models with 17-40B active parameters often match or beat 70B dense on quality while serving cheaper. Picking the right point on this curve is half the deployment decision.

Code

Memory cost rule of thumb·python
def model_memory_gb(n_params_billions, dtype="bf16"):
    bytes_per_param = {
        "fp32": 4,
        "fp16": 2, "bf16": 2,
        "int8": 1,
        "int4": 0.5,
    }[dtype]
    return n_params_billions * bytes_per_param

for size in [3, 7, 14, 32, 70, 405]:
    line = f"{size:>3}B  "
    for dtype in ["fp16", "int8", "int4"]:
        line += f"{dtype}: {model_memory_gb(size, dtype):>5.1f} GB   "
    print(line)
# 70B in INT4 fits on a single 80GB GPU (35 GB weights + KV cache + overhead).

External links

Exercise

For a feature you've built or shipped, identify the smallest model that meets your quality bar. List three candidates of increasing size; run them all on your eval set; pick the smallest that crosses the bar. Often this is a 3-5× cost win.

Progress

Progress is local-only — sign in to sync across devices.
Spotted a bug or have feedback on this page?Report an Issue

Comments 0

🔔 Reply notifications (sign in)
Sign inPlease sign in to comment.

No comments yet — be the first.