Local AI · Recipe · 1× Mac

Gemma-4 MLX 4-bit with MLX on 1× Mac

Gemma-4 MLX 4-bit with MLX on 1× Mac: 102 tok/s according to github.com (dataset as of Nov 3, 2026).

by 0xBakeer

102tok/sPeak

1 request, best value reported by source

Source: github.com
Intelligence (original model) · Artificial Analysis8with thinkingno thinking 7

Engine

Engine
LM Studio (MLX-Backend) 0.4.21
Quantization
mlx-4bit
Model family
Gemma-4
Context
131,072
Parameters
E2B (Größe lt. Modellname)
Creator
0xBakeer
GitHub stars
16
Repo updated
Oct 19, 2026

Measurements

Every sourced value of this recipe, each with its condition and source. Bars relative to the largest value in the group.

Decode · 1 request

  • Peak (decode)102 tok/scontext 256 in/256 out · Decode_tok_s_per_request p50; Aggregat output_tok_s 89.718; ram_peak 19.029 GB Source 

Prefill by context

Time to first token

Shorter is better.

  • Prompt not stated382 mscontext 256 in · P50 Source 

What you need

Hardware
1 × Mac / Apple Silicon
Weights
Engine
LM Studio (MLX-Backend) 0.4.21
Context
131,072 tokens

Related recipes

← Back to overview

Local AI in your company?

In a workshop we work out which models and which hardware fit your tasks, and build the first agent on your infrastructure.