gpt-oss-safeguard-20b
openai/gpt-oss-safeguard-20bgpt-oss-safeguard-20b at Q4_K_M is exactly 11,624,759,232 bytes (10.83 GiB / 11.62 GB) — an effective 4.323 bits per weight, not the nominal 4. Its KV cache at 32K is 0.77 GiB, not the 1.50 GiB a flat formula predicts.
Shipped quantizations
| Quant | Size● | Exact bytes● | Effective bpw● | Tensors● | Publisher |
|---|---|---|---|---|---|
| Q3_K_S | 10.68 GiB | 11,463,893,952 | 4.263 | — | unsloth |
| Q2_K | 10.68 GiB | 11,468,317,632 | 4.265 | — | unsloth |
| Q4_0 | 10.71 GiB | 11,501,495,232 | 4.277 | — | unsloth |
| Q3_K_M | 10.72 GiB | 11,506,103,232 | 4.279 | — | unsloth |
| Q4_1 | 10.78 GiB | 11,577,504,192 | 4.306 | — | unsloth |
| Q4_K_S | 10.82 GiB | 11,618,492,352 | 4.321 | — | unsloth |
| Q4_K_M | 10.83 GiB | 11,624,759,232 | 4.323 | — | unsloth |
| Q5_K_S | 10.91 GiB | 11,711,827,392 | 4.356 | — | unsloth |
| Q5_K_M | 10.91 GiB | 11,717,356,992 | 4.357 | — | unsloth |
| Q2_K_L | 10.95 GiB | 11,757,884,352 | 4.373 | — | unsloth |
| I1-IQ1_M | 11.19 GiB | 12,016,854,496 | 4.469 | — | mradermacher |
| I1-IQ1_S | 11.19 GiB | 12,016,854,496 | 4.469 | — | mradermacher |
| I1-IQ2_XXS | 11.19 GiB | 12,016,854,496 | 4.469 | — | mradermacher |
| I1-IQ2_XS | 11.20 GiB | 12,025,701,856 | 4.472 | — | mradermacher |
| Q6_K | 11.21 GiB | 12,040,999,872 | 4.478 | — | unsloth |
| I1-Q3_K_S | 11.23 GiB | 12,061,091,296 | 4.485 | — | mradermacher |
| I1-Q2_K | 11.24 GiB | 12,065,514,976 | 4.487 | — | mradermacher |
| I1-IQ3_XXS | 11.24 GiB | 12,065,514,976 | 4.487 | — | mradermacher |
| I1-IQ3_S | 11.24 GiB | 12,065,514,976 | 4.487 | — | mradermacher |
| I1-IQ2_S | 11.24 GiB | 12,065,514,976 | 4.487 | — | mradermacher |
| I1-IQ3_XS | 11.24 GiB | 12,065,514,976 | 4.487 | — | mradermacher |
| I1-IQ2_M | 11.24 GiB | 12,065,514,976 | 4.487 | — | mradermacher |
| I1-IQ4_XS | 11.27 GiB | 12,096,480,736 | 4.498 | — | mradermacher |
| MXFP4 | 11.28 GiB | 12,109,566,336 | 4.503 | — | lmstudio-community |
| Q8_0 | 11.28 GiB | 12,109,566,912 | 4.503 | — | unsloth |
| I1-Q2_K_S | 11.30 GiB | 12,136,293,856 | 4.513 | — | mradermacher |
| I1-Q4_0 | 11.31 GiB | 12,148,458,976 | 4.518 | — | mradermacher |
| I1-IQ3_M | 11.36 GiB | 12,202,649,056 | 4.538 | — | mradermacher |
| I1-Q3_K_M | 12.03 GiB | 12,916,151,776 | 4.803 | — | mradermacher |
| I1-Q3_K_L | 12.42 GiB | 13,335,111,136 | 4.959 | — | mradermacher |
| I1-Q4_1 | 12.45 GiB | 13,369,095,136 | 4.972 | — | mradermacher |
| F16 | 12.85 GiB | 13,792,638,880 | 5.129 | — | unsloth |
| I1-Q4_K_S | 13.65 GiB | 14,654,243,296 | 5.450 | — | mradermacher |
| I1-Q4_K_M | 14.72 GiB | 15,805,137,376 | 5.878 | — | mradermacher |
| I1-Q5_K_S | 14.80 GiB | 15,892,205,536 | 5.910 | — | mradermacher |
| I1-Q5_K_M | 15.73 GiB | 16,893,063,136 | 6.282 | — | mradermacher |
| I1-Q6_K | 20.67 GiB | 22,193,346,016 | 8.253 | — | mradermacher |
KV cache by context
| Context | KV cache (f16)● | Flat formula | Overstated by | Full / windowed / recurrent |
|---|---|---|---|---|
| 4,096 | 0.11 GiB | 0.19 GiB | 1.68× | 12 / 12 / 0 |
| 8,192 | 0.21 GiB | 0.38 GiB | 1.83× | 12 / 12 / 0 |
| 16,384 | 0.39 GiB | 0.75 GiB | 1.91× | 12 / 12 / 0 |
| 32,768 | 0.77 GiB | 1.50 GiB | 1.95× | 12 / 12 / 0 |
| 65,536 | 1.52 GiB | 3.00 GiB | 1.98× | 12 / 12 / 0 |
| 131,072 | 3.02 GiB | 6.00 GiB | 1.99× | 12 / 12 / 0 |
12 of 24 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
Will it run on your card?
Why other calculators give a different number
A parameters × bits ÷ 8 estimate puts Q4_K_M at roughly 11.27 GiB. The real file is 10.83 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 1.50 GiB at 32K context where the real figure is 0.77 GiB, because most of this model's layers cache a fixed window rather than the whole context.
Architecture
Questions people ask
- How much VRAM does gpt-oss-safeguard-20b need?
- Q4_K_M is exactly 11,624,759,232 bytes (10.83 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-safeguard-20b's KV cache?
- 0.77 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-safeguard-20b a mixture-of-experts model?
- Yes — 32 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-safeguard-20b 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.