Model benchmarks

unsloth--gemma-4-31b-it-UD-MLX-4bit local LLM performance

As of November 2026, unsloth--gemma-4-31b-it-UD-MLX-4bit runs at up to 21.0 tok/s for local inference (best of 2 community benchmark runs across 1 GPU).

oMLX4bit
ShareRedditX

Model size

31B

Peak speed

21.0 tok/s

Average speed

18.6 tok/s

Avg PP

465.6 tok/s

Min memory

22.4 GB

Max context

131,072 tokens

Avg output / run

6,813 tokens

Avg runtime / run

6m 21s

Avg quality

74.5

Benchmark runs

2

GPUs tested

1

Quality by task

Average LLM-judged quality (0–100) with the run-to-run spread shown as a P5–P95 band, overall and for each benchmark task, across all 2 runs. The low and high columns show how much the judge’s score varies between runs, and need at least two runs to display.

TaskP5 (low)AvgP95 (high)
Overall73.574.575.6
Agent Workflow79.981.082.1
Code Generation63.467.070.5
Role Play & Narrative79.980.280.5
Research & Analysis68.770.071.4

Performance by hardware and tool

Every hardware/tool/quantization combination unsloth--gemma-4-31b-it-UD-MLX-4bit has been benchmarked on, ranked by peak token generation speed. Last updated November 2026.

HardwareToolQuantBest tok/sAvg tok/sMemoryContextQualityRuns
Apple M5 MaxoMLX4bit21.0 tok/s18.6 tok/s22.4 GB131,072 tokens74.52

Benchmark runs

All 2 unsloth--gemma-4-31b-it-UD-MLX-4bit runs submitted so far — expand one for its hardware, quality breakdown and per-scenario detail.

Frequently asked questions

Is unsloth--gemma-4-31b-it-UD-MLX-4bit good for coding?
In our benchmarks, unsloth--gemma-4-31b-it-UD-MLX-4bit scores 67.0/100 for coding. It runs at about 18.6 tok/s, so if you want more speed, inkling-smallcard-4.2bpw is faster (~65.3 tok/s) and still scores well for coding (86.4/100).
Is unsloth--gemma-4-31b-it-UD-MLX-4bit good for agentic (tool-using) tasks?
In our benchmarks, unsloth--gemma-4-31b-it-UD-MLX-4bit scores 81.0/100 for agentic workflows. It runs at about 18.6 tok/s, so if you want more speed, muse-glimmer:latest is faster (~32.3 tok/s) and still scores well for agentic workflows (91.4/100).
How fast is unsloth--gemma-4-31b-it-UD-MLX-4bit for local inference?
Across 2 community benchmark runs, unsloth--gemma-4-31b-it-UD-MLX-4bit reaches up to 21.0 tok/s and averages 18.6 tok/s, with the fastest results on Apple M5 Max.
How much memory does unsloth--gemma-4-31b-it-UD-MLX-4bit need?
The leanest observed configuration used about 22.4 GB of memory (quantizations tested: 4bit).
Which tools have been used to run unsloth--gemma-4-31b-it-UD-MLX-4bit?
Benchmarks were submitted using oMLX. Results are community-contributed and updated as new runs arrive.