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).
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.
| Task | P5 (low) | Avg | P95 (high) |
|---|---|---|---|
| Overall | 73.5 | 74.5 | 75.6 |
| Agent Workflow | 79.9 | 81.0 | 82.1 |
| Code Generation | 63.4 | 67.0 | 70.5 |
| Role Play & Narrative | 79.9 | 80.2 | 80.5 |
| Research & Analysis | 68.7 | 70.0 | 71.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.
| Hardware | Tool | Quant | Best tok/s | Avg tok/s | Memory | Context | Quality | Runs |
|---|---|---|---|---|---|---|---|---|
| Apple M5 Max | oMLX | 4bit | 21.0 tok/s | 18.6 tok/s | 22.4 GB | 131,072 tokens | 74.5 | 2 |
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.