Skip to main content
BenchLM
Data

Gemma 4 31B vs GPT-OSS 120B

Updated November 27, 2026. Rank says Gemma 4 31B 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

Gemma 4 31B has the higher public point estimate, 45.3 versus 37.3. Their conditional score ranges overlap. These ranges do not establish rank confidence. 4 results are shared. Category rows resting on Estimated evidence or different benchmark sets are marked directional and do not name a winner.

Model A
Google logo

Google

45.3/100

Supported · Public rank #113

Conditional range 39.3–51.4

Model B
OpenAI logo

OpenAI

37.3/100

Supported · Public rank #172

90% interval 32.1–42.4

API price per 1M tokens

Gemma 4 31B: No comparable API price

GPT-OSS 120B: No comparable API price

Context window

Gemma 4 31B: 256K

GPT-OSS 120B: 128K

Released

Gemma 4 31B: April 2, 2026

GPT-OSS 120B: August 5, 2025

Shared results
4
Gemma 4 31B only
9
GPT-OSS 120B only
4
Like-for-like categories
4 / 8
Supported: Gemma 4 31B and GPT-OSS 120B. 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.

  • Coding work

    Code generation, repair, and software-engineering tasks

    Gemma 4 31B

    Gemma 4 31B has the higher public coding point estimate, 44.2 to 41.4, with Supported evidence for both models. The conditional ranges do not establish rank confidence.

    Confidence: limited
  • Agentic work

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

    Gemma 4 31B

    Gemma 4 31B has the higher public agentic point estimate, 40.1 to 30.6, with Supported evidence for both models. The conditional ranges do not establish rank confidence.

    Confidence: limited
  • Long documents

    Prompts that approach the documented context limit

    Gemma 4 31B

    Gemma 4 31B has the larger documented context window.

    Confidence: documented
Show secondary and unsupported calls
  • 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 120B does not fit this workload in one request. Gemma 4 31B has no comparable published API token rate. GPT-OSS 120B 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.

44.2Gemma 4 31B41.4GPT-OSS 120B

Like-for-like · BenchAlign v6.0

Gemma 4 31B 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

Or describe your own job

The LLM Selector reads what you need a model for and returns a shortlist, ranked in the same order the job pages publish.

Describe the task and constraints. This selector recommends models; it cannot carry out the task or access your files and accounts.

We keep what you type here, drafts included, for 180 days, and after that only the job and requirements read from it. Nothing is tied to your IP address or account. Leave out names and other personal details. Privacy

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 v6.0 lane in every category, with the same rank each model page reports. A row is like-for-like only when both scores rest on Supported evidence. Directional and not-comparable rows remain visible, but they never receive a winner.

Agentic

Like-for-like
Gemma 4 31B
40.1
Supported · #141/182
GPT-OSS 120B
30.6
Supported · #168/182
Basis
BenchAlign v6.0 lane · 3 vs 1 public rows
Reading
Gemma 4 31B leads · intervals overlap

Coding

Like-for-like
Gemma 4 31B
44.2
Supported · #106/180
GPT-OSS 120B
41.4
Supported · #121/180
Basis
BenchAlign v6.0 lane · 3 vs 2 public rows
Reading
Gemma 4 31B leads · intervals overlap

Reasoning

Like-for-like
Gemma 4 31B
43.5
Supported · #107/161
GPT-OSS 120B
38.1
Supported · #133/161
Basis
BenchAlign v6.0 lane · 1 vs 0 public rows
Reading
Gemma 4 31B leads · intervals overlap

Knowledge

Like-for-like
Gemma 4 31B
44.5
Supported · #107/158
GPT-OSS 120B
36.9
Supported · #132/158
Basis
BenchAlign v6.0 lane · 4 vs 3 public rows
Reading
Gemma 4 31B leads · intervals overlap

Multilingual

Directional only
Gemma 4 31B
43.5
Supported · #57/88
GPT-OSS 120B
37.3
Estimated · #74/88
Basis
BenchAlign v6.0 lane · 0 vs 0 public rows
Reading
Directional only

Instruction following

Directional only
Gemma 4 31B
43.2
Supported · #94/143
GPT-OSS 120B
32.9
Estimated · #134/143
Basis
BenchAlign v6.0 lane · 0 vs 0 public rows
Reading
Directional only

Math

Directional only
Gemma 4 31B
43.0
Estimated · #90/126
GPT-OSS 120B
35.7
Estimated · #105/126
Basis
BenchAlign v6.0 lane · 0 vs 2 public rows
Reading
Directional only

Multimodal

Not comparable
Gemma 4 31B
44.4
Supported · #91/120
GPT-OSS 120B
Not ranked
Basis
BenchAlign v6.0 lane · 2 vs 0 public rows
Reading
Not comparable

Ranks count the models scored in each category’s BenchAlign v6.0 lane, so denominators differ by category. 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

Gemma 4 31B
Self-hosted; infrastructure cost varies
Fits in one request
GPT-OSS 120B
Self-hosted; infrastructure cost varies
Fits in one request

Gemma 4 31B has no comparable published API token rate. GPT-OSS 120B has no comparable published API token rate.

Repository review

50K fresh input + 3K output tokens

Gemma 4 31B
Self-hosted; infrastructure cost varies
Fits in one request
GPT-OSS 120B
Self-hosted; infrastructure cost varies
Fits in one request

Gemma 4 31B has no comparable published API token rate. GPT-OSS 120B has no comparable published API token rate.

Cache-heavy agent loop

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

Gemma 4 31B
Self-hosted; infrastructure cost varies
Fits in one request
Cached-input rate unavailable
GPT-OSS 120B
Self-hosted; infrastructure cost varies
Does not fit in one request
Cached-input rate unavailable

GPT-OSS 120B does not fit this workload in one request. Gemma 4 31B has no comparable published API token rate. GPT-OSS 120B 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.

Gemma 4 31B

No comparable hosted API rate

GPT-OSS 120B

No comparable hosted API rate

Provider availability

Gemma 4 31B

Generally Available · Gemini API, Google AI Studio, open weights

Google Gemma Gemini API guide

GPT-OSS 120B

Not sourced

Reasoning profile

Gemma 4 31B

Reasoning

GPT-OSS 120B

Non-Reasoning

Weight access

Gemma 4 31B

Open Weight

GPT-OSS 120B

Open Weight

License

Gemma 4 31B

Open Weight

GPT-OSS 120B

Open Weight

Release date

Gemma 4 31B

2026-04-02

GPT-OSS 120B

2025-08-05

If you already use one of these models

Deployment change
The models list different providers, so authentication, endpoint behavior, limits, and feature support may change.
Quality signal
Gemma 4 31B has the higher public point estimate, 45.3 versus 37.3. 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
Gemma 4 31B has the larger documented window (256K).
Run the same representative tasks against both endpoints before changing production traffic.

Questions

Which is better, Gemma 4 31B or GPT-OSS 120B?

Gemma 4 31B has the higher public point estimate, 45.3 versus 37.3. 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, Gemma 4 31B or GPT-OSS 120B?

Gemma 4 31B has the higher public coding point estimate, 44.2 to 41.4, with Supported evidence for both models. The conditional ranges do not establish rank confidence.

Which is better for agentic tasks, Gemma 4 31B or GPT-OSS 120B?

Gemma 4 31B has the higher public agentic tasks point estimate, 40.1 to 30.6, with Supported evidence for both models. The conditional ranges do not establish rank confidence.

Which costs less, Gemma 4 31B or GPT-OSS 120B?

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, Gemma 4 31B or GPT-OSS 120B?

Gemma 4 31B has the larger documented context window: 256K, compared with 128K.

Self-host vs API cost

Estimates at 50,000 req/day · 1000 tokens/req average.

Gemma 4 31B
API / mo (Novita AI)$405
Self-host / mo$298
Break-even37M/day
GPT-OSS 120B
API / mo (DeepInfra)$155
Self-host / mo$3,495
Break-evenNot reached at 70% load
Model the full break-even

Benchmark evidence

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

Browse raw public benchmark evidence22 rows

Agentic

  • b3 Agent Security

    Gemma 4 31B83.0%
    Source
    GPT-OSS 120B—

    Not directly comparable

  • Cyber Misuse Refusal

    Gemma 4 31B84.0%
    Source
    GPT-OSS 120B—

    Not directly comparable

  • Gemma 4 31B27.59%
    GPT-OSS 120B21.10%

    Gemma 4 31B leads this result

Coding

  • LiveCodeBench v6

    Gemma 4 31B80.0%
    Source
    GPT-OSS 120B—

    Not directly comparable

  • SWE-Rebench

    Gemma 4 31B41.6%
    Source
    GPT-OSS 120B—

    Not directly comparable

  • React Native Evals

    Shared source
    Gemma 4 31B75.2%
    GPT-OSS 120B71.6%

    Gemma 4 31B leads this result

  • SWE-bench Verified

    Gemma 4 31B—
    GPT-OSS 120B62.4%
    Source

    Not directly comparable

  • CompileBench

    Shown only
    Gemma 4 31B—
    GPT-OSS 120B42.2%
    Source

    Not directly comparable

Reasoning

  • MRCRv2

    Gemma 4 31B66.4%
    Source
    GPT-OSS 120B—

    Not directly comparable

  • Mystery Game Puzzles

    Shown only
    Gemma 4 31B—
    GPT-OSS 120B0.0%
    Source

    Not directly comparable

  • NYT Connections

    Shown only
    Gemma 4 31B70.6%
    Source
    GPT-OSS 120B—

    Not directly comparable

Multimodal

  • ParseBench-1

    Gemma 4 31B62.40%
    Source
    GPT-OSS 120B—

    Not directly comparable

  • MMMU-Pro

    Gemma 4 31B76.9%
    Source
    GPT-OSS 120B—

    Not directly comparable

  • FACTS Multimodal

    Shown only
    Gemma 4 31B42.3%
    Source
    GPT-OSS 120B—

    Not directly comparable

Knowledge

  • GPQA

    Gemma 4 31B84.3%
    Source
    GPT-OSS 120B80.1%
    Source

    Gemma 4 31B leads this result

  • MMLU-Pro

    Gemma 4 31B85.2%
    Source
    GPT-OSS 120B—

    Not directly comparable

  • HLE

    Gemma 4 31B26.5%
    Source
    GPT-OSS 120B14.9%
    Source

    Gemma 4 31B leads this result

  • HLE w/o tools

    Gemma 4 31B19.5%
    Source
    GPT-OSS 120B—

    Not directly comparable

  • MMLU

    Gemma 4 31B—
    GPT-OSS 120B90%
    Source

    Not directly comparable

  • FailureSensorIQ

    Shown only
    Gemma 4 31B—
    GPT-OSS 120B50.5%
    Source

    Not directly comparable

Math

  • AIME 2024

    Gemma 4 31B—
    GPT-OSS 120B95.8%
    Source

    Not directly comparable

  • AIME 2025

    Gemma 4 31B—
    GPT-OSS 120B92.5%
    Source

    Not directly comparable

17 public results · 4 shared

Watch Gemma 4 31B vs GPT-OSS 120B

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

Read a sample issue

Join 7,500+ subscribers.

Last updated November 27, 2026