The LLMCheck index estimates Gemma 4 E4B at ~54 tok/s on an M6 at Q4_K_M, a figure from its published bandwidth model, not a measured run. It needs about 6 GB of unified memory. It is Google's 4B dense model, released under the Apache 2.0 licence.
Want to run Gemma 4 E4B faster — or step up to bigger models? Find your Mac →This is an LLMCheck index estimate from its published two-term bandwidth model, not a measured run; the index labels it so everywhere it appears. The bandwidth formula’s typical error for dense models is ±9%, against 75 measured runs of 20 models (how it is computed). Own this Mac? Submit a real run →
| Metric | Value |
|---|---|
| Tokens per second | estimated~54 tok/s |
| Provenance | estimate · how estimates are made |
| Quantization | Q4_K_M |
| Engine | MLX |
| Figure dated | 2026-08 |
| Minimum RAM | 6 GB |
| Parameters | 4B |
| Chip bandwidth | 170 GB/s |
Each row as the index holds it, with its source. “Mac RAM” is the memory of the Mac a run used, not the model’s requirement (6 GB). The headline figure follows the reference rule: the lower-median measured plain-decode run at 5 bits or fewer (a run whose quant was not stated counts only when no stated-quant run qualifies), else the estimate; a run marked “not used to anchor estimates” is listed here but never becomes the headline.
| Speed | Quant | Engine | Mac RAM | Context | Source | Note |
|---|---|---|---|---|---|---|
| community29 tok/s | 8-bit | MLX | 32 GB | 1k | omlx.ai | 12-core GPU. oMLX v0.7.3, MTP/DFlash off; gemma-4-E4B-it-MLX-8bit; 7.9 GB peak. 28.3 tok/s at 4k. |
| estimated54 tok/s | Q4_K_M | MLX | 24 GB | — | LLMCheck estimator | — |
Measured figures only, each from its source’s own session; the index does not estimate long-context or prefill speed, so a missing cell is —. Each @ column is plain decode with that many tokens already in the prompt, from the same session as the row’s short-context figure: decode slows as the KV cache it reads grows. Prefill is prompt processing, the tokens per second a runtime reads a prompt at; with long agent contexts it sets how long you wait before the first token.
| Run | Decode (row) | @4K | @8K | Prefill | TTFT |
|---|---|---|---|---|---|
| MLX · 8-bit · 32 GB Mac · omlx.ai | community29 tok/s | community28.3 tok/s | community27.2 tok/s | community2535 tok/s | community0.622 s |
Ollama — install it (brew install ollama or the app from ollama.com), then pull the model by its tag, checked on ollama.com on 2026-11-14:
MLX — pick a build from Hugging Face’s MLX listings, then run it with its repo id:
Downloads: Ollama page → · Hugging Face model card →
Prefer a GUI? LM Studio downloads GGUF and MLX builds in one click. Step by step: install Ollama on a Mac.
Google's best small model — multimodal with audio, function calling, 128K context. Rivals much larger models.
Apache 2.0 licence · 4B · 128K context · LLMCheck capability 16/50 · see its leaderboard rank →
Estimated, not measured: the index’s minimum for Gemma 4 E4B (6 GB — the weights at the quant that fits, plus ~2 GB) plus the KV cache for that many tokens, computed from its config.json. 4 full layers (2 kv heads x 512) + 20 sliding layers (2 x 256, window 512); the last 18 layers share earlier layers' KV and store none. A 16-bit KV cache is the default in llama.cpp, Ollama, LM Studio and mlx-lm; a q8 cache halves the KV part. Coding agents hold 64K tokens or more. Runtimes also add a buffer that grows with context, so leave a few GB spare. macOS lets the GPU use only part of a Mac’s memory by default (figures for an M6 Mac, which runs macOS 26 or later): “fits” means within the GPU memory a Mac of that tier can use with the limit raised, a tier tagged raise GPU limit fits only after sudo sysctl iogpu.wired_limit_mb raises it (the tooltip has the exact command), and the last column is the smallest Mac memory size whose default limit holds it (the GPU memory limit).
Gemma 4 E4B needs about 6 GB of unified memory. These Apple Silicon Macs have enough to run it.
As an Amazon Associate, LLMCheck earns from qualifying purchases. These affiliate links cost you nothing extra and help keep the LLMCheck index free.
See how Gemma 4 E4B stacks up against other models on your specific Mac hardware.
Open Compare Tool Full Leaderboard