The AI arena is free today

Open Superagent

GPT OSS 20B vs Grok-4

Grok-4 leads the LLM Stats Score 33.7 to 18.0. GPT OSS 20B is 104.3x cheaper per token.

OpenAI · xAI · Updated for 2026

Which is better?

Grok-4 leads the overall LLM Stats Score 33.7 to 18.0, ranking #98 overall.

In the 2 individual benchmarks reported for both models, Grok-4 wins 2; this is a narrower head-to-head signal than the composite indexes.

On price, GPT OSS 20B is roughly 104.3x cheaper per token on a blended 3:1 input/output basis, which adds up quickly at production volume.

Grok-4 also accepts a larger context window (256,000 input tokens), making it the stronger choice for long documents and large codebases.

Based on current LLM Stats indexes, shared benchmarks, pricing, and model metadata for 2026.

Choose GPT OSS 20B

  • cost matters — it's about 104.3x cheaper per token
  • you want the most recent training data — it shipped Aug 2025
  • you need open weights you can self-host or fine-tune

Choose Grok-4

  • overall performance matters — it scores 33.7 and ranks #98 on LLM Stats
  • your work emphasizes reasoning — it leads those capability indexes
  • you value its reported benchmark strengths — it wins 2 of 2 exact shared results
  • you process long inputs — it offers a 256,000 token context window

At a glance

The differences that matter most.

Core performance indexes
18.0
#216
33.7
#98
15.6
#222
32.9
#101
Cost, coverage & limits
Benchmark wins
0 of 2
2 of 2
Input price
$0.03 / M
$3.00 / M
Output price
$0.14 / M
$15.00 / M
Context window
131,072
256,000

Capability indexes

Additional strengths measured across groups of related public benchmarks

1 shared
Index
GPT OSS 20B
Grok-4
17.0#199
31.4#67
Conservative TrueSkill rating · higher is betterHow scores work

Individual benchmarks

7 reported for GPT OSS 20B · 7 for Grok-4

2 shared

GPT OSS 20B outperforms in 0 benchmarks, while Grok-4 is better at 2 benchmarks (GPQA, Humanity's Last Exam).

Grok-4 significantly outperforms across most benchmarks.

Mon Sep 21 2026 • llm-stats.com

Human preference

Blind head-to-head votes and playground preference scores

Pricing Analysis

Price comparison per million tokens

GPT OSS 20B costs less

For input processing, GPT OSS 20B ($0.03/1M tokens) is 100.0x cheaper than Grok-4 ($3.00/1M tokens).

For output processing, GPT OSS 20B ($0.14/1M tokens) is 107.1x cheaper than Grok-4 ($15.00/1M tokens).

In conclusion, Grok-4 is more expensive than GPT OSS 20B.*

* Using a 3:1 ratio of input to output tokens

Lowest available price from all providers
Mon Sep 21 2026 • llm-stats.com
OpenAI
GPT OSS 20B
Input tokens$0.03
Output tokens$0.14
Best providerDeepinfra
xAI
Grok-4
Input tokens$3.00
Output tokens$15.00
Best providerxAI
Notice missing or incorrect data?Start an Issue

Context Window

Maximum input and output token capacity

Grok-4 accepts 256,000 input tokens compared to GPT OSS 20B's 131,072 tokens. GPT OSS 20B can generate longer responses up to 131,072 tokens, while Grok-4 is limited to 8,000 tokens.

OpenAI
GPT OSS 20B
Input131,072 tokens
Output131,072 tokens
xAI
Grok-4
Input256,000 tokens
Output8,000 tokens
Mon Sep 21 2026 • llm-stats.com

Input capabilities

Documented input modalities across available providers

Grok-4 supports multimodal inputs, whereas GPT OSS 20B does not.

Grok-4 can handle both text and other forms of data like images, making it suitable for multimodal applications.

GPT OSS 20B

Text
Images
Audio
Video

Grok-4

Text
Images
Audio
Video

License

Usage and distribution terms

GPT OSS 20B is licensed under Apache 2.0, while Grok-4 uses a proprietary license.

License differences may affect how you can use these models in commercial or open-source projects.

GPT OSS 20B

Apache 2.0

Open weights

Grok-4

Proprietary

Closed source

Release Timeline

When each model was launched

GPT OSS 20B was released on 2025-08-05, while Grok-4 was released on 2025-07-09.

GPT OSS 20B is 1 month newer than Grok-4.

GPT OSS 20B

Aug 5, 2025

1.1 years ago

3w newer
Grok-4

Jul 9, 2025

1.2 years ago

Knowledge Cutoff

When training data ends

Grok-4 has a documented knowledge cutoff of 2024-12-31, while GPT OSS 20B's cutoff date is not specified.

We can confirm Grok-4's training data extends to 2024-12-31, but cannot make a direct comparison without GPT OSS 20B's cutoff date.

GPT OSS 20B

Grok-4

Dec 2024

Provider Availability

GPT OSS 20B is available from DeepInfra, Novita, Fireworks, Groq, OpenAI. Grok-4 is available from xAI.

GPT OSS 20B

deepinfra logo
Deepinfra
Input Price:Input: $0.03/1MOutput Price:Output: $0.14/1M
novita logo
Novita
Input Price:Input: $0.05/1MOutput Price:Output: $0.20/1M
fireworks logo
Fireworks
Input Price:Input: $0.10/1MOutput Price:Output: $0.50/1M
groq logo
Groq
Input Price:Input: $0.10/1MOutput Price:Output: $0.50/1M
openai logo
OpenAI
Input Price:Input: $0.10/1MOutput Price:Output: $0.50/1M

Grok-4

xai logo
xAI
Input Price:Input: $3.00/1MOutput Price:Output: $15.00/1M
* Prices shown are per million tokens

Outputs Comparison

Notice missing or incorrect data?Start an Issue discussion

Judge for yourself.

Run your own prompts against GPT OSS 20B and Grok-4 side-by-side, then vote on the output you prefer.

GPT OSS 20B
✓ Preferred
Grok-4
Open in Playground

FAQ

Common questions about GPT OSS 20B vs Grok-4.

Which is better, GPT OSS 20B or Grok-4?

Grok-4 leads the LLM Stats Score 33.7 to 18.0. GPT OSS 20B is made by OpenAI and Grok-4 is made by xAI. The best choice depends on your use case — compare their capability indexes, individual benchmarks, pricing, and limits above.

How does GPT OSS 20B compare to Grok-4 in benchmarks?

GPT OSS 20B scores MMLU: 85.3%, CodeForces: 74.3%, GPQA: 71.5%, TAU-bench Retail: 54.8%, HealthBench: 42.5%. Grok-4 scores AIME 2025: 91.7%, HMMT25: 90.0%, GPQA: 87.5%, LiveCodeBench: 79.0%, Humanity's Last Exam: 40.0%.

Is GPT OSS 20B cheaper than Grok-4?

GPT OSS 20B is 100.0x cheaper for input tokens. GPT OSS 20B costs $0.03/M input and $0.14/M output via deepinfra. Grok-4 costs $3.00/M input and $15.00/M output via xai.

What are the context window sizes for GPT OSS 20B and Grok-4?

GPT OSS 20B supports 131K tokens and Grok-4 supports 256K tokens. A larger context window lets you process longer documents, conversations, or codebases in a single request.

What are the main differences between GPT OSS 20B and Grok-4?

Key differences include LLM Stats Score (18.0 vs 33.7), context window (131K vs 256K), input pricing ($0.03 vs $3.00/M), multimodal support (no vs yes), licensing (Apache 2.0 vs Proprietary). See the full comparison above for benchmark-by-benchmark results.

Who makes GPT OSS 20B and Grok-4?

GPT OSS 20B is developed by OpenAI and Grok-4 is developed by xAI.