gpt-oss-20b
OpenAI's gpt-oss materials say the 20b model is 21B total parameters and 3.6B active.
OpenAI documents a 128k context for gpt-oss. The published config uses 131,072 positions.
From the model card
Strengths
- OpenAI's model card describes a text model with configurable reasoning effort and agentic tool use, under Apache-2.0.
- The 20b model is a mixture of experts: 21B total, 3.6B active, 32 experts, 4 active.
Weaknesses
- OpenAI says the model will not work correctly without the harmony response format.
- The card's memory figure is for native MXFP4 (within 16 GB). That is a vendor figure, not the Q4_K_M formula on this page, and not a lab measurement.
- No Frankenstein (HP ProLiant DL380p Gen8) row yet. Text only. The OpenAI usage policy also applies.
Sources: gpt-oss model card · Introducing gpt-oss · 20b docs · GitHub
Memory at 8,192 tokens
Computed, not measured. Weights use llama.cpp’s whole-file averages (Q4_K_M = 4.8944 bits/weight, Q8_0 = 8.5008) on the total parameter count. KV is fp16 and does not depend on the quant. The formula, including the sliding-window and latent-KV cases, is on the methodology page.
| Q4_K_M | Q8_0 | |
|---|---|---|
| Weights | 11.97 GiB | 20.78 GiB |
| KV at 8,192 | 0.19 GiB | 0.19 GiB |
| Total | 12.16 GiB Computed | 20.97 GiB Computed |
24 layers, 8 KV heads, head dim 64. The config alternates sliding attention (window 128) and full attention, and it starts with sliding.
Vendor figure, separate from the table: OpenAI says the 20b model runs within 16 GB in native MXFP4. That is their figure, not a measurement from this lab, and not the Q4_K_M total below. Source.
Tokens per second
Not yet measured. This lab has no Frankenstein (HP ProLiant DL380p Gen8) row for gpt-oss-20b, so there is no estimated tok/s either.
Hardware tiers
Minimum is the smallest RAM that holds Q4_K_M plus 8k KV. Suggested does not name a second machine or a speed this lab has not run. Performance means a CUDA-class card with 12 GB or more of GDDR6 or GDDR6X and the weights fully on the card. The Tesla P40 is 24 GB of GDDR5, so a P40 speed is not the performance-tier number.
| Tier | Example hardware | Quant | Fit | tok/s |
|---|---|---|---|---|
| Minimum | CPU-only, with at least 14.16 GiB of system RAM for the Q4_K_M weights, 8k KV, and a 2 GiB planning allowance. | Q4_K_M | CPU-only, if the RAM is there | CPU: not yet measured |
| Suggested | A machine you are willing to wait on, or a GPU that can hold the quant. This lab has not measured a separate “comfortable” machine, so this row does not invent one. | Q4_K_M until a Q8 run exists | Whichever of the machines above actually holds the weights | not yet measured |
| Performance | A CUDA-class card with enough GDDR6 or GDDR6X to hold about 13.16 GiB (Q4_K_M weights, 8k KV, and a 1 GiB planning allowance). 12 GB is not enough for that total. | Q4_K_M | Full VRAM only if the card is larger than 12 GB | not yet measured |
Where it sits
Best-for is a judgment from the card’s stated jobs and the model’s size. It is not a speed ranking. The matching build is Used 24 GB GPU. Score it against a machine you have on What can my rig run?