Google
MLX Community

Gemma 4 31B benchmark on an Apple's logo.M4 Pro · 64 GB

<- Runs

Prompt tokens

40,960

Generation tokens

10,240

Trials passed

10/10

Verified

6.9 tok/s

91.1 tok/s

Peak memory

37.00/64 GB

Barely runs

Trials

Decode / Prefill Speeds

Metadata

metadata.json
{
"runId": "run_3adc27fe-22cc-452b-a50a-8fdf6609c922",
"bundleId": "mlx-gemma-4-31b-8bit-79c0d8",
"status": "verified",
"promptTokens": 40960,
"completionTokens": 10240,
"contextLength": 5120,
"harness": {
"version": "0.1.18",
"gitSha": "unknown"
},
"runtime": {
"name": "mlx_lm",
"version": "0.31.2",
"buildFlags": null
},
"model": {
"displayName": "Gemma 4 31B",
"format": "mlx",
"quant": "8bit",
"architecture": "gemma4",
"source": "mlx-community/gemma-4-31b-8bit",
"fileSizeBytes": 33763120491,
"lab": {
"name": "Google",
"slug": "google"
},
"quantizedBy": {
"name": "MLX Community",
"slug": "mlx-community"
}
},
"device": {
"cpu": "Apple M4 Pro",
"cpuCores": 14,
"gpu": "Apple M4 Pro",
"gpuCores": 20,
"gpuCount": 1,
"ramGb": 64,
"osName": "macOS",
"osVersion": "26.3"
},
"decodeTpsMean": 6.9,
"prefillTpsMean": 91.1,
"ttftP50Ms": 45120.57,
"idleTpsMean": 32768,
"peakRssMb": 37888,
"trialsPassed": 10,
"trialsTotal": 10,
"runnabilityScore": 0.19920714285714286,
"bundleSha256": "5ca7dc439acf6735ab5cbc2a3dace93be20bc74c9a254686f0790f0c02e19c09",
"createdAt": "2026-04-04T07:42:41.920Z"
}