GPT-OSS 20B can generate roughly 100–115 tokens/s on the two Mac Studios in our Q4_K_M snapshot, and between 84 and 280 tokens/s on the five desktop GPU configurations below. Those are short output-speed tests, not the time you will wait for a reply. On an M1 Pro, a public run with a 16K-token prompt took almost 48 seconds to deliver the first token, even though the model was running locally.
On an original M1 with 16 GB, a separate oMLX test achieved 22.2 output tok/s with a 1K prompt, 8.685 s to the first token, and 10.8 GB peak as reported. That is a useful starting point for a base M1, not a guarantee for a long conversation.
For your own machine, check three things: can the model fit, how long is the wait before it starts, and how quickly does it finish? These are published measurements from the linked testers, not new measurements performed by OnDevice Works.
Model released: 2025-08-05. OpenAI describes this as a 20.9B-parameter mixture-of-experts model with about 3.6B active parameters per token. Fewer active parameters reduce the work done per token; they do not mean the rest of the model weights disappear from memory. Use this guide to compare hardware and runtime, not to rank answer quality. OpenAI release · Original model card
Compare ten hardware configurations
The original reports below use the Q4_K_M GGUF (10.81 GiB in the logs) and publish separate llama-bench measurements: pp512 is how fast the engine processes a 512-token input, and tg128 is how fast it generates 128 tokens. They are not one end-to-end request. The five desktop GPU rows use the same Intel 265K host and Vulkan; some flags and the tests that fit still vary. Treat the Mac, Pi, GB10 and CPU entries as separate configurations, not an identical hardware-only race. Available memory is capacity, not measured consumption.
| Host / accelerator | Available accelerator memory | Backend | 512-token prefill (tok/s) | 128-token decode (tok/s) | Original run |
|---|---|---|---|---|---|
| Desktop: RTX 4090 + Intel 265K | 24 GB VRAM | Vulkan | 7,216.09 | 279.65 | Raw log |
| Desktop: Radeon AI Pro R9700 + Intel 265K | 32 GB VRAM | Vulkan | 2,968.94 | 163.26 | Raw log |
| Desktop: RTX 4070 Ti + Intel 265K | 12 GB VRAM | Vulkan | 4,420.61 | 163.14 | Short-test raw log |
| Desktop: RTX A4000 + Intel 265K | 16 GB VRAM | Vulkan | 2,038.36 | 93.55 | Raw log |
| Desktop: RTX 3060 + Intel 265K | 12 GB VRAM | Vulkan | 1,588.97 | 83.96 | Short-test raw log |
| Mac Studio: M3 Ultra | 512 GB unified | Metal/BLAS | 2,463.80 | 115.29 | Raw log |
| Mac Studio: M1 Ultra, 64 GPU cores | 128 GB unified | Metal/BLAS | 1,741.44 | 100.43 | Raw log |
| Pi CM5: RTX 3080 Ti | 12 GB VRAM | Vulkan | 3,516.92 | 143.73 | Raw log |
| Dell Pro Max: NVIDIA GB10 | 128 GB unified | CUDA,Vulkan (reported) | 2,725.32 | 87.97 | Raw log |
| Framework 13: Cix CP8180, CPU only | No GPU used | CPU, 12 threads | 28.98 | 8.52 | Raw log |
What would I do with this table? If you already own an R9700 or 4070 Ti, test the real prompt before buying a replacement: their short decode rates were nearly identical here, but the 4070 Ti showed about 1.49× the short prefill throughput, while the R9700 has substantially more VRAM headroom. The 4090 had about 1.71× the R9700’s decode rate and 2.43× its short prefill rate in these logs. The 3060 result establishes that this particular smaller GGUF completed a short test on a 12 GB card, not that all formats or long inputs fit on that card; the same report shows a failed wider test. llama-bench measurement definitions
How long before the first token?
TTFT is the measured wait from request start to first output token at the measurement point. It is not input tokens divided by prefill rate: startup, tokenization, cache behavior, scheduling and transport can change the wait. A model can also stream reasoning before showing its final answer. Compare the same prompt, reasoning level, cache state and measurement point when judging responsiveness. vLLM metric definitions
These are reported measurements, not calculations from prefill. The oMLX rows share an engine family but differ in builds, precision or prompt size. The H100 experiment is a different runtime and workload. Do not rank them by this table.
| Hardware | Runtime and model format | Reported prompt length | TTFT (s) | Decode (tok/s) | Source |
|---|---|---|---|---|---|
| M1, 16 GB | oMLX 0.2.19; MXFP4-Q4 as labeled | 1K | 8.685 | 22.2 | Run |
| M1 Pro, 32 GB | oMLX 0.4.0rc2; 4-bit, exact artifact not stated | 16K | 47.685 | 19.3 | Run |
| M1 Max, 64 GB | oMLX 0.4.2rc1; 4-bit, exact artifact not stated | 1K | 1.811 | 45.3 | Run |
| M2, 24 GB | oMLX 0.7.0; MXFP4-Q8 as labeled | 1K | 5.037 | 27.9 | Run |
| M2 Ultra, 192 GB | oMLX 0.3.9rc1; MXFP4-Q8 as labeled | 1K | 1.094 | 102.6 | Run |
| M4 Pro, 24 GB | oMLX 0.7.1.dev1; MXFP4-Q4 as labeled | 8K | 18.028 | 51.1 | Run |
| M5 Pro, 24 GB | oMLX 0.7.0; MXFP4-Q4 as labeled | 8K | 3.369 | 85.4 | Run |
| NVIDIA H100 | Research harness, BF16 as reported, 64 generated tokens | 2,048 | 0.460 | 31.27 | Preprint, tables 1–3 |
On the same M4 with 16 GB, increasing input from 1,024 to 4,096 tokens moved TTFT from 3.428 s to 12.705 s and decode from 45.2 to 38.5 tok/s. The two pages are one session, not independent sources. 1K result · 4K result
The paired M4 Pro and M5 Pro submissions are useful leads, not a controlled upgrade test. Apple separately tested 24 GB M4 and M5 MacBook Pros with MLX at a fixed 4,096-token prompt. Its test reports a 3.33× first-token speedup, but only 1.24× for generation. That is why a faster chip can feel much better for document prompts without typing out the final answer three times faster. In the H100 preprint’s same-machine comparison, increasing input from 128 to 2,048 tokens increased TTFT from 61 ms to 460 ms at the same 64-token output target. Apple’s test · H100 context sweep
How much memory do you need?
- 8 GB unified memory: I would choose a smaller model for normal use. The 10.81 GiB Q4_K_M file alone is larger than 8 GB, before the OS, runtime and token cache. That is a fit recommendation, not a claim that every offload, swap or alternative format is impossible.
- 12 GB VRAM: Try a short prompt with the smaller GGUF only if it leaves headroom. Watch GPU offload, VRAM and system RAM. A successful
tg128is not proof that your long-conversation workload fits. - 16 GB unified memory or VRAM: OpenAI says an optimized GPT-OSS 20B configuration can run in 16 GB. Start with a short context and close other memory-heavy apps. This is not a guarantee for every engine, quantization, or context setting.
- 24–32 GB and above: Use the extra memory to fit your real prompt and avoid offload or swap. Extra capacity by itself does not make token generation faster. GPU memory, Mac unified memory, file size and measured peak usage are different quantities.
The GGUF pack and MLX conversion are different artifacts. An H100 research run in BF16 reported 43,461 MB of peak allocated VRAM at 2,048 input and 64 output tokens, not the memory footprint of the quantized laptop build. Memory measurements in table 5
Check the runtime before you upgrade
- Mac: Install Ollama, LM Studio or use Apple’s MLX-LM if you prefer the terminal. In Pie’s single-request test on the same M4 Pro 48 GB, MLX produced 85 tok/s and llama.cpp 80.7 tok/s. On the same M5 Max 64 GB, these two both showed 148 tok/s. In that harness, similar decode rates did not mean similar prefill rates: on the M5 Max, MLX and llama.cpp reported 4,911 and 2,909 input tok/s respectively. Original runtime comparison · Test conditions: 512 input, 256 output, concurrency 1
- NVIDIA PC: Test a CUDA runtime with an explicitly named checkpoint. The upstream llama.cpp guide reports 161.77, 221.95, and 282.51 tok/s in short
tg128for RTX 3090, 4090 and 5090 respectively, using the same MXFP4 GGUF, same llama.cpp build and matching displayed batch/microbatch and attention settings. These are not the Vulkan scores in the first table. Upstream MXFP4 logs - AMD PC: If supported on your hardware, try ROCm and Vulkan with the same GGUF and check both short and long inputs. One Radeon 8060S / Ryzen AI Max+ 395 test recorded 73.0 tok/s in ROCm
tg128; its author reported high variance in short prefill due to other active services. Use that as evidence of a working configuration, not a timing promise. - There’s no discrete GPU: A CPU run may fit even when a GPU version will not. The dual-purpose Xeon workstation report shows why runtime and prompt length can matter more than the headline CPU speed; test your normal workload before buying hardware.
Apple Silicon lookup: 20 chip entries
PP is prompt-processing speed; TG is output-generation speed. Both are in tokens per second. For the llama.cpp rows, the table uses separate pp2048 and tg128 tests. The oMLX number in the setup column is that submission’s input length; the Pie row uses a single 512-input/256-output request. Different engines, builds and quantizations mean this table is a lookup, not a ranking.
| Apple chip and tested memory | Engine, format or test | PP | TG |
|---|---|---|---|
| M1, 16 GB, 8-core GPU | oMLX 0.2.19, MXFP4-Q4, 1,024 | 117.9 | 22.2 |
| M1 Pro, 32 GB | llama.cpp b6123, MXFP4 GGUF | 515.76 | 45.68 |
| M1 Max, 64 GB | llama.cpp b6180, MXFP4 GGUF | 994.75 | 75.15 |
| M1 Ultra, 128 GB, 48-core GPU | oMLX 0.6.0, MXFP4-Q8, 4,096 | 685.8 | 74.5 |
| M2, 24 GB, 10-core GPU | oMLX 0.7.0, MXFP4-Q8, 4,096 | 210.0 | 26.2 |
| M2 Pro, 32 GB, 16-core GPU | oMLX 0.6.2, MXFP4-Q8, 8,192 | 261.1 | 38.2 |
| M2 Max, 32 GB, 30-core GPU | oMLX 0.8.0, MXFP4-Q8, 4,096 | 626.1 | 73.6 |
| M2 Ultra, 192 GB, 76-core GPU | llama.cpp b6123, MXFP4 GGUF | 2,191.13 | 116.08 |
| M3, 24 GB, 10-core GPU | oMLX 0.2.7, MXFP4-Q8, 8,192 | 227.1 | 22.6 |
| M3 Pro, 18 GB, 18-core GPU | oMLX 0.3.6, MXFP4-Q8, 8,192 | 597.9 | 35.4 |
| M3 Max, 64 GB, 40-core GPU | oMLX 0.6.3rc1, MXFP4-Q8, 4,096 | 1,259 | 87.9 |
| M3 Ultra, 512 GB, 80-core GPU | llama.cpp b6310, MXFP4 GGUF | 2,816.47 | 115.52 |
| M4, 16 GB, 10-core GPU | oMLX 0.2.9, 4-bit, 4,096 | 322.4 | 38.5 |
| M4 Pro, 64 GB | llama.cpp b6280, MXFP4 GGUF | 700.78 | 63.34 |
| M4 Max, 36 GB | llama.cpp b6123, MXFP4 GGUF | 1,277.42 | 92.36 |
| M5, 16 GB, 10-core GPU | oMLX 0.3.0, 4-bit, 4,096 | 907.4 | 45.0 |
| M5 Pro, 48 GB, 16-core GPU | oMLX 0.8.0, MXFP4-Q8, 8,192 | 2,414 | 74.6 |
| M5 Max, 128 GB | Pie suite’s llama.cpp result, 512/256 single stream | 3,036 | 151 |
| M5 Ultra, 256 GB, 64-core GPU | oMLX 0.7.0, MXFP4-Q8, 1,024 | 1,388 | 171.4 |
| M6, 24 GB, 12-core GPU | oMLX 0.7.4.dev1, MXFP4-Q8, 1,024 | 1,765 | 46.4 |
One way to see the effect of long prompts without comparing different chips: in the same 16 GB M4 submission, output speed fell from 45.2 tok/s at 1K input to 38.5 tok/s at 4,096 input. At 4,096 input, the submission reports 12.705 seconds to first token and 10.2 GB peak memory. That’s a practical difference even if the reply once started still feels quick.
NVIDIA benchmarks on desktop GPUs
This MXFP4 table uses the llama.cpp project’s CUDA runs, build b6210, the same MXFP4 GGUF and the same benchmark shape. Hosts and CUDA versions differ. PP 2,048 and TG 128 are separate tests, not one continuous chat turn.
| GPU | VRAM | PP 2,048 | TG 128 |
|---|---|---|---|
| RTX 3090 | 24 GB | 5,170.56 | 161.77 |
| RTX 4090 | 24 GB | 8,022.33 | 221.95 |
| RTX 5070 Ti | 16 GB | 6,339.76 | 189.45 |
| RTX 5080 | 16 GB | 7,476.55 | 204.85 |
| RTX 5090 | 32 GB | 9,848.38 | 282.51 |
The same project reports 186.17 tok/s on an RTX 4080 SUPER and 111.51 tok/s on an RTX 5060 Ti with the same workload shape but different builds. A separate CUDA optimization test reached 419.14 tok/s on the RTX 5090 and 271.99 tok/s on the RTX 4090 in a synthetic decode-only test. The different 5090 numbers are not contradictory; they measure different software settings and workloads.
| Additional NVIDIA example | Published observation |
|---|---|
| RTX 5080 16 GB, Windows | LM Studio 0.4.21, MXFP4: 240.13 tok/s wall-clock median over five runs, 38.6 ms median to first token, 474 prompt tokens in a 4,096-token configured window. |
| RTX 3080 Ti 12 GB, Windows | llama.cpp b10069: 71.43 tok/s, UD-Q4_K_XL with four expert layers on CPU. |
| RTX 3060 12 GB | llama.cpp community report: 30.64 tok/s, MXFP4 with part of the model on CPU. |
| Tesla V100 PCIe 32 GB | llama.cpp b11096: 143.24 tok/s, short tg128 with MXFP4 fully on the GPU. |
| DGX Spark GB10 | llama.cpp b7941: 83.43 tok/s from empty context, 61.65 with 32,768 tokens already in context, both tg32. |
| Jetson AGX Thor / Orin | Same tester and Ollama prompt: 36.60 / 25.81 tok/s; builds differed and quantization was not confirmed in the trace. |
AMD benchmarks and the effect of long context
These rows come from different tests. Where two numbers appear, the order is ROCm/HIP first, Vulkan second.
| AMD hardware | Test | PP | TG |
|---|---|---|---|
| RX 9070 XT 16 GB | llama.cpp MXFP4, shallow context | 5,529.9 / 4,952.0 | 148.5 / 180.8 |
| RX 9070 XT 16 GB | Same report, ~131K occupied, FP16 cache | 1,035.2 / 1,063.7 | 70.5 / 22.3 |
| RX 9060 XT 16 GB | llama.cpp f1cee99, MXFP4, pp512/tg128 | 3,372 / 3,464 | 92.8 / 105.8 |
| Radeon AI PRO R9700 32 GB | Vulkan llama-bench, Q4_K_M, pp512/tg128 | 2,968.94 | 163.26 |
| Radeon RX 7900 XTX | Ollama 0.20.7 upload, MXFP4, backend not verified | — | 62.1 |
| Ryzen AI Max+ 395, Radeon 8060S | llama.cpp b7822, ROCm 7.2, MXFP4, pp512/tg128 | 545.11 | 73.21 |
The RX 9070 XT example shows why the faster backend in a short test may not be faster with a long prompt. Its two binaries also differed by a small number of commits. This is evidence from a particular setup, not a general ROCm-versus-Vulkan ranking.
Single chat versus serving several people
A server can produce more tokens per second across several users while making one user wait longer. In one same-quantization RTX PRO 6000 run and RTX 5090 run, five requests gave approximately 1,136 vs 1,114 aggregate output tok/s with llama.cpp and the same Q4_K_M model file revision. The CPUs differed and the executable builds were not pinned between hosts. This is not proof that a PRO 6000 is faster for one person.
Pie publishes short-request tests on RTX PRO 4500/6000, A40, A100, L40S, H100, H200, B200 and AMD Instinct MI300X/350X/355X. It separates single-stream results and peak batched throughput. For example, the B200 with Pie records 550 tok/s for one decode stream and 35,733 aggregate tok/s at the peak batched workload. NVIDIA’s TensorRT-LLM tables separately report server output throughput per GPU; B200 and GB200 used FP4 while H100 and H200 used FP8 in that comparison. Do not use either server number as a prediction for desktop chat.
How good are the answers?
These are OpenAI’s official GPT-OSS 20B results, reported at three reasoning settings. Where the evaluation offers tools, that is a separate test; do not expect the same tool-assisted score from an offline chat app that has no tools configured.
| Official evaluation | Low | Medium | High |
|---|---|---|---|
| AIME 2024, no tools | 42.1% | 80.0% | 92.1% |
| AIME 2024, with tools | 61.2% | 86.0% | 96.0% |
| AIME 2025, no tools | 37.1% | 72.1% | 91.7% |
| AIME 2025, with tools | 57.5% | 90.4% | 98.7% |
| GPQA Diamond, no tools | 56.8% | 66.0% | 71.5% |
| GPQA Diamond, with tools | 58.0% | 67.1% | 74.2% |
| Humanity’s Last Exam, no tools | 4.2% | 7.0% | 10.9% |
| Humanity’s Last Exam, with tools | 6.3% | 8.8% | 17.3% |
| MMLU | 80.4% | 84.0% | 85.3% |
| SWE-bench Verified | 37.4% | 53.2% | 60.7% |
| τ-bench Retail | 35.0% | 47.3% | 54.8% |
| τ-bench Airline | 32.0% | 42.6% | 38.0% |
| Aider Polyglot | 16.6% | 26.6% | 34.2% |
| MMMLU average | 67.0% | 73.5% | 75.7% |
| HealthBench (score) | 40.4 | 41.8 | 42.5 |
| HealthBench Hard (score) | 9.0 | 12.9 | 10.8 |
| HealthBench Consensus (score) | 84.9 | 83.0 | 82.6 |
| Codeforces, no tools (Elo) | 1,366 | 1,998 | 2,230 |
| Codeforces, with tools (Elo) | 1,251 | 2,064 | 2,516 |
More reasoning helped a lot on the math tests, but it did not improve every result. Try a lower setting for short transformations and reserve higher reasoning for work where answer quality justifies a longer wait. A model can generate tokens quickly yet take longer to finish if it spends more tokens reasoning.
Epoch AI’s independent scorecard lists GPQA Diamond 61%, OTIS Mock AIME 65%, SciCode 39%, WeirdML v2 41%, DTBench 68% and CritPt v1 1%, plus ECI 135 and LMCA 14.5 on their own scales. The settings and task sets are not identical to OpenAI’s. For example, the GPQA difference does not show a difference between two GPU models.
Use the result that answers your own waiting-time question
For a Mac on which you already work, start with the closest measured request rather than the biggest number in the table. If you need a short reply to a short input, look for a short-prompt result on a comparable package and check whether it also gives first-token latency. If you need to paste a case file into a chat, start with the longer prompt row. The performance gap that matters can be at the start of a response, during generation or after the model has already printed enough text for you to see an answer.
On the reported 16 GB M4, the same submission measured 3.428 seconds to first token at 1,024 input tokens and 12.705 seconds at 4,096. That is an additional 9.277 seconds before the first token, at those two points in that report. Output throughput also fell from 45.2 to 38.5 tokens/s. The 1K source and the 4K source show why an output-rate figure on its own gives an incomplete account of the wait. Keeping the model and reported configuration fixed makes the two prompt points more useful for this question.
Work backwards from the result you need. Suppose a reviewer needs a clean action and due date before moving to the next item. Write a test note with a known action and deadline and give the model a short output limit. Record when the first final-answer text appears and when both fields are present and the response finishes. If the model reasoned correctly but lost the deadline, keep that run as a failure. If it returned both fields but missed your deadline for an interactive check, a smaller input or model may fit this workflow better.
For a separate research task, an answer that takes longer might be acceptable because several decisions depend on it. Start that run with a representative excerpt and require the answer to include a line that supports it. Keep the source excerpt, response and total time side by side. A better short-prompt result only helps if the real input stays similar. If the previous fast test used a cached prefix, run a new source document as an additional trial.
Decide what to try on a 16, 24 or 32 GB Mac
Treat 16, 24 and 32 GB as available system capacities. Compare them with benchmarks that report the model package, working context and memory scope. A process peak is different from the total memory required by the Mac and the rest of its applications. Watch the system under the conditions where you need the result. If a document-heavy test takes longer and the rest of the Mac stops responding well, try a smaller context with the most relevant source excerpts. Do that before judging whether a different model package would help.
On a 16 GB Mac, begin with the short text workload represented by the base M1 and M4 records. Use the exact installed package name, and verify a complete short answer with your other required apps open. Try a second run with a longer input only after the first remains responsive. If you switch weight formats, record the original choice and repeat both requests. The 24 GB results here include different chips and package labels, so use them to choose a candidate setup, then measure your actual long input on that setup. For 32 GB, pay particular attention to how much history the client adds and how long the first answer takes. The M1 Pro 16K result demonstrates how a longer prompt can have a long initial wait even when the package completes.
Use the short, compatible download that can answer your actual test. For a controlled check, compare one note rewritten into a sentence and one short task requiring an explicit fact from a longer file. Record the size and whether you used a fresh prefix. If both produce correct output but only the larger input takes a long time to begin, keeping a short working prompt may preserve responsiveness without replacing the model. If even the shortest answer is slow to finish, look at whether the runner used the accelerator and how many output tokens it generated before considering a hardware change.
Keep a comparison with enough detail to repeat
Record the exact package, engine build, input length, response format, output cap and whether the model was already loaded. Under each condition, run the same source and score the final result with one fixed answer key. Keep a separate line for a different prompt of similar length. Compare memory observed in the process with the system’s behavior while your required apps are open. If the test uses a reasoning trace, record both first trace and first final answer when available.
For an interactive workflow, stop when you can read the required final result and the response has completed. For a batch workflow, count the successful outputs during a fixed time window and record failures and retries. An aggregate throughput result belongs with concurrency settings and per-request waits. Keep numbers from different builds and tests in separate groups. This makes the benchmark table a route to a smaller, relevant experiment rather than a ranking you have to accept for every task.
Reproduce a short test on your machine
Use a one-sentence question with a known answer as a timing control. Record when the stream starts and when the first readable answer arrives. If only the second time is slow, check what the stream emitted before the answer before attributing the full delay to loading or decoding.
With a current llama.cpp build and the named MXFP4 GGUF, start with:
llama-bench -m ./gpt-oss-20b-mxfp4.gguf -p 512 -n 128 -r 5
Look for separate pp512 and tg128 lines and confirm the backend and offload in the output. See offline chat with LM Studio, serving GGUF with llama.cpp, or slow Ollama troubleshooting for app steps. This tests the file you named; do not compare it directly against the Q4_K_M table as if it were the same quantization. Then run the same short prompt and one real long prompt in your preferred runtime. Measure first streamed token separately, repeat at least three times, and log the median, cache state, model file, context, reasoning level, runtime version, and available/peak memory. Change only one setting at a time. If your output stalls before the first token, investigate prompt handling and memory before attributing it to slow generation.
Time reasoning and visible answer text separately. For a text-only streamed request, start a monotonic clock on the client immediately before sending it. Record the elapsed time at the first chunk with reasoning or answer text, and again at the first chunk with non-whitespace answer text. Ignore role announcements and empty chunks. If a runtime does not expose reasoning, label its first observable field and avoid comparing that number with a reasoning-inclusive one. If no visible answer arrives, record it as missing, not zero.
In a reported GuideLLM event trace, the first chunk contains reasoning and the second contains only two newlines in the answer field. Neither shows a visible answer. The trace has no client arrival times, so it demonstrates the two timing rules, not a speed result. When comparing two runs, record the same model and file, prompt, reasoning setting, and cold or warm cache state. Write down both event definitions and medians before comparing. See NVIDIA AIPerf’s metric definitions for examples of how tools distinguish stream events.
Choose based on your bottleneck: if loading fails, fix memory fit; if the first token takes too long, test your longest typical input and runtime; if the model starts quickly but types slowly, check decode throughput. Those three problems call for different upgrades.