gpt2 vs Qwen3.8-27B-MLX-5bit

Try Try

gpt2 has 137M parameters (137M active per token) and takes 548 MB on disk; Qwen3.8-27B-MLX-5bit has 27.4B (25.6B active) and takes 19.4 GB. Compare them layer by layer.

At a glance

openai-community/gpt2lmstudio-community/Qwen3.8-27B-MLX-5bit
Repo createdMar 2, 2022updated Feb 19, 2024Aug 14, 2026updated Aug 14, 2026
Model typeDenseFull attention (MHA)DenseHybrid attention: 48 linear + 16 full (GQA)
InputsTextText + images461M vision encoder
Total parameters137M200× less27.4B200× more
Active per token137M187× less100% of the model25.6B187× 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 MB35× less1 file19.4 GB35× more4 files
PrecisionFP32 (100%)5-bit MLX (87%), scales (8.7%), BF16 (4.8%)
QuantizationNoneoriginal precision (FP32)5-bit MLXgroups of 64 · 98% of parameters · vision encoder kept in BF16
Fewest GPUs1× RTX 4060a single 8 GB card · weights only1× RTX 4090a single 24 GB card · weights only
Licensemitapache-2.0
GitHubopenai/gpt-2Not linked