gpt2 vs Qwen3.8-27B

Try Try

gpt2 has 137M parameters (137M active per token) and takes 548 MB on disk; Qwen3.8-27B has 27.8B (26.0B active) and takes 55.6 GB. Compare them layer by layer.

At a glance

openai-community/gpt2Qwen/Qwen3.8-27B
Repo createdMar 2, 2022updated Feb 19, 2024Aug 5, 2026updated Aug 14, 2026
Model typeDenseFull attention (MHA)DenseHybrid attention: 48 linear + 16 full (GQA)
InputsTextText + images461M vision encoder
Total parameters137M203× less27.8B203× more
Active per token137M190× less100% of the model26.0B190× more94% of the model
ExpertsNone (dense)None (dense)
Max context (from config)1K tokens256× less256K tokens256× more
Layers125.3× less645.3× more48 linear + 16 full attention
On disk548 MB101× less1 file55.6 GB101× more18 files
PrecisionFP32 (100%)BF16 (100%)
QuantizationNoneoriginal precision (FP32)Noneoriginal precision (BF16)
Fewest GPUs1× RTX 4060a single 8 GB card · weights only1× NVIDIA H100a single 80 GB card · weights only
Licensemitapache-2.0
GitHubopenai/gpt-2Not linked