Google
MLX Community

Gemma 4 31B IT benchmark on an Apple's logo.M4 · 32 GB

<- Runs

Prompt tokens

40,960

Generation tokens

10,240

Trials passed

10/10

Verified

3.5 tok/s

28.3 tok/s

Peak memory

21.00/32 GB

Barely runs

Trials

Decode / Prefill Speeds

Metadata

metadata.json
{
"runId": "run_7c270075-cdb8-4e51-b279-1c8f6b047a10",
"bundleId": "mlx-gemma-4-31b-it-4bit-94672a",
"status": "verified",
"promptTokens": 40960,
"completionTokens": 10240,
"contextLength": 5120,
"harness": {
"version": "0.1.21",
"gitSha": "f68adca"
},
"runtime": {
"name": "mlx_lm",
"version": "0.31.2",
"buildFlags": null
},
"model": {
"displayName": "Gemma 4 31B IT",
"format": "mlx",
"quant": "4bit",
"architecture": "gemma4",
"source": "mlx-community/gemma-4-31b-it-4bit",
"fileSizeBytes": 18412016832,
"lab": {
"name": "Google",
"slug": "google"
},
"quantizedBy": {
"name": "MLX Community",
"slug": "mlx-community"
}
},
"device": {
"cpu": "Apple M4",
"cpuCores": 10,
"gpu": "Apple M4",
"gpuCores": 10,
"gpuCount": 1,
"ramGb": 32,
"osName": "macOS",
"osVersion": "15.7.4"
},
"decodeTpsMean": 3.5,
"prefillTpsMean": 28.3,
"ttftP50Ms": 145279.14,
"idleTpsMean": 18432,
"peakRssMb": 21504,
"trialsPassed": 10,
"trialsTotal": 10,
"runnabilityScore": 0.08882499999999997,
"bundleSha256": "183850d82867b935669c93d40cf240c04f9287d27aa8f690bcb9f9928fd132b3",
"createdAt": "2026-04-17T15:55:40.797Z"
}
Gemma 4 31B IT Run Details on M4 | whatcani.run