CanRun

Can I run gpt-oss-120b on the GeForce RTX 5060 Ti 16GB?

Won't runMXFP4 needs 63.6 GB, 48.2 GB more than the 15.4 GB of usable memory. With 64 GB of system RAM: Runs slowly, est. 22.7 tok/s (15.9–29.6, theoretical estimate ±30%).

16 GB VRAM · 448.0 GB/s · FP16 23.7 TFLOPS. Assumes 32 GB of DDR5-5600 system RAM, Windows with this GPU driving the display, 8k context and an f16 KV cache.

Verdict by system RAM

This page assumes 32 GB of system RAM. For this pair, the verdict depends on how much system RAM you have.

  • 16 GBWon't runMXFP4 doesn't fit
  • 32 GBWon't runMXFP4 doesn't fit(used on this page)
  • 64 GBRuns slowlyest. 22.7 tok/s (15.9–29.6, theoretical estimate ±30%)(used for the commands below)
  • 96 GBRuns slowlyest. 22.7 tok/s (15.9–29.6, theoretical estimate ±30%)
  • 128 GBRuns slowlyest. 22.7 tok/s (15.9–29.6, theoretical estimate ±30%)

Every quant of gpt-oss-120b on the GeForce RTX 5060 Ti 16GB

1 tracked GGUF file, smallest first, at 32 GB of system RAM and 8k context
QuantFile sizeVerdictSpeedMemoryRuns asNotes
MXFP4baseline63.39 GBWon't run—Needs about 63.6 GB; 15.4 GB of VRAM and 28.0 GB of RAM are free——

Models with a thinking mode spend extra tokens thinking, so their speed thresholds are 1.5× stricter (30 / 12 / 3 tok/s). With thinking turned off, a model may do one grade better.

Where the memory goes at MXFP4

The memory, context and speed figures below assume 64 GB of system RAM (the configuration from the RAM hint above); with 32 GB nothing fits.

Weights, KV cache and compute buffer are the model; the OS reservation is the display driver.
GPU memory
System RAM
Weights
11.9 GB
KV cache
0.3 GB
Compute buffer
0.6 GB
OS reserve
0.6 GB
Free
2.7 GB
Weights in system RAM
51.5 GB

System RAM, context length and KV cache

System RAM
KV cache

Memory needed and verdict at MXFP4 for each context length and KV cache type, with estimated tokens per second.
ContextKV f16KV q8_0KV q4_0
4k
63.4 GBRuns slowly
est. 23.0 tok/s16.1–29.9theoretical estimate ±30%
63.4 GBRuns slowly
est. 23.1 tok/s16.2–30.0theoretical estimate ±30%
63.3 GBRuns slowly
est. 23.2 tok/s16.2–30.1theoretical estimate ±30%
8k
63.6 GBRuns slowly
est. 22.7 tok/s15.9–29.6theoretical estimate ±30%
63.5 GBRuns slowly
est. 23.0 tok/s16.1–29.9theoretical estimate ±30%
63.4 GBRuns slowly
est. 23.1 tok/s16.2–30.0theoretical estimate ±30%
16k
64.0 GBRuns slowly
est. 22.3 tok/s15.6–28.9theoretical estimate ±30%
63.7 GBRuns slowly
est. 22.7 tok/s15.9–29.5theoretical estimate ±30%
63.6 GBRuns slowly
est. 23.0 tok/s16.1–29.8theoretical estimate ±30%
32k
64.8 GBRuns slowly
est. 20.9 tok/s14.6–27.2theoretical estimate ±30%
64.2 GBRuns slowly
est. 22.2 tok/s15.5–28.8theoretical estimate ±30%
63.9 GBRuns slowly
est. 22.7 tok/s15.9–29.5theoretical estimate ±30%
64k
66.3 GBRuns slowly
est. 19.3 tok/s13.5–25.1theoretical estimate ±30%
65.2 GBRuns slowly
est. 20.8 tok/s14.5–27.0theoretical estimate ±30%
64.5 GBRuns slowly
est. 22.1 tok/s15.5–28.8theoretical estimate ±30%
128k
69.3 GBRuns slowly
est. 16.3 tok/s11.4–21.2theoretical estimate ±30%
67.0 GBRuns slowly
est. 18.8 tok/s13.1–24.4theoretical estimate ±30%
65.8 GBRuns slowly
est. 20.7 tok/s14.5–26.9theoretical estimate ±30%

S = Runs great · A = Runs well · B = Runs slowly · F = Won't run

With 64 GB of system RAM: At MXFP4 the verdict stays Runs slowly up to 128k context with an f16 KV cache, and up to 128k with q8_0.

Estimated speed

Generation
With 64 GB of system RAM: est. 22.7 tok/s (15.9–29.6, theoretical estimate ±30%)
Prompt processing
Prompt-processing estimates only apply when the whole model runs on the GPU.

Why this verdict: Experts run from system RAM — Runs well needs 30 tok/s or more on this path

Measured on this exact combination

No public measurement for this exact combination yet; the numbers above are estimates.

If this is not enough

How to run it

Commands for the MXFP4 file. Both tools download from Hugging Face on first run.

These commands assume 64 GB of system RAM (the configuration from the RAM hint above). For a different amount of RAM, pick it under “System RAM, context length and KV cache” above to see the commands for it.

File: gpt-oss-120b-MXFP4.gguf (63.39 GB) from ggml-org/gpt-oss-120b-GGUF.

llama.cpp
llama-server -hf ggml-org/gpt-oss-120b-GGUF:MXFP4 -c 8192 -ngl all --n-cpu-moe 30 -fa on
  • -ngl all loads every layer on the GPU.
  • --n-cpu-moe 30 keeps the experts in the first 30 layers in system RAM; the remaining 6 layers with experts keep them on the GPU. This estimate assumes the same split.
  • If loading fails with an out-of-memory error, raise the value to 31, or to 32 if that isn't enough.
  • llama.cpp b7410 (December 2025) and later split the model in a similar way on their own if you leave out -ngl and --n-cpu-moe.
  • -fa on enables flash attention (needed for KV cache quantization).
  • --cache-type-k q8_0 --cache-type-v q8_0 shrinks the KV cache to 0.16 GB at 8k context.
Ollama

PowerShell (quit the Ollama tray app first):

$env:OLLAMA_CONTEXT_LENGTH="8192"; ollama serve
ollama run hf.co/ggml-org/gpt-oss-120b-GGUF:MXFP4
  • Ollama defaults to 4k context on GPUs under 24 GB. Set OLLAMA_CONTEXT_LENGTH when starting the server, or /set parameter num_ctx inside the chat.
  • Ollama 0.30 and later automatically keep part of the experts in system RAM to fit your VRAM. Older versions split whole layers instead, which is much slower.
  • /set parameter num_ctx 8192

Related pages

Frequently asked questions

Can I run gpt-oss-120b on the GeForce RTX 5060 Ti 16GB?

MXFP4 needs 63.6 GB, 48.2 GB more than the 15.4 GB of usable memory. With 64 GB of system RAM: Runs slowly, est. 22.7 tok/s (15.9–29.6, theoretical estimate ±30%). MXFP4 needs 63.6 GB at 8k context; this setup has 15.4 GB of usable memory and 28.0 GB of free system RAM.

How much context can gpt-oss-120b use on the GeForce RTX 5060 Ti 16GB?

With 64 GB of system RAM: At MXFP4 the verdict stays Runs slowly up to 128k context with an f16 KV cache (4.8 GB of KV) and up to 128k with a q8_0 KV cache (2.6 GB). The model supports up to 128k.

Which quant should I use, and how fast is it?

No tracked quant runs with 32 GB of RAM; with 64 GB, MXFP4 reaches Runs slowly, est. 22.7 tok/s (15.9–29.6, theoretical estimate ±30%).

Speeds are estimates from memory bandwidth, calibrated against public benchmarks, and each one comes with an error band and a confidence label. Real results vary with drivers, backend, context length and thermals.