Skip to main content
BenchLM
Data

GPT-5.4 mini vs GPT-OSS 20B

Updated October 29, 2026. Rank says GPT-5.4 mini is ahead. Price, access, and your workload can each overturn that. Public scores include evidence status and uncertainty.

Share or export
Share on XLinkedInAPI/MCP

Decision reading

GPT-5.4 mini has the higher public point estimate, 52.98 versus 37.11. Their conditional score ranges overlap. These ranges do not establish rank confidence. 2 results are shared. Category rows resting on Estimated evidence or different benchmark sets are marked directional and do not name a winner.

Model A
OpenAI logo

OpenAI

52.98/100

Supported · Public rank #86

90% interval 41.6–64.3

Model B
OpenAI logo

OpenAI

37.11/100

Estimated · Public rank #151

Conditional range 27.4–46.8

Shared results
2
GPT-5.4 mini only
20
GPT-OSS 20B only
5
Like-for-like categories
1 / 8
Supported: GPT-5.4 mini · Estimated: GPT-OSS 20B. Conditional ranges do not establish rank confidence.How the comparison works

Which one for your work

Recommendations appear only when a shared evidence basis or an explicit operating constraint supports the call. Secondary and unsupported use cases stay disclosed below the initial list.

  • Long documents

    Prompts that approach the documented context limit

    GPT-5.4 mini

    GPT-5.4 mini has the larger documented context window.

    Confidence: documented
Show secondary and unsupported calls
  • Coding work

    Code generation, repair, and software-engineering tasks

    Not enough matched evidence

    GPT-OSS 20B is scored on Estimated evidence for coding, so the reading is directional rather than like-for-like.

    Confidence: limited
  • Agentic work

    Tool use, computer use, and multi-step task completion

    Not enough matched evidence

    GPT-OSS 20B is scored on Estimated evidence for agentic, so the reading is directional rather than like-for-like.

    Confidence: limited
  • Chat turn cost

    1K fresh input + 500 output tokens

    Not enough matched evidence

    A complete comparable API-rate estimate is not available for both models.

    Confidence: listed-rates
  • Cache-heavy agent loop cost

    200K cached + 20K fresh input + 10K output tokens

    Not enough matched evidence

    The page does not recommend a cost winner because at least one model cannot fit the stated workload in one request. GPT-OSS 20B does not fit this workload in one request. GPT-OSS 20B has no comparable published API token rate.

    Confidence: listed-rates
  • Repository review cost

    50K fresh input + 3K output tokens

    Not enough matched evidence

    A complete comparable API-rate estimate is not available for both models.

    Confidence: listed-rates

Which one for a specific job

Choose a job from the LLM Selector's task catalog to see the category row it rests on, under the same basis rules as the table below. A directional row stays directional; choosing a job never creates a winner.

The same task catalog as the LLM Selector. Each job names the evidence surface it rests on; nothing here adds a new score.

35.3GPT-5.4 mini24.3GPT-OSS 20B

Directional only · BenchAlign v5.8

GPT-5.4 mini has the higher coding point estimate. Conditional score ranges do not establish rank confidence.

Coding scores combine specific tasks and setups. Match the editor, harness, and effort to your workflow.

Same basis rules as the category table below

What is actually comparable

Shared results can support a head-to-head reading. Results present for only one model describe coverage, not superiority.

3 categories rest on Estimated evidence or different evidence sets. Those rows remain visible for coverage context but do not name a winner.

Shape of the matched evidence

Only shared public evidence is shown. Sparse evidence stays a ruled list rather than being closed into a radar shape.

Too few matched category axes support a radar. The ruled list below shows only shared benchmark results; positions use each benchmark’s normalized display scale when available.

Bars run 0–100 on each benchmark’s normalized display scale

Category results, on a stated basis

Each row shows the public-lane category score for both models: the BenchAlign v5.8 lane for agentic, coding, and knowledge, and the weighted public rows elsewhere, with the same rank each model page reports. A row is like-for-like only when both scores rest on Supported evidence or the same weighted set. Directional and not-comparable rows remain visible, but they never receive a winner.

Knowledge

Like-for-like
GPT-5.4 mini
50.5
Supported · #77/179
GPT-OSS 20B
35.7
Supported · #133/179
Basis
BenchAlign v5.8 lane · 5 vs 3 public rows
Reading
GPT-5.4 mini leads · intervals overlap

Agentic

Directional only
GPT-5.4 mini
36.4
Supported · #84/135
GPT-OSS 20B
24.0
Estimated · #119/135
Basis
BenchAlign v5.8 lane · 6 vs 0 public rows
Reading
Directional only

Coding

Directional only
GPT-5.4 mini
35.3
Supported · #80/156
GPT-OSS 20B
24.3
Estimated · #123/156
Basis
BenchAlign v5.8 lane · 5 vs 2 public rows
Reading
Directional only

Instruction following

Directional only
GPT-5.4 mini
89.9
#30/157
GPT-OSS 20B
79.2
#64/157
Basis
Provisional lane · 0 vs 0 weighted rows
Reading
Directional only

Reasoning

Not comparable
GPT-5.4 mini
43.7
Unranked · 4 rankable rows
GPT-OSS 20B
48.8
Unranked · 2 rankable rows
Basis
Provisional lane · 1 vs 0 weighted rows
Reading
Not comparable

Multimodal

Not comparable
GPT-5.4 mini
74.0
#29/58
GPT-OSS 20B
Not ranked
Basis
Provisional lane · 1 vs 0 weighted rows
Reading
Not comparable

Multilingual

Not comparable
GPT-5.4 mini
Not ranked
GPT-OSS 20B
Not ranked
Basis
Provisional lane · 0 vs 0 weighted rows
Reading
Not comparable

Math

Not comparable
GPT-5.4 mini
55.9
Unranked · 2 rankable rows
GPT-OSS 20B
Not ranked
Basis
Provisional lane · 2 vs 0 weighted rows
Reading
Not comparable

Ranks count the models scored in each category’s lane, so the agentic, coding, and knowledge denominators (BenchAlign v5.8) differ from the provisional-lane categories. Unranked scores sit on the provisional lane’s scale but never name a winner. Like-for-like rows within 0.5 points read as a practical tie.

Supported evidence per lane · bars run 0–100Methodology

What each workload costs

Three fixed token mixes turn per-token rates into comparable decisions. Each scenario states context fit and whether cached input had to fall back to the published list-input rate.

Chat turn

1K fresh input + 500 output tokens

GPT-5.4 mini
$0.003
Fits in one request
GPT-OSS 20B
Self-hosted; infrastructure cost varies
Fits in one request

GPT-OSS 20B has no comparable published API token rate.

Repository review

50K fresh input + 3K output tokens

GPT-5.4 mini
$0.051
Fits in one request
GPT-OSS 20B
Self-hosted; infrastructure cost varies
Fits in one request

GPT-OSS 20B has no comparable published API token rate.

Cache-heavy agent loop

200K cached + 20K fresh input + 10K output tokens

GPT-5.4 mini
$0.075
Fits in one request
GPT-OSS 20B
Self-hosted; infrastructure cost varies
Does not fit in one request
Cached-input rate unavailable

GPT-OSS 20B does not fit this workload in one request. GPT-OSS 20B has no comparable published API token rate.

Cached input falls back to the list input rate only where a cached rate is unpublished

Specification differences

Sourced differences are shown directly. Missing facts stay explicit instead of being inferred from a model name or family.

Cached-input rate

A missing cached-input rate falls back to the listed input rate only in the stated workload estimate.

GPT-5.4 mini

$0.075 per 1M cached input tokens

OpenAI pricing

GPT-OSS 20B

No comparable hosted API rate

Provider availability

GPT-5.4 mini

Generally Available · OpenAI Responses API

OpenAI model catalog

GPT-OSS 20B

Not sourced

Reasoning profile

GPT-5.4 mini

Reasoning

GPT-OSS 20B

Non-Reasoning

Weight access

GPT-5.4 mini

Proprietary

GPT-OSS 20B

Open Weight

License

GPT-5.4 mini

Proprietary

GPT-OSS 20B

Open Weight

Release date

GPT-5.4 mini

2026-03-17

GPT-OSS 20B

2025-08-05

If you already use one of these models

Deployment change
Both entries list OpenAI as the provider. Confirm endpoint, model ID, limits, and feature support before switching.
Quality signal
GPT-5.4 mini has the higher public point estimate, 52.98 versus 37.11. Their conditional score ranges overlap. These ranges do not establish rank confidence.
Workload cost
A complete comparable API-rate estimate is not available for both models.
Context tradeoff
GPT-5.4 mini has the larger documented window (400K).
Run the same representative tasks against both endpoints before changing production traffic.

Questions

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

GPT-5.4 mini has the higher public point estimate, 52.98 versus 37.11. Their conditional score ranges overlap. These ranges do not establish rank confidence. The page therefore keeps the decision tied to the specific documented workload.

Which is better for coding, GPT-5.4 mini or GPT-OSS 20B?

GPT-5.4 mini scores higher for coding on the public lane, 35.3 to 24.3. GPT-OSS 20B is scored on Estimated evidence for coding, so the reading is directional rather than like-for-like. BenchLM does not name a winner for coding from a directional reading; read the shared benchmark rows directly and test the models on the same task set.

Which is better for agentic tasks, GPT-5.4 mini or GPT-OSS 20B?

GPT-5.4 mini scores higher for agentic tasks on the public lane, 36.4 to 24. GPT-OSS 20B is scored on Estimated evidence for agentic tasks, so the reading is directional rather than like-for-like. BenchLM does not name a winner for agentic tasks from a directional reading; read the shared benchmark rows directly and test the models on the same task set.

Which costs less, GPT-5.4 mini or GPT-OSS 20B?

Both models do not have comparable published API token rates, so this page does not name a universal price winner.

Which has the larger context window, GPT-5.4 mini or GPT-OSS 20B?

GPT-5.4 mini has the larger documented context window: 400K, compared with 128K.

Benchmark evidence

The full public result ledger is available for audit without forcing a wide desktop table onto a phone.

Browse raw public benchmark evidence27 rows

Agentic

  • Terminal-Bench 2.0

    GPT-5.4 mini60%
    Source
    GPT-OSS 20B—

    Not directly comparable

  • OSWorld-Verified

    GPT-5.4 mini72.1%
    Source
    GPT-OSS 20B—

    Not directly comparable

  • MCP Atlas

    GPT-5.4 mini57.7%
    Source
    GPT-OSS 20B—

    Not directly comparable

  • Toolathlon

    GPT-5.4 mini42.9%
    Source
    GPT-OSS 20B—

    Not directly comparable

  • τ²-bench results

    GPT-5.4 mini93.4%
    Source
    GPT-OSS 20B—

    Not directly comparable

  • Terminal-Bench 2.1 (Vals)

    GPT-5.4 mini54.7%
    Source
    GPT-OSS 20B—

    Not directly comparable

Coding

  • Terminal-Bench 2.0

    GPT-5.4 mini60.0%
    Source
    GPT-OSS 20B—

    Not directly comparable

  • Vibe Code Bench

    GPT-5.4 mini47.97%
    Source
    GPT-OSS 20B—

    Not directly comparable

  • FrontierCode 1.1 Main

    GPT-5.4 mini27.0%
    Source
    GPT-OSS 20B—

    Not directly comparable

  • LiveCodeBench (Vals)

    GPT-5.4 mini81.5%
    Source
    GPT-OSS 20B—

    Not directly comparable

  • SWE-bench (Vals)

    GPT-5.4 mini73.0%
    Source
    GPT-OSS 20B—

    Not directly comparable

  • SWE-bench Verified

    GPT-5.4 mini—
    GPT-OSS 20B60.7%
    Source

    Not directly comparable

  • React Native Evals

    GPT-5.4 mini—
    GPT-OSS 20B71%
    Source

    Not directly comparable

Reasoning

  • ARC-AGI-1

    GPT-5.4 mini63.70%
    Source
    GPT-OSS 20B—

    Not directly comparable

  • ARC-AGI-2

    GPT-5.4 mini18.9%
    Source
    GPT-OSS 20B—

    Not directly comparable

Multimodal

  • MMMU-Pro

    GPT-5.4 mini76.6%
    Source
    GPT-OSS 20B—

    Not directly comparable

  • MMMU-Pro w/ Python

    GPT-5.4 mini78%
    Source
    GPT-OSS 20B—

    Not directly comparable

Knowledge

  • GPQA

    GPT-5.4 mini88%
    Source
    GPT-OSS 20B71.5%
    Source

    GPT-5.4 mini leads this result

  • HLE

    GPT-5.4 mini41.5%
    Source
    GPT-OSS 20B10.9%
    Source

    GPT-5.4 mini leads this result

  • HLE w/o tools

    GPT-5.4 mini28.2%
    Source
    GPT-OSS 20B—

    Not directly comparable

  • GPQA Diamond (Vals)

    GPT-5.4 mini83.1%
    Source
    GPT-OSS 20B—

    Not directly comparable

  • MMLU-Pro (Vals)

    GPT-5.4 mini84.6%
    Source
    GPT-OSS 20B—

    Not directly comparable

  • MMLU

    GPT-5.4 mini—
    GPT-OSS 20B85.3%
    Source

    Not directly comparable

Math

  • FrontierMath v2 (Tiers 1-3)

    GPT-5.4 mini51.228%
    Source
    GPT-OSS 20B—

    Not directly comparable

  • FrontierMath v2 (Tier 4)

    GPT-5.4 mini9.756%
    Source
    GPT-OSS 20B—

    Not directly comparable

  • AIME 2024

    GPT-5.4 mini—
    GPT-OSS 20B92.1%
    Source

    Not directly comparable

  • AIME 2025

    GPT-5.4 mini—
    GPT-OSS 20B91.7%
    Source

    Not directly comparable

27 public results · 2 shared

Watch GPT-5.4 mini vs GPT-OSS 20B

One weekly email when material rank, price, or benchmark evidence changes make this matchup worth revisiting.

Read a sample issue

Join 6,100+ subscribers.

Last updated October 29, 2026