The AI arena is free today

Open Superagent

GPT-4.1 mini vs GPT OSS 20B

GPT OSS 20B leads the LLM Stats Score 17.9 to 14.0. GPT OSS 20B is 12.2x cheaper per token.

OpenAI · OpenAI · Updated for 2026

Which is better?

GPT OSS 20B leads the overall LLM Stats Score 17.9 to 14.0, ranking #220 overall.

The models split the 4 individual benchmarks reported for both models evenly.

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

GPT-4.1 mini also accepts a larger context window (1,047,576 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-4.1 mini

  • you process long inputs — it offers a 1,047,576 token context window

Choose GPT OSS 20B

  • overall performance matters — it scores 17.9 and ranks #220 on LLM Stats
  • cost matters — it's about 12.2x 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

At a glance

The differences that matter most.

Core performance indexes
14.0
#243
17.9
#220
13.9
#236
15.6
#226
Cost, coverage & limits
Benchmark wins
2 of 4
2 of 4
Input price
$0.40 / M
$0.03 / M
Output price
$1.60 / M
$0.14 / M
Context window
1,047,576
131,072

Capability indexes

Additional strengths measured across groups of related public benchmarks

1 shared
Index
GPT-4.1 mini
GPT OSS 20B
13.6#226
17.0#200
Conservative TrueSkill rating · higher is betterHow scores work

Individual benchmarks

28 reported for GPT-4.1 mini · 7 for GPT OSS 20B

4 shared

GPT-4.1 mini outperforms in 2 benchmarks (MMLU, TAU-bench Retail), while GPT OSS 20B is better at 2 benchmarks (GPQA, Humanity's Last Exam).

Both models are evenly matched across the benchmarks.

Tue Sep 22 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-4.1 mini ($0.40/1M tokens) is 13.3x more expensive than GPT OSS 20B ($0.03/1M tokens).

For output processing, GPT-4.1 mini ($1.60/1M tokens) is 11.4x more expensive than GPT OSS 20B ($0.14/1M tokens).

In conclusion, GPT-4.1 mini is more expensive than GPT OSS 20B.*

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

Lowest available price from all providers
Tue Sep 22 2026 • llm-stats.com
OpenAI
GPT-4.1 mini
Input tokens$0.40
Output tokens$1.60
Best providerOpenAI
OpenAI
GPT OSS 20B
Input tokens$0.03
Output tokens$0.14
Best providerDeepinfra
Notice missing or incorrect data?Start an Issue

Context Window

Maximum input and output token capacity

GPT-4.1 mini accepts 1,047,576 input tokens compared to GPT OSS 20B's 131,072 tokens. GPT OSS 20B can generate longer responses up to 131,072 tokens, while GPT-4.1 mini is limited to 32,768 tokens.

OpenAI
GPT-4.1 mini
Input1,047,576 tokens
Output32,768 tokens
OpenAI
GPT OSS 20B
Input131,072 tokens
Output131,072 tokens
Tue Sep 22 2026 • llm-stats.com

Input capabilities

Documented input modalities across available providers

GPT-4.1 mini supports multimodal inputs, whereas GPT OSS 20B does not.

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

GPT-4.1 mini

Text
Images
Audio
Video

GPT OSS 20B

Text
Images
Audio
Video

License

Usage and distribution terms

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

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

GPT-4.1 mini

Proprietary

Closed source

GPT OSS 20B

Apache 2.0

Open weights

Release Timeline

When each model was launched

GPT-4.1 mini was released on 2025-04-14, while GPT OSS 20B was released on 2025-08-05.

GPT OSS 20B is 4 months newer than GPT-4.1 mini.

GPT-4.1 mini

Apr 14, 2025

1.4 years ago

GPT OSS 20B

Aug 5, 2025

1.1 years ago

3mo newer

Knowledge Cutoff

When training data ends

GPT-4.1 mini has a documented knowledge cutoff of 2024-05-31, while GPT OSS 20B's cutoff date is not specified.

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

GPT-4.1 mini

May 2024

GPT OSS 20B

Provider Availability

GPT-4.1 mini is available from OpenAI. GPT OSS 20B is available from DeepInfra, Novita, Fireworks, Groq, OpenAI.

GPT-4.1 mini

openai logo
OpenAI
Input Price:Input: $0.40/1MOutput Price:Output: $1.60/1M

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
* 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-4.1 mini and GPT OSS 20B side-by-side, then vote on the output you prefer.

GPT-4.1 mini
✓ Preferred
GPT OSS 20B
Open in Playground

FAQ

Common questions about GPT-4.1 mini vs GPT OSS 20B.

Which is better, GPT-4.1 mini or GPT OSS 20B?

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

How does GPT-4.1 mini compare to GPT OSS 20B in benchmarks?

GPT-4.1 mini scores CharXiv-D: 88.4%, MMLU: 87.5%, IFEval: 84.1%, MMMLU: 78.5%, MathVista: 73.1%. GPT OSS 20B scores MMLU: 85.3%, CodeForces: 74.3%, GPQA: 71.5%, TAU-bench Retail: 54.8%, HealthBench: 42.5%.

Is GPT-4.1 mini cheaper than GPT OSS 20B?

GPT OSS 20B is 13.3x cheaper for input tokens. GPT-4.1 mini costs $0.40/M input and $1.60/M output via openai. GPT OSS 20B costs $0.03/M input and $0.14/M output via deepinfra.

What are the context window sizes for GPT-4.1 mini and GPT OSS 20B?

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

What are the main differences between GPT-4.1 mini and GPT OSS 20B?

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