llamaperf

gpt-oss 21B (3.6B active)

on M2 Max 64GB · MLX

Apple hardware
Oct 13, 2026
Throughput
85.5 t/s gen · 501.5 tokens/s prompt processing (prefill)Prompt processing is how fast the input is read, not how long you wait for the first word. How to measure time to first token.
Quant
MXFP4-Q4 mixed (config) (MLX)
System RAM
64 GB

Summary

User reports gpt-oss 21B-A3.6B at 85.5 t/s generation and 501.5 t/s prompt processing on an M2 Max with 64GB unified memory. Setup is MLX with MXFP4-Q4 mixed quantization, run directly via python -m mlx_lm benchmark with batch_size=1, a requested prompt length of 512 and generation cap of 128. The figures are three-trial means after discarding Trial 1; peak memory was 11.713 in engine output units, and KV cache precision, prefill chunk size and sampling settings are unreported.

Download this model

This report's quant, MXFP4-Q4 mixed (config), doesn't name one file of gpt-oss 21B-A3.6B.

Compare this run

Medians of plain runs: one device, one request, no speculative decoding, the whole model in the device's memory. The report above is one setup, so read it beside them and not as one of them.

gpt-oss 21B · 3.6B active at 4-bit by hardware

Bars are medians on one scale, 0 to 178.3 tokens/s. Each dot is one run and opens its report. Press ▶ to watch text arrive at a row's speed.

Models most run on the M2 Max 64GB

Bars are medians on one scale, 0 to 128.3 tokens/s. Each dot is one run and opens its report. Press ▶ to watch text arrive at a row's speed.

Everything reported on the M2 Max 64GB →Every gpt-oss report →Estimate gpt-oss on this card →