wangzhang · text · mixture of experts

gpt-oss-120b-abliterated

wangzhang/gpt-oss-120b-abliterated

gpt-oss-120b-abliterated at Q4_K_M is exactly 87,850,988,864 bytes (81.82 GiB / 87.85 GB) — an effective 6.016 bits per weight, not the nominal 4. Its KV cache at 32K is 1.15 GiB, not the 2.25 GiB a flat formula predicts.

From the file· summed from 1 file(s)From the file· KV per layer
Parameters
117B
total, not active
Architecture
gpt-oss
36 layers
Context
131,072
native (config.json)
License
apache-2.0

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
I1-IQ1_S61.54 GiB66,080,447,0404.525mradermacher
I1-IQ2_XXS61.54 GiB66,080,447,0404.525mradermacher
I1-IQ1_M61.54 GiB66,080,447,0404.525mradermacher
I1-IQ2_XS61.55 GiB66,093,718,0804.526mradermacher
Q3_K_S61.60 GiB66,146,801,9844.529mradermacher
I1-Q3_K_S61.60 GiB66,146,802,2404.529mradermacher
Q2_K61.61 GiB66,153,437,5044.530mradermacher
I1-IQ3_S61.61 GiB66,153,437,7604.530mradermacher
I1-IQ3_XS61.61 GiB66,153,437,7604.530mradermacher
I1-IQ2_M61.61 GiB66,153,437,7604.530mradermacher
I1-IQ3_XXS61.61 GiB66,153,437,7604.530mradermacher
I1-IQ2_S61.61 GiB66,153,437,7604.530mradermacher
I1-Q2_K61.61 GiB66,153,437,7604.530mradermacher
I1-IQ4_XS61.65 GiB66,199,886,4004.533mradermacher
I1-Q4_061.90 GiB66,468,624,9604.551mradermacher
I1-Q2_K_S62.06 GiB66,641,148,4804.563mradermacher
I1-IQ3_M62.16 GiB66,740,681,2804.570mradermacher
IQ4_XS62.40 GiB66,996,148,5444.588mradermacher
Q3_K_M66.24 GiB71,120,308,5444.870mradermacher
I1-Q3_K_M66.24 GiB71,120,308,8004.870mradermacher
Q3_K_L68.39 GiB73,432,602,9445.028mradermacher
I1-Q3_K_L68.39 GiB73,432,603,2005.028mradermacher
I1-Q4_168.42 GiB73,465,481,2805.031mradermacher
Q4_K_S75.38 GiB80,940,463,4245.543mradermacher
I1-Q4_K_S75.38 GiB80,940,463,6805.543mradermacher
Q4_K_M81.82 GiB87,850,988,8646.016mradermacher
I1-Q4_K_M81.82 GiB87,850,989,1206.016mradermacher
Q5_K_S81.92 GiB87,963,493,1846.023mradermacher
I1-Q5_K_S81.92 GiB87,963,493,4406.023mradermacher
Q5_K_M87.49 GiB93,943,755,5846.433mradermacher
I1-Q5_K_M87.49 GiB93,943,755,8406.433mradermacher
Q6_K115.67 GiB124,198,570,3048.505mradermacher
I1-Q6_K115.67 GiB124,198,570,5608.505mradermacher
Q8_0115.76 GiB124,301,420,8648.512mradermacher

KV cache by context

computed per layer — this model uses sliding-window attention
ContextKV cache (f16)Flat formulaOverstated byFull / windowed / recurrent
4,0960.17 GiB0.28 GiB1.68×18 / 18 / 0
8,1920.31 GiB0.56 GiB1.83×18 / 18 / 0
16,3840.59 GiB1.13 GiB1.91×18 / 18 / 0
32,7681.15 GiB2.25 GiB1.95×18 / 18 / 0
65,5362.28 GiB4.50 GiB1.98×18 / 18 / 0
131,0724.53 GiB9.00 GiB1.99×18 / 18 / 0

18 of 36 layers cache only a 128-token window rather than the full context, on a period of . Figures assume the default configuration; --swa-full disables the saving entirely.

Compare with

same modality, comparable size

Will it run on your card?

full quant x context sweep

Why other calculators give a different number

A parameters × bits ÷ 8 estimate puts Q4_K_M at roughly 61.20 GiB. The real file is 81.82 GiB, because a quantization is a mixture and some tensors are always kept at higher precision. The larger discrepancy is the cache: a flat formula gives 2.25 GiB at 32K context where the real figure is 1.15 GiB, because most of this model's layers cache a fixed window rather than the whole context.

Architecture

from config.json
Layers
36
Attention heads
64
KV heads
8
Head dim
64
Hidden size
2880
Vocab
201,088
Sliding window
128
SWA period
MLA
no
Experts
128
Experts per token
4
use_sliding_window

Questions people ask

How much VRAM does gpt-oss-120b-abliterated need?
Q4_K_M is exactly 87,850,988,864 bytes (81.82 GiB) in weights. Add the KV cache, which depends on your context length, plus roughly half a gigabyte of runtime overhead.
How large is gpt-oss-120b-abliterated's KV cache?
1.15 GiB at 32K context with an f16 cache, computed per layer. Quantizing the cache to q8_0 roughly halves it, which is often the difference between a context length fitting and not.
Is gpt-oss-120b-abliterated a mixture-of-experts model?
Yes — 128 experts, 4 routed per token. Every expert must be resident, but only the routed ones are read per token, which is why its memory requirement and its speed behave very differently.
Which quantization of gpt-oss-120b-abliterated should I use?
Q4_K_M is the usual default. Pick the largest quantization that fits your card at the context you actually need — the table above gives exact sizes for every one published.