gpt-oss-20b vs Llama-3.1-8B-Instruct

Specs, VRAM requirements and download trends — updated 10 November 2026.

openai · A · Open weights
Params
21.5 B
Context
131,072
30d
5.8 M
apache-2.0 · commercial OK
meta-llama · B · Open weights
Params
8.0 B
Context
—
30d
4.5 M
llama3.1 licence · conditional

Specification comparison

Differences are highlighted; identical values are muted.

Specification gpt-oss-20b Llama-3.1-8B-Instruct
Deployment Open weights · also via API Open weights · also via API
Parameters 21.5 B 8.0 B
Architecture GptOssForCausalLM LlamaForCausalLM
Context length 131,072 131,072
Licence apache-2.0 llama3.1
Commercial use Allowed Conditional
Languages — 8
Downloads 30d 5,830,063 4,504,499
Downloads all time 108.5 M 193.6 M
Quantizations on the Hub SAFETENSORS SAFETENSORS
Gated No Yes — accept licence
First seen on the Hub 2025-08-04 2024-07-18
API input price / 1M tokens $0.03 $0.02
API output price / 1M tokens $0.13 $0.04
Est. cost per 1M input + 1M output tokens $0.16 $0.06
Cached input / 1M tokens $0.03 —
AA Intelligence Index — —
AA Coding Index 20.7 5.4
AA Agentic Index 1.2 —
Max output tokens 117,964 16,384
API providers 10 4
Tool calling Yes Yes
Reasoning mode Yes No

API cost

Estimated cost of 1M input + 1M output tokens via OpenRouter

gpt-oss-20b $0.16
Llama-3.1-8B-Instruct $0.06

Llama-3.1-8B-Instruct is 2.7× cheaper at list price.

Download trend

Daily snapshots, last 90 days (13 Aug – 10 Nov)

8.1 M4.3 M
gpt-oss-20b Llama-3.1-8B-Instruct A overtook B on 16 Oct

VRAM side by side

On RTX 4090 · 24 GB · 8K context unless noted

Llama-3.1-8B-Instruct · fp16 19.4 GB / 24 GB
✅ Runs comfortably
gpt-oss-20b · fp16 @ 128K ctx 82.4 GB / 24 GB
❌ Won’t fit

Adjacent comparisons