How to use from
Pi
Start the MLX server
# Install MLX LM:
uv tool install mlx-lm
# Start a local OpenAI-compatible server:
mlx_lm.server --model "pipenetwork/Gemma-4-26B-A4B-it-MLX-6bit"
Configure the model in Pi
# Install Pi:
npm install -g @earendil-works/pi-coding-agent
# Add to ~/.pi/agent/models.json:
{
  "providers": {
    "mlx-lm": {
      "baseUrl": "http://localhost:8080/v1",
      "api": "openai-completions",
      "apiKey": "none",
      "models": [
        {
          "id": "pipenetwork/Gemma-4-26B-A4B-it-MLX-6bit"
        }
      ]
    }
  }
}
Run Pi
# Start Pi in your project directory:
pi
Quick Links

Gemma-4-26B-A4B-it-MLX-6bit

MLX (Apple Silicon) conversion of google/gemma-4-26B-A4B-it (Mixture-of-Experts, ~4B active), quantized to 6-bit · high quality. Text-only build.

Quantizations

Part of the Gemma-4-26B-A4B-it MLX collection.

Variant Notes
4-bit 4-bit · community build (mlx-community)
8-bit 8-bit · near-lossless
6-bit (this repo) 6-bit · high quality
5-bit 5-bit

Use with mlx-lm

pip install mlx-lm
python -m mlx_lm generate --model pipenetwork/Gemma-4-26B-A4B-it-MLX-6bit --prompt "Explain Mixture-of-Experts briefly." -m 256

Validation

Smoke-tested locally: loads and generates coherent text.

License

Apache 2.0 (inherited from base). Quantization config: {"group_size": 64, "bits": 6, "mode": "affine", "language_model.model.layers.0.router.proj": {"group_size": 64, "bits": 8}, "language_model.model.layers.1.router.proj": {"group_size": 64, "bits": 8}, .

Downloads last month
10
Safetensors
Model size
25B params
Tensor type
BF16
·
U32
·
MLX
Hardware compatibility
Log In to add your hardware

6-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for pipenetwork/Gemma-4-26B-A4B-it-MLX-6bit

Quantized
(348)
this model

Collection including pipenetwork/Gemma-4-26B-A4B-it-MLX-6bit