LLM7.io
LLM7.io
Toggle theme

Chat comparison

gemma4:31bvsgpt-oss:20b

OpenAI logo

Compare the things that matter before you build: current price, capabilities, and latest aggregated LLM7 statistics.

Current pricing

See the cost difference clearly

What's different

Only capabilities that differ between these models are listed. Green highlights the broader supported option or larger context window.

Context window

gemma4:31bBetter fit

262,000 tokens

gpt-oss:20b

128,000 tokens

Capability scores

AI-estimated ratings on 30 criteria from head-to-head comparisons against 86 other text models in the LLM7 catalog, judged by TypeSafe Jev from public information (2026-10-20). Each score is the win rate against the field, relative to the strongest model for that criterion (100%). Not a benchmark.

Below 50%50–79%80–94%95%+

gemma4:31b · leads in 24

34%

Weak

gpt-oss:20b · leads in 3

30%

Weak

Knowledge & reasoning

  • General knowledge

    gemma4:31bLeads33%
    gpt-oss:20b26%
  • Logical reasoning

    gemma4:31bLeads19%
    gpt-oss:20b14%
  • Mathematics

    gemma4:31bLeads31%
    gpt-oss:20b23%
  • Scientific and technical depth

    gemma4:31bLeads34%
    gpt-oss:20b24%
  • Planning and task decomposition

    gemma4:31bLeads17%
    gpt-oss:20b15%

Coding & tools

  • Code generation

    gemma4:31bLeads33%
    gpt-oss:20b32%
  • Debugging and code review

    gemma4:31bLeads29%
    gpt-oss:20b26%
  • Agentic coding

    gemma4:31b26%
    gpt-oss:20b26%
  • Tool and function calling

    gemma4:31b29%
    gpt-oss:20bLeads30%
  • SQL and query writing

    gemma4:31bLeads34%
    gpt-oss:20b27%

Writing & language

  • Creative writing

    gemma4:31bLeads33%
    gpt-oss:20b26%
  • Professional writing

    gemma4:31bLeads31%
    gpt-oss:20b24%
  • Conversational quality

    gemma4:31bLeads23%
    gpt-oss:20b21%
  • Multilingual ability

    gemma4:31bLeads44%
    gpt-oss:20b28%
  • Translation

    gemma4:31bLeads32%
    gpt-oss:20b25%
  • Summarization

    gemma4:31bLeads31%
    gpt-oss:20b21%

Data & professional work

  • Data analysis

    gemma4:31bLeads29%
    gpt-oss:20b22%
  • Professional domains

    gemma4:31bLeads26%
    gpt-oss:20b19%
  • Information extraction

    gemma4:31bLeads35%
    gpt-oss:20b30%
  • Classification and labeling

    gemma4:31bLeads38%
    gpt-oss:20b31%
  • Long-context handling

    gemma4:31bLeads39%
    gpt-oss:20b26%

Reliability & control

  • Instruction following

    gemma4:31bLeads29%
    gpt-oss:20b23%
  • Structured output

    gemma4:31b46%
    gpt-oss:20b46%
  • Factual accuracy

    gemma4:31bLeads34%
    gpt-oss:20b25%
  • Safety and alignment

    gemma4:31bLeads31%
    gpt-oss:20b24%
  • Steerability

    gemma4:31bLeads28%
    gpt-oss:20b23%
  • Output consistency

    gemma4:31bLeads57%
    gpt-oss:20b51%

Speed, cost & vision

  • Response speed

    gemma4:31b48%
    gpt-oss:20bLeads69%
  • Cost efficiency

    gemma4:31b59%
    gpt-oss:20bLeads80%
  • Image understanding

    gemma4:31bNo image input
    gpt-oss:20bNo image input

Latest LLM7 statistics

Recent aggregated percentages and response-time metrics from LLM7, not a global model benchmark or traffic disclosure.

Recent stability

gemma4:31b

99.73%

gpt-oss:20b

99.11%

Average response time

gemma4:31b

6,204.99 ms

gpt-oss:20b

2,686.07 ms

P95 API latency

gemma4:31b

30,000 ms

gpt-oss:20b

10,000 ms

Side-by-side trends

Shared charts make the observed differences easier to read. Metrics without enough history stay hidden.

Request success rate

Both models on the same scale

gemma4:31b: 100%gpt-oss:20b: 99.3%
21 Sept21 Oct

Average API latency

Both models on the same scale

gemma4:31b: 6,773 msgpt-oss:20b: 2,509 ms
21 Sept21 Oct

P95 API latency

Both models on the same scale

gemma4:31b: 30,000 msgpt-oss:20b: 10,000 ms
21 Sept21 Oct

Estimate your workload

Published rates are loaded from the pricing API; per-request quotes are billed from actual provider usage.

Checking current pricing…
Checking current pricing…

Quick take

  • gemma4:31b has a larger context window.
  • The recent stability rates are too close to distinguish meaningfully.
  • gpt-oss:20b recorded a lower observed p95 API latency on LLM7 during this period.

Keep exploring