mlx-optiq
← Models

gpt-oss-20b-OptiQ-4bit

openai/gpt-oss-20b, quantized by OptiQ for Apple Silicon; mixture-of-experts.

MoE
On disk11.6 GB
Memoryabout 15 GB
Capability Score71.84

Capability Score breakdown

The six metrics behind this model's Capability Score of 71.84, as reported in the model card. Values are compared with uniform 4-bit.

  • This model
  • Uniform 4-bit
Capability Score breakdown: gpt-oss-20b-OptiQ-4bitMMLU: This model 54.7, Uniform 4-bit 38.0; GSM8K: This model 83.0, Uniform 4-bit 74.3; IFEval: This model 61.9, Uniform 4-bit 55.3; BFCL-V3: This model 70.5, Uniform 4-bit 59.5; HumanEval: This model 82.9, Uniform 4-bit 76.8; HashHop: This model 78.0, Uniform 4-bit 19.0MMLU54.738.0GSM8K83.074.3IFEval61.955.3BFCL-V370.559.5HumanEval82.976.8HashHop78.019.0

Use it

Install

pip install mlx-optiq

Serve it

An OpenAI- and Anthropic-compatible server on this Mac. Every app below can use it.

optiq serve --model mlx-community/gpt-oss-20b-OptiQ-4bit

OptiQ Code

The terminal coding agent uses whatever model optiq serve is running.

optiq serve --model mlx-community/gpt-oss-20b-OptiQ-4bit
optiq code

OptiQ Lab

optiq lab --model mlx-community/gpt-oss-20b-OptiQ-4bit

Claude Code

optiq run claude -m mlx-community/gpt-oss-20b-OptiQ-4bit

Codex

optiq run codex -m mlx-community/gpt-oss-20b-OptiQ-4bit

OpenCode

optiq run opencode -m mlx-community/gpt-oss-20b-OptiQ-4bit

Mistral Vibe

optiq run vibe -m mlx-community/gpt-oss-20b-OptiQ-4bit

Hermes Agent

optiq run hermes -m mlx-community/gpt-oss-20b-OptiQ-4bit

OpenClaw

optiq run openclaw -m mlx-community/gpt-oss-20b-OptiQ-4bit

optiq run starts optiq serve if it is not running, sets the agent up for this session only, and stops the server when the agent exits.

mlx-lm, text only

from mlx_lm import load, generate

model, tokenizer = load("mlx-community/gpt-oss-20b-OptiQ-4bit")
print(generate(model, tokenizer, prompt="Hello", max_tokens=256))

Details

Familygpt-oss
Architecturegpt-oss
Base modelopenai/gpt-oss-20b
Size on disk11.6 GB
Memory neededabout 15 GB
Imagesno, text only
Capability Score71.84 (from the model card)
Downloads3,092 in the last month
Updated2026-09-16
Hugging Facemlx-community/gpt-oss-20b-OptiQ-4bit