All cards

gpt-oss-120b / 20b

OpenAI · Released: unverified (Ollama lists cloud tags as ~1 year old) · Last verified 2026-10-16

Apache-2.0 MoE models shipped natively in MXFP4. Uses the Harmony format; many early Jinja templates rendered it wrong.

Recommended quants

Chat template Caveats

Unsloth found several differences between common Jinja templates and OpenAI's Harmony renderer (tool-call escaping, extra newlines, wrong channel for tool thoughts, missing final channel).

Fix: Use Unsloth uploads (fixes partly upstreamed per Unsloth) or render with Harmony. Run llama.cpp with --jinja.

Sampling settings

All tasks (OpenAI)temp 1.0, top_p 1.0, top_k 0 (or try 100)
Contextmin 16,384 recommended; max 131,072
Reasoning effortlow / medium / high

Runtimes

vLLMUnverifiedNot checked in an opened source.
llama.cppWorksDocumented by Unsloth; -ot ".ffn_.*_exps.=CPU" to offload MoE layers.
OllamaWorksOfficial gpt-oss tags, native MXFP4.
LM StudioWorksListed as a supported way to run 20b by Unsloth.
MLXUnverified

Tool calling in agent tools

Claude Code (local endpoint)UnverifiedOllama documents ollama launch claude --model gpt-oss.
OpenCodeUnverifiedOllama documents ollama launch opencode --model gpt-oss.
ClineUnverified
AiderUnverified

Known issues

Sources checked

Spotted something wrong or a new fix? Corrections are reviewed before publishing. (Submission form coming soon.)