Will It Run AI

OpenAIOpenAI

GPT-OSS 20B

前沿
8.1M下载量4.7K点赞Aug 2025发布日期128K tokens上下文Apache 2.0许可证90 优秀质量

GPT-OSS 20B (21B parameters) requires approximately 17.1 GB of VRAM with Q4_K_M quantization. As a Mixture of Experts model with 3.5999999046325684B active parameters, it uses less memory than its total parameter count suggests. For the best balance of quality and speed, we recommend hardware with at least 20 GB of VRAM.

快速开始

— 复制粘贴即可本地运行

Copy-paste commands to run GPT-OSS 20B on your machine.

Run

ollama run gpt-oss

Quick specs

Parameters21B (3.6B active)
Architecturemoe (MoE)
Context128K tokens
Modalitytext
Min RAM8.2 GB
Rec. RAM12.8 GB (Q4_K_M)
LicenseApache 2.0
FamilyGPT-OSS
Chat Reasoning

About this model

GPT-OSS 20B 是 OpenAI 首个开源权重模型,一个 21B 参数的混合专家(MoE)模型,每个 token 激活 3.6B 参数。支持可配置的推理强度(低/中/高),完整的思维链可见性,以及函数调用等智能体能力。使用 MXFP4 量化可在 16 GB 内存的设备上运行。

  • OpenAI's first open-weight model under Apache 2.0 license
  • MoE architecture: 24 layers, 32 experts, top-4 routing per token
  • Configurable reasoning effort: low, medium, and high modes
  • Fits in 16GB VRAM with MXFP4 quantization

相关模型

你的硬件

检测中...

快速推荐

最佳硬件

GPT-OSS 20B 的最佳选择

运行此模型

量化选项

各量化级别的 VRAM 估算

No hardware detected — fit column shows raw VRAM estimates

QuantBitsVRAMQualityFit
Q2_K
2
8.2 GB
Low
Q3_K_S
3
10.3 GB
Low
NVFP4
4
11.8 GB
Medium
Q4_K_M
4
12.8 GB
Medium
Q5_K_M
5
15.1 GB
High
Q6_K
6
17.2 GB
High
Q8_0
8
22.5 GB
Very High
F16
16
43.1 GB
Maximum

Quality benchmarks

GPT-OSS 20B benchmark scores

Benchmark verified

Coding

SWE-bench Verified60.7%
HumanEval+
Aider Polyglot
LiveCodeBench74.6%

Reasoning

MMLU-Pro
GPQA Diamond71.5%
MATH-500
ARC Challenge

Source: official · 2025-08-15

硬件兼容性

全部硬件的适配估算

打开计算器

Computing compatibility...

内存详细分析

Reference: RTX 2060 6GB

Weights12.8 GB
KV Cache2.4 GB
Runtime1.2 GB
Headroom0.6 GB

常见问题

FAQ — GPT-OSS 20B

另请参阅