ApX logoApX logo
CalculatorCoursesPricing

GPT-OSS 20B

Open Source
Open Weights

Parameters

21B

Context Length

128K

Modality

Text

Architecture

Mixture of Experts

KV Cache Rate

48 KB/tok

License

Apache 2.0

Release Date

5 Aug 2025

Knowledge Cutoff

Jun 2024

API Pricing (per 1M)

Input: $0.02 · Output: $0.11

Hardware & System Requirements

Precision

Context

Workload Memory: 12.65 GB

vLLM

INT4 · 8K context · 1 user

Base Weights: 9.78 GB

KV Cache: 0.38 GB

Runtime & Graphs: 2.50 GB

Minimum Required Hardware

1x NVIDIA L4 24GB

vLLM

12.7 / 21.6 GB

1x RTX 4060 Ti 16GB

llama.cpp

12.7 / 14.9 GB

Apple M4 24GB

llama.cpp

12.7 / 18.0 GB

Determine requirements for concurrent users or multi-node clusters:

Runtime compatibility

Verified on hardware and checkpoint files.

Checkpoint format

MXFP4

CUDA

13.0

PyTorch

2.14.0

Transformers

≥ 4.40.1

ArchitecturePrecisionKernel

Hopper

Native MXFP4

FlashAttention-3

Architecture Diagram

Input TokensToken EmbeddingPosition: AbsoluteHidden: 2.9k · Context: 128K · Vocab: 201.1kx 24 layersRMSNormPre-AttentionMulti-Head Attention64Q / 8KV heads · SW: 128Head dim: 64+RMSNormPre-FFNSparse MoE FFNSwiGLU4/32 experts+Final RMSNormOutput Logits

Evaluation Benchmarks

Rank

#155

BenchmarkScoreRank

Graduate-Level QA

GPQA
high

0.742

Standard

0.715

#79

#82

Agentic Index

Artificial Analysis
high

0.01

#111

high

0.21

#132

General Text

Text Arena

1317.5

#166

Intelligence Index

Artificial Analysis
high

0.09

low

0.10

#270

#259

Summarization

Archived
ProLLM Summarization

0.863

#6

General Knowledge

Reference
MMLU

0.853

#11

Rankings

Overall Rank

#155

Coding Rank

#149

About GPT-OSS 20B

GPT-OSS 20B is an open-weight Mixture-of-Experts language model by OpenAI designed for efficient local reasoning on consumer hardware. It activates 3.6B parameters per token and features native tool use across a 128K context window.

Specifications

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

Normalization

RMS Normalization

Activation Function

SwiGLU

Dimensions

Base Precision

MXFP4

Hidden Dimension Size

2,880

Number of Layers

24

FFN Intermediate Size (Dense)

2,880

Tokenizer

Vocabulary Size

201,088

Mixture of Experts

Active Parameters

3.6B

Number of Experts

32

Active Experts

4

About GPT-OSS

Open-weight language models from OpenAI.


Other GPT-OSS Models