gpt2 vs Qwen3-4B-Instruct-2507

Try Try

gpt2 has 137M parameters (137M active per token) and takes 548 MB on disk; Qwen3-4B-Instruct-2507 has 4.02B (4.02B active) and takes 8.04 GB. Compare them layer by layer.

At a glance

openai-community/gpt2Qwen/Qwen3-4B-Instruct-2507
Repo createdMar 2, 2022updated Feb 19, 2024Aug 5, 2025updated Sep 17, 2025
Model typeDenseFull attention (MHA)DenseFull attention (GQA)
InputsTextText
Total parameters137M29× less4.02B29× more
Active per token137M29× less100% of the model4.02B29× more100% of the model
ExpertsNone (dense)None (dense)
Max context (from config)1K tokens256× less256K tokens256× more
Layers123.0× less363.0× more
On disk548 MB15× less1 file8.04 GB15× more3 files
PrecisionFP32 (100%)BF16 (100%)
QuantizationNoneoriginal precision (FP32)Noneoriginal precision (BF16)
Fewest GPUs1× RTX 4060a single 8 GB card · weights only1× RTX 3060 12 GBa single 12 GB card · weights only
Licensemitapache-2.0
GitHubopenai/gpt-2QwenLM/Qwen3