Google
MLX Community

Gemma 4 31B benchmark on an Apple's logo.M2 Max · 32 GB

<- Runs

Prompt tokens

40,960

Generation tokens

10,240

Trials passed

10/10

Verified

10.2 tok/s

70.5 tok/s

Peak memory

22.00/32 GB

Barely runs

Trials

Decode / Prefill Speeds

Metadata

metadata.json
{
"runId": "run_62bb07cc-6c9c-4667-9cbd-0cb35923d619",
"bundleId": "mlx-gemma-4-31b-mxfp4-c7b353",
"status": "verified",
"promptTokens": 40960,
"completionTokens": 10240,
"contextLength": 5120,
"harness": {
"version": "0.1.21",
"gitSha": "unknown"
},
"runtime": {
"name": "mlx_lm",
"version": "0.31.3",
"buildFlags": null
},
"model": {
"displayName": "Gemma 4 31B",
"format": "mlx",
"quant": "mxfp4",
"architecture": "gemma4",
"source": "mlx-community/gemma-4-31b-mxfp4",
"fileSizeBytes": 17452518872,
"lab": {
"name": "Google",
"slug": "google"
},
"quantizedBy": {
"name": "MLX Community",
"slug": "mlx-community"
}
},
"device": {
"cpu": "Apple M2 Max",
"cpuCores": 12,
"gpu": "Apple M2 Max",
"gpuCores": 30,
"gpuCount": 1,
"ramGb": 32,
"osName": "macOS",
"osVersion": "26.4.1"
},
"decodeTpsMean": 10.2,
"prefillTpsMean": 70.5,
"ttftP50Ms": 57716.15,
"idleTpsMean": 17408,
"peakRssMb": 22528,
"trialsPassed": 10,
"trialsTotal": 10,
"runnabilityScore": 0.20478214285714286,
"bundleSha256": "19dbe9a99522db03376549dcc99410f1644320fa5fd71a0c55f6656f9a816b3f",
"createdAt": "2026-05-11T22:43:35.747Z"
}