GeForce RTX 4060 · gpt-oss-20b · MXFP4

Only with CPU offload. gpt-oss-20b at MXFP4 does not fit in the 8 GB on GeForce RTX 4060, and a 32 GB system RAM pool runs it slowly, roughly 12–18 tokens per second.

Check GeForce RTX 4060 price on Amazon

As an Amazon Associate we earn from qualifying purchases.

PieceValueNote
Weights11.3 GiBgpt-oss-20b-MXFP4.gguf
KV cache0.19 GiB8,192 tokens
Engine overhead0.50 GiBFlat 0.5 GiB allowance
5% headroom0.60 GiBOn the sum above
Total12.6 GiBOffload
Fast memory8.00 GiB8 GB VRAM
Speed12–18 tok/sActive-expert bandwidth range + MoE overhead

ollama run gpt-oss:20b

GeForce RTX 4060 · gpt-oss-20b ·GGUF file · Methodology

FAQ

How was this fit calculated?

Weights 11.3 GiB, KV cache 0.19 GiB at 8,192 tokens, engine overhead 0.50 GiB, then 5% headroom, for 12.6 GiB. Fast memory available is 8.00 GiB.

What if I change the quant or the context?

This page is MXFP4 at 8,192 tokens. A smaller quant or a shorter context lowers the total. The homepage calculator changes both without a new page.

Can I trust the tokens per second?

The range 12–18 tok/s starts from a bandwidth roofline, 55% to 80% efficient, on the active experts only, an architecture-derived fraction of the file. It then adds 2 to 3.5 ms per token of fixed MoE overhead for expert routing and many small kernels, calibrated on measured llama.cpp results from Hardware Corner. Without that term, our MoE ranges ran well above measured speeds. Measure your own box before you buy around it.

What do I type?

ollama run gpt-oss:20b

Is GeForce RTX 4060 assumed to have extra RAM?

Yes. Discrete GPU pages assume 32 GB of system RAM. Offload uses whatever remains after 8 GB for Windows, and it is limited by the slower of DDR5-5600 and the PCIe link.