Active Parameters
21B
Context Length
128K
Modality
Text
Architecture
Mixture of Experts (MoE)
License
Apache 2.0
Release Date
5 Aug 2025
Knowledge Cutoff
Jun 2024
VRAM requirements for different quantization methods and context sizes
1,024 tokens
Consumer
2x RTX 4090
24GB VRAM
Datacenter
1x NVIDIA A100
80GB VRAM
Apple Silicon
1x Apple M3 Max
128GB VRAM
128,000 tokens
Consumer
3x RTX 4090
24GB VRAM
Datacenter
1x NVIDIA A100
80GB VRAM
Apple Silicon
1x Apple M3 Max
128GB VRAM
Rank
#72
| Benchmark | Score | Rank |
|---|---|---|
Summarization | 0.863 | 9 |
General Knowledge | 0.853 | 13 |
Professional Knowledge | 0.72 | 48 |
General Text | 1318 | 115 |
Overall Rank
#72
Coding Rank
-
GPT-OSS 20B is a text-based language model developed by OpenAI, specifically engineered to deliver high-performance reasoning on consumer-grade hardware. As part of the GPT-OSS family, this model balances computational efficiency with complex task execution, utilizing a sparse architecture to maintain a low memory footprint. It is designed to function as a flexible component in local and enterprise environments, where data privacy and low-latency response times are critical requirements.
The model utilizes a Mixture-of-Experts (MoE) transformer architecture consisting of 24 layers. While the total parameter count is 21 billion, the system only activates 3.6 billion parameters per token during the forward pass. This sparsity is achieved through a routing mechanism that selects four active experts from a pool of 32 for each token. The architecture incorporates several modern optimizations, including SwiGLU activation functions, Root Mean Square (RMS) normalization, and Grouped-Query Attention (GQA) with eight key-value heads to optimize memory throughput. It also supports a native context window of 128,000 tokens using Rotary Positional Embeddings (RoPE).
Functionally, GPT-OSS 20B is optimized for agentic workflows and complex reasoning tasks. It supports features such as native tool use, function calling, and a configurable reasoning effort system that allows developers to adjust the model's processing depth based on the specific latency needs of the application. The model is trained using a specialized response format to facilitate consistent structured outputs and long-form chain-of-thought reasoning, making it suitable for scientific analysis, code generation, and specialized technical assistance on local devices.
Attention
Attention Structure
Multi-Head Attention
Attention Heads
64
Key-Value Heads
8
Attention Head Dimension
64
Position Embedding
Absolute Position Embedding
RoPE Theta
150,000
Sliding Window Attention
Yes
Sliding Window Size
128
Sliding Window Ratio
-
Linear Attention
-
Linear Attention Ratio
-
Normalization
RMS Normalization
Activation Function
SwigLU
Dimensions
Hidden Dimension Size
2,880
Number of Layers
24
FFN Intermediate Size (Dense)
2,880
Multi-Token Prediction Heads
-
Tokenizer
Vocabulary Size
201,088
Mixture of Experts
Total Expert Parameters
3.6B
Number of Experts
32
Active Experts
4
Shared Experts
-
FFN Intermediate Size (per Expert)
-
Dense Layers Before MoE
-
APX AI
Online