Skip to main content
Radar

Five or fewer confirmed AI changes, with original sources, on mornings when something changed.A free source-linked morning brief.

Start free brief
Model A
Gemma 4 31B

Google

60.1/100

Supported · Public rank #60

90% interval 44.0–76.3

Gemma 4 31B vs GLM-5

Updated August 18, 2026. Public scores include evidence status and uncertainty. They are not guarantees for a specific workload.

Model B
GLM-5

Z.AI

65.6/100

Supported · Public rank #33

90% interval 54.5–76.7

Decision reading

GLM-5 has the higher public score estimate, 65.61 versus 60.15, but the 90% score intervals overlap. Treat that as a lead, not a settled winner.

6 results are shared. Category rows based on different benchmark sets are marked directional and do not name a winner.

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

    Gemma 4 31B

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

    The category averages use different weighted benchmark sets, so they are directional rather than like-for-like.

    Confidence: limited

  • Agentic work

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

    Not enough matched evidence

    No shared weighted benchmark basis supports a winner.

    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. GLM-5 does not fit this workload in one request. GLM-5 has no published cached-input rate, so cached tokens use its listed input rate. Gemma 4 31B has no comparable published API token rate.

    Confidence: rate-fallback

  • 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

What is actually comparable

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

Shared results
6
Gemma 4 31B only
2
GLM-5 only
30
Like-for-like categories
0 / 8

2 categories use different evidence sets. Those rows remain visible for coverage context but do not name a winner.

Category results, on a stated basis

Each row states whether both averages use the same weighted benchmark set. Directional and not-comparable rows remain visible, but they never receive a winner in this template.

Coding

Directional only
Gemma 4 31B
41.6
GLM-5
66.3
Weighted basis
1 vs 3 rows
Reading
Directional only

Knowledge

Directional only
Gemma 4 31B
52.9
GLM-5
66.4
Weighted basis
3 vs 4 rows
Reading
Directional only

Agentic

Not comparable
Gemma 4 31B
Not measured
GLM-5
56.2
Weighted basis
0 vs 1 rows
Reading
Not comparable

Reasoning

Not comparable
Gemma 4 31B
Not measured
GLM-5
60.8
Weighted basis
0 vs 1 rows
Reading
Not comparable

Math

Not comparable
Gemma 4 31B
Not measured
GLM-5
56.3
Weighted basis
0 vs 4 rows
Reading
Not comparable

Multilingual

Not comparable
Gemma 4 31B
Not measured
GLM-5
83.1
Weighted basis
0 vs 1 rows
Reading
Not comparable

Multimodal

Not comparable
Gemma 4 31B
76.9
GLM-5
Not measured
Weighted basis
1 vs 0 rows
Reading
Not comparable

Instruction following

Not comparable
Gemma 4 31B
Not measured
GLM-5
92.6
Weighted basis
0 vs 1 rows
Reading
Not comparable

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.

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
GLM-5
$0.0026
Fits in one request

Gemma 4 31B 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
GLM-5
$0.0596
Fits in one request

Gemma 4 31B 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
GLM-5
$0.252
Does not fit in one request
Cached input priced at the published list-input rate

GLM-5 does not fit this workload in one request. GLM-5 has no published cached-input rate, so cached tokens use its listed input rate. Gemma 4 31B has no comparable published API token rate.

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

GLM-5

Not published

Reasoning profile

Gemma 4 31B

Reasoning

GLM-5

Non-Reasoning

Weight access

Gemma 4 31B

Open Weight

GLM-5

Open Weight

License

Gemma 4 31B

Open Weight

GLM-5

Open Weight

Release date

Gemma 4 31B

2026-04-02

GLM-5

2026-03-01

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
GLM-5 has the higher public score estimate, 65.61 versus 60.15, but the 90% score intervals overlap.
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.

Self-host vs API cost

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

Gemma 4 31B
API / mo$0
Self-host / mo$429
Break-even
GLM-5
API / mo$3,150
Self-host / moNot listed
Break-even
Proprietary model — self-hosting not applicable.
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 evidence38 rows

Agentic

  • Gemma 4 31B35.26%
    GLM-550.99%

    GLM-5 leads this result

  • Terminal-Bench 2.0

    Gemma 4 31B
    GLM-556.2%
    Source

    Not directly comparable

  • Claw-Eval

    Gemma 4 31B
    GLM-557.7%
    Source

    Not directly comparable

  • QwenClawBench

    Gemma 4 31B
    GLM-554.1%
    Source

    Not directly comparable

  • τ³-bench results

    Gemma 4 31B
    GLM-565.6%
    Source

    Not directly comparable

  • DeepPlanning

    Gemma 4 31B
    GLM-514.6%
    Source

    Not directly comparable

  • Toolathlon

    Gemma 4 31B
    GLM-538%
    Source

    Not directly comparable

  • MCP Atlas

    Gemma 4 31B
    GLM-531.1%
    Source

    Not directly comparable

  • MCP-Tasks

    Gemma 4 31B
    GLM-560.8%
    Source

    Not directly comparable

  • WideResearch

    Gemma 4 31B
    GLM-569.8%
    Source

    Not directly comparable

  • CyberGym

    Gemma 4 31B
    GLM-543.2%
    Source

    Not directly comparable

Coding

  • SWE-Rebench

    Gemma 4 31B41.6%
    Source
    GLM-562.8%
    Source

    GLM-5 leads this result

  • React Native Evals

    Shared source
    Gemma 4 31B75.2%
    GLM-574.8%

    Gemma 4 31B leads this result

  • SWE-bench Verified

    Gemma 4 31B
    GLM-577.8%
    Source

    Not directly comparable

  • SWE-bench Verified*

    Gemma 4 31B
    GLM-572.8%
    Source

    Not directly comparable

  • SWE-bench Pro

    Gemma 4 31B
    GLM-555.1%
    Source

    Not directly comparable

  • SWE Multilingual

    Gemma 4 31B
    GLM-573.3%
    Source

    Not directly comparable

Reasoning

  • LongBench v2

    Gemma 4 31B
    GLM-560.8%
    Source

    Not directly comparable

  • AI-Needle

    Gemma 4 31B
    GLM-563.3%
    Source

    Not directly comparable

Knowledge

  • GPQA

    Gemma 4 31B84.3%
    Source
    GLM-586%
    Source

    GLM-5 leads this result

  • MMLU-Pro

    Gemma 4 31B85.2%
    Source
    GLM-585.7%
    Source

    GLM-5 leads this result

  • HLE

    Gemma 4 31B26.5%
    Source
    GLM-550.4%
    Source

    GLM-5 leads this result

  • HLE w/o tools

    Gemma 4 31B19.5%
    Source
    GLM-5

    Not directly comparable

  • GPQA-D

    Gemma 4 31B
    GLM-586.0%
    Source

    Not directly comparable

  • SuperGPQA

    Gemma 4 31B
    GLM-566.8%
    Source

    Not directly comparable

  • MMLU-Pro (Arcee)

    Gemma 4 31B
    GLM-585.8%
    Source

    Not directly comparable

Math

  • AIME26

    Gemma 4 31B
    GLM-595.8%
    Source

    Not directly comparable

  • AIME25 (Arcee)

    Gemma 4 31B
    GLM-593.3%
    Source

    Not directly comparable

  • HMMT Feb 2025

    Gemma 4 31B
    GLM-597.5%
    Source

    Not directly comparable

  • HMMT Nov 2025

    Gemma 4 31B
    GLM-596.9%
    Source

    Not directly comparable

  • HMMT Feb 2026

    Gemma 4 31B
    GLM-586.4%
    Source

    Not directly comparable

  • MMAnswerBench

    Gemma 4 31B
    GLM-582.5%
    Source

    Not directly comparable

  • FrontierMath v2 (Tiers 1-3)

    Gemma 4 31B
    GLM-516.434%
    Source

    Not directly comparable

  • FrontierMath v2 (Tier 4)

    Gemma 4 31B
    GLM-52.100%
    Source

    Not directly comparable

Multilingual

  • MMLU-ProX

    Gemma 4 31B
    GLM-583.1%
    Source

    Not directly comparable

  • NOVA-63

    Gemma 4 31B
    GLM-555.1%
    Source

    Not directly comparable

Multimodal

  • MMMU-Pro

    Gemma 4 31B76.9%
    Source
    GLM-5

    Not directly comparable

Instruction following

  • IFEval

    Gemma 4 31B
    GLM-592.6%
    Source

    Not directly comparable

Frequently asked questions

Which is better, Gemma 4 31B or GLM-5?

GLM-5 has the higher public score estimate, 65.61 versus 60.15, but the 90% score intervals overlap. The higher estimate is not a decisive winner because the uncertainty ranges overlap.

Which is better for coding, Gemma 4 31B or GLM-5?

The current coding averages use different weighted benchmark sets, so BenchLM does not name a winner from them. Read the shared benchmark rows directly and test the models on the same task set.

Which is better for agentic tasks, Gemma 4 31B or GLM-5?

The published evidence does not provide a shared weighted agentic tasks basis for both models, so BenchLM does not name a agentic tasks winner.

Which costs less, Gemma 4 31B or GLM-5?

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 GLM-5?

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

Related comparisons

Last updated August 18, 2026

Watch Gemma 4 31B vs GLM-5

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

Read a sample issue

Join 2,000+ readers.