gpt2 vs GLM-5.3-Flash

Try Try

gpt2 has 137M parameters (137M active per token) and takes 548 MB on disk; GLM-5.3-Flash has 321B (16.7B active) and takes 328 GB. Compare them layer by layer.

At a glance

openai-community/gpt2zai-org/GLM-5.3-Flash
Repo createdMar 2, 2022updated Feb 19, 2024Aug 25, 2026updated Sep 7, 2026
Model typeDenseFull attention (MHA)Mixture of expertsHybrid attention: 34 linear + 12 full (MLA)
InputsTextText + images564M vision encoder
Total parameters137M2345× less321B2345× more
Active per token137M122× less100% of the model16.7B122× more5.2% of the model
ExpertsNone (dense)8 of 288 activeplus 1 shared, always on
Max context (from config)1K tokens1024× less1M tokens1024× more
Layers123.8× less453.8× more34 linear + 12 full attention · plus 1 extra prediction layer
On disk548 MB599× less1 file328 GB599× more62 files
PrecisionFP32 (100%)FP8 E4M3 (96%), BF16 (4.2%)
QuantizationNoneoriginal precision (FP32)FP8 E4M3blocks of 128×128 · 98% of parameters · attention, embeddings & output head and vision encoder kept in BF16
Fewest GPUs1× RTX 4060a single 8 GB card · weights only5× NVIDIA H100fits in one 8-GPU server · weights only
Licensemitmit
GitHubopenai/gpt-2Not linked