Home›Models›gpt-oss-20b

Model sheet

gpt-oss-20b

Architecture mixture of experts24 LayersLicense apache-2.0Maximum context 128kVocabulary 201,088

At Q4_K_M it is a 10.83 GiB file, and it fits on 15 of the 18 machines we measure (those with the least memory: Mac with M4 and 16 GB unified memory · Office laptop, CPU only, 16 GB · Mac mini with M6 and 16 GB). Here the file is what fills the memory: even at its maximum context of 128k tokens, the context adds 3.00 GiB — and the same content in German takes ×1.29 the tokens of English.

At a glance
Size at Q4_K_M10.83 GiB
Context memory at 8k0.19 GiB
Fits on15 / 18
German cost×1.29
Smallest machine that takes itMac with M4 and 16 GB unified memory
10.83 GiB

Model size at Q4_K_M

Measured by Local AI Scope

0.19 GiB

Context memory at 8k tokens

Measured by Local AI Scope

×1.29

What German costs versus English

Measured by Local AI Scope

Sizes

Sizes of the real published files

These are the sizes of the files actually published by the author, added up when the model ships split into parts. Not an estimate from the parameter count.

Size of the published file for each compression
Compression Model size
Q8_0 11.28 GiB
Q6_K 11.21 GiB
Q5_K_M 10.91 GiB
Q5_K_S 10.91 GiB
Q4_K_M 10.83 GiB
Q4_K_S 10.82 GiB
Q3_K_M 10.72 GiB
Context

Context memory

Computed from the attention pattern this model declares layer by layer, not from the generic formula. That is why the figure is often far smaller than other calculators tell you.

  • 8k tokens → 0.19 GiB
  • 32k tokens → 0.75 GiB
  • 128k tokens → 3.00 GiB
Languages

What it costs in each language

Measured by running this model’s own tokenizer over the same content in four languages. Tokens are what you pay for in context, in memory and in your cloud bill.

Token cost per kind of text and language, with English as the baseline
Kind of text EN ES FR DE
Code — ×1.20 ×1.32 ×1.42
Contracts — ×1.14 ×1.23 ×1.25
Business email — ×1.12 ×1.19 ×1.17
Support tickets — ×1.20 ×1.36 ×1.26

English is the baseline: every figure is how many times more tokens the same content costs in that language. Average across the whole corpus: DE ×1.29.

Machines

Where it fits

Fits means the model, its context memory and the working headroom all fit at the stated context, leaving the system its share. 15 of the 18 machine profiles tested (Q4_K_M, 8k tokens).

The 18 machine profiles, with the memory each one leaves and the largest context this model holds on it
Machine Fits Memory left Largest context that fits
PC with an RTX 4060 8 GB no 7.20 GiB —
PC with an RTX 3060 12 GB no 11.20 GiB —
PC with an RTX 4070 12 GB no 11.20 GiB —
Mac with M4 and 16 GB unified memory yes 13.00 GiB 32k
Office laptop, CPU only, 16 GB yes 13.00 GiB 32k
Mac mini with M6 and 16 GB yes 13.00 GiB 32k
Mac with M4 Pro and 24 GB yes 21.00 GiB 128k
Workstation with an RTX 4090 24 GB yes 23.20 GiB 128k
Mini-PC with an NPU and 32 GB LPDDR5X yes 29.00 GiB 128k
Mac mini with M6 and 32 GB yes 29.00 GiB 128k
Server with 2× RTX 3090 (48 GB) yes 47.20 GiB 128k
Mac with M4 Max and 64 GB yes 61.00 GiB 128k
Mac mini with M5 Pro and 64 GB yes 61.00 GiB 128k
Xiaomi AI Cube, 80 GB — engineering prototype yes 77.00 GiB 128k
PC with Ryzen AI Max+ 395 and 128 GB unified yes 96.00 GiB 128k
Mac Studio with M5 Max and 128 GB yes 125.00 GiB 128k
PC with Ryzen AI Max+ PRO 495 and 192 GB unified yes 160.00 GiB 128k
Mac Studio with M5 Ultra and 512 GB yes 509.00 GiB 128k