WWhichAITry via Vercel AI Gateway
Compare/head-to-head

GPT-OSS 20B vs Grok 4

OpenAI's open-weights return. Meanwhile, grok 4: real-time-aware, unfiltered, strong reasoner.

Side-by-side

Specs

DimensionGPT-OSS 20BGrok 4
Provider
OpenAI
xAI
Released
2025-09
2025-11
Context window
128K
256K
Output max
8K
64K
Input /M
$0.15
$5.00
Output /M
$0.60
$15.00
Modalities
text
text, image
Open weights
yes
no
Scorecard

Dimension-by-dimension

GPT-OSS 20B
Grok 4
reasoning
7.0
9.0
coding
7.0
8.0
writing
7.0
8.0
speed
9.0
7.0
value
10.0
7.0
Verdict

Which wins, by use case

Use caseWinnerWhy
codingGrok 4a coin flip on our weighted coding score
writingGrok 4a coin flip on our weighted writing score
chatGPT-OSS 20Ba decisive lead on our weighted chat score
agentsGrok 4a clear edge on our weighted agents score
summarizationGPT-OSS 20Ba decisive lead on our weighted summarization score
translationGPT-OSS 20Ba clear edge on our weighted translation score
reasoningGrok 4a decisive lead on our weighted reasoning score
researchGrok 4a coin flip on our weighted research score
vision and multimodalGrok 4a coin flip on our weighted vision score
Cheapest AI models for bulk workloadsGPT-OSS 20Ba decisive lead on our weighted cheap-bulk score
Bottom line

Our take

Pick GPT-OSS 20B if you need: single-gpu inference, open weights.

Pick Grok 4 if you need: real-time data integration, competitive on stem.

At a 500M-input / 150M-output monthly volume, GPT-OSS 20B costs roughly $165 vs Grok 4 at $4750. Use our calculator to plug in your own numbers.

Keep browsing

Other comparisons