GPT-OSS 20B

Apache 2.0

OpenAI · 21B (3.6B active) · 專家混合(MoE)

OpenAI 的開放權重 MoE,推理強度可調 看看你的 GPU 或 Mac 跑不跑得動 GPT-OSS 20B——最低 11.7 GB,建議 19.6 GB。

2025-08128K context

專家混合(MoE)

專家總數: 16
啟用專家: 2
啟用參數: 3.6B

量化選項

量化位元VRAM品質狀態
Q2_K27.2 GBlow—
Q3_K_M39.9 GBmoderate—
Q4_K_M411.3 GBgood—
Q5_K_M513.9 GBgood—
Q6_K616.6 GBexcellent—
Q8_0822 GBexcellent—
F161643.5 GBlossless—

關於這個模型

OpenAI gpt-oss banner

Welcome OpenAI’s gpt-oss!

Ollama partners with OpenAI to bring its latest state-of-the-art open weight models to Ollama. The two models, 20B and 120B, bring a whole new local chat experience, and are designed for powerful reasoning, agentic tasks, and versatile developer use cases.

Get started

You can get started by downloading the latest Ollama version.

The model can be downloaded directly in Ollama’s new app or via the terminal:

ollama run gpt-oss:20b

ollama run gpt-oss:120b

Feature highlights

  • Agentic capabilities: Use the models’ native capabilities for function calling, web browsing (Ollama is introducing built-in web search that can be optionally enabled), python tool calls, and structured outputs.
  • Full chain-of-thought: Gain complete access to the model’s reasoning process, facilitating easier debugging and increased trust in outputs.
  • Configurable reasoning effort: Easily adjust the reasoning effort (low, medium, high) based on your specific use case and latency needs.
  • Fine-tunable: Fully customize models to your specific use case through parameter fine-tuning.
  • Permissive Apache 2.0 license: Build freely without copyleft restrictions or patent risk—ideal for experimentation, customization, and commercial deployment.

benchmark

Quantization - MXFP4 format

OpenAI utilizes quantization to reduce the memory footprint of the gpt-oss models. The models are post-trained with quantization of the mixture-of-experts (MoE) weights to MXFP4 format, where the weights are quantized to 4.25 bits per parameter. The MoE weights are responsible for 90+% of the total parameter count, and quantizing these to MXFP4 enables the smaller model to run on systems with as little as 16GB memory, and the larger model to fit on a single 80GB GPU.

Ollama is supporting the MXFP4 format natively without additional quantizations or conversions. New kernels are developed for Ollama’s new engine to support the MXFP4 format.

Ollama collaborated with OpenAI to benchmark against their reference implementations to ensure Ollama’s implementations have the same quality.

20B parameter model

gpt-oss 20B

gpt-oss-20b model is designed for lower latency, local, or specialized use-cases.

120B parameter model

gpt-oss 120B

Reference

我的電腦跑得動 GPT-OSS 20B 嗎?

我的電腦跑得動 GPT-OSS 20B 嗎?
GPT-OSS 20B 最少需要約 11.7 GB 記憶體,建議 19.6 GB。打開這一頁就會依你的 GPU 或 Mac 評級,接著用 runai、Ollama 或 LM Studio 執行。
GPT-OSS 20B 需要多少 VRAM?
Q4_K_M 量化時,GPT-OSS 20B 大約用 11.3 GB VRAM。更高的量化等級要更多記憶體;更低的能塞進較小的顯示卡,但品質會打折。