Skip to main content
BenchLM

GLM-5.1 vs GPT-5.1-Codex-Max

Updated September 23, 2026. We do not rank this pair: at least one has no public score. Public scores include evidence status and uncertainty.

Share or export
Share on XLinkedInSocial cardCSVJSON

Decision reading

At least one model is not scored in the current public ranking lane, so the page does not name an overall quality winner. 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
Z.AI logo

Z.AI

57.71/100

Supported · Public rank #48

90% interval 47.667.8

Model B
OpenAI logo

OpenAI

Evidence status unavailable

90% interval unavailable

Shared results
2
GLM-5.1 only
24
GPT-5.1-Codex-Max only
0
Like-for-like categories
0 / 8
Supported: GLM-5.1How 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.1-Codex-Max

    GPT-5.1-Codex-Max has the larger documented context window.

    Confidence: documented
  • Chat turn cost

    1K fresh input + 500 output tokens

    GLM-5.1

    GLM-5.1 has the lower estimated token cost for this stated workload. Costs use the listed standard API rates.

    Confidence: listed-rates
Show secondary and unsupported calls
  • Repository review cost

    50K fresh input + 3K output tokens

    GLM-5.1

    GLM-5.1 has the lower estimated token cost for this stated workload. Costs use the listed standard API rates.

    Confidence: listed-rates
  • Coding work

    Code generation, repair, and software-engineering tasks

    Not enough matched evidence

    GPT-5.1-Codex-Max is not ranked on the public lane for coding, so no winner is named for coding.

    Confidence: limited
  • Agentic work

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

    Not enough matched evidence

    GPT-5.1-Codex-Max is not ranked on the public lane for agentic, so no winner is named for agentic.

    Confidence: limited
  • 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.1 does not fit this workload in one request. GLM-5.1 has no published cached-input rate, so cached tokens use its listed input rate.

    Confidence: rate-fallback

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.

51.5GLM-5.1GPT-5.1-Codex-Max

Not comparable · BenchAlign v5.6

The coding row is not comparable on the public lane: at least one model is not measured or not ranked there.

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.

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.6 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.

Agentic

Not comparable
GLM-5.1
42.1
Estimated · #43/105
GPT-5.1-Codex-Max
Not ranked
Basis
BenchAlign v5.6 lane · 9 vs 0 public rows
Reading
Not comparable

Coding

Not comparable
GLM-5.1
51.5
Supported · #36/135
GPT-5.1-Codex-Max
Not ranked
Basis
BenchAlign v5.6 lane · 7 vs 2 public rows
Reading
Not comparable

Reasoning

Not comparable
GLM-5.1
71.7
Unranked · 2 rankable rows
GPT-5.1-Codex-Max
Not ranked
Basis
Provisional lane · 0 vs 0 weighted rows
Reading
Not comparable

Multimodal

Not comparable
GLM-5.1
Not ranked
GPT-5.1-Codex-Max
Not ranked
Basis
Provisional lane · 0 vs 0 weighted rows
Reading
Not comparable

Knowledge

Not comparable
GLM-5.1
50.2
Supported · #54/160
GPT-5.1-Codex-Max
Not ranked
Basis
BenchAlign v5.6 lane · 4 vs 0 public rows
Reading
Not comparable

Multilingual

Not comparable
GLM-5.1
Not ranked
GPT-5.1-Codex-Max
Not ranked
Basis
Provisional lane · 0 vs 0 weighted rows
Reading
Not comparable

Instruction following

Not comparable
GLM-5.1
92.4
#4/124
GPT-5.1-Codex-Max
Not ranked
Basis
Provisional lane · 0 vs 0 weighted rows
Reading
Not comparable

Math

Not comparable
GLM-5.1
63.8
#3/7
GPT-5.1-Codex-Max
Not ranked
Basis
Provisional lane · 4 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.6) 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

GLM-5.1
$0.0036
Fits in one request
GPT-5.1-Codex-Max
$0.00625
Fits in one request

GLM-5.1 has the lower modeled cost

Costs use the listed standard API rates.

Repository review

50K fresh input + 3K output tokens

GLM-5.1
$0.0832
Fits in one request
GPT-5.1-Codex-Max
$0.0925
Fits in one request

GLM-5.1 has the lower modeled cost

Costs use the listed standard API rates.

Cache-heavy agent loop

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

GLM-5.1
$0.352
Does not fit in one request
Cached input priced at the published list-input rate
GPT-5.1-Codex-Max
$0.15
Fits in one request

GLM-5.1 does not fit this workload in one request. GLM-5.1 has no published cached-input rate, so cached tokens use its listed input 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.

API model ID

GLM-5.1

Not sourced

GPT-5.1-Codex-Max

Not sourced

Cached-input rate

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

GLM-5.1

Not published

GPT-5.1-Codex-Max

$0.125 per 1M cached input tokens

OpenAI GPT-5.1-Codex-Max model documentation

Documented inputs

GLM-5.1

Not sourced

GPT-5.1-Codex-Max

Not sourced

Documented outputs

GLM-5.1

Not sourced

GPT-5.1-Codex-Max

Not sourced

Provider availability

GLM-5.1

Not sourced

GPT-5.1-Codex-Max

Not sourced

Reasoning profile

GLM-5.1

Reasoning

GPT-5.1-Codex-Max

Reasoning

Weight access

GLM-5.1

Open Weight

GPT-5.1-Codex-Max

Proprietary

License

GLM-5.1

Open Weight

GPT-5.1-Codex-Max

Proprietary

Release date

GLM-5.1

2026-04-07

GPT-5.1-Codex-Max

2025-11-19

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
At least one model is not scored in the current public ranking lane, so the page does not name an overall quality winner.
Workload cost
Repository review: $0.0832 vs $0.0925. Cache-heavy agent loop: $0.352 vs $0.15.
Context tradeoff
GPT-5.1-Codex-Max has the larger documented window (400K).
Run the same representative tasks against both endpoints before changing production traffic.

Questions

Which is better, GLM-5.1 or GPT-5.1-Codex-Max?

At least one model is not scored in the current public ranking lane, so the page does not name an overall quality winner. The page therefore keeps the decision tied to the specific documented workload.

Which is better for coding, GLM-5.1 or GPT-5.1-Codex-Max?

GPT-5.1-Codex-Max is not ranked on the public lane for coding, so no winner is named for coding.

Which is better for agentic tasks, GLM-5.1 or GPT-5.1-Codex-Max?

GPT-5.1-Codex-Max is not ranked on the public lane for agentic tasks, so no winner is named for agentic tasks.

Which costs less, GLM-5.1 or GPT-5.1-Codex-Max?

For the stated presets, chat costs $0.0036 on GLM-5.1 and $0.00625 on GPT-5.1-Codex-Max; repository review costs $0.0832 and $0.0925; the cache-heavy agent loop costs $0.352 and $0.15. GLM-5.1 does not fit this workload in one request. GLM-5.1 has no published cached-input rate, so cached tokens use its listed input rate.

Which has the larger context window, GLM-5.1 or GPT-5.1-Codex-Max?

GPT-5.1-Codex-Max has the larger documented context window: 400K, compared with 203K.

Self-host vs API cost

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

GLM-5.1
API / mo$4,350
Self-host / mo$18,221
Break-even264M/day
GPT-5.1-Codex-Max
API / mo$8,438
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 evidence26 rows

Agentic

  • Terminal-Bench 2.0

    GLM-5.163.5%
    Source
    GPT-5.1-Codex-Max

    Not directly comparable

  • BrowseComp

    GLM-5.168%
    Source
    GPT-5.1-Codex-Max

    Not directly comparable

  • τ³-bench results

    GLM-5.170.6%
    Source
    GPT-5.1-Codex-Max

    Not directly comparable

  • MCP Atlas

    GLM-5.171.8%
    Source
    GPT-5.1-Codex-Max

    Not directly comparable

  • CyberGym

    GLM-5.168.7%
    Source
    GPT-5.1-Codex-Max

    Not directly comparable

  • Claw-Eval

    GLM-5.162.3%
    Source
    GPT-5.1-Codex-Max

    Not directly comparable

  • Gert Labs

    GLM-5.160.11%
    Source
    GPT-5.1-Codex-Max

    Not directly comparable

  • ResearchClawBench

    GLM-5.118.2%
    Source
    GPT-5.1-Codex-Max

    Not directly comparable

  • Terminal-Bench 2.1 (Vals)

    GLM-5.156.9%
    Source
    GPT-5.1-Codex-Max

    Not directly comparable

Coding

  • SWE-bench Pro

    GLM-5.158.4%
    Source
    GPT-5.1-Codex-Max

    Not directly comparable

  • NL2Repo

    GLM-5.142.7%
    Source
    GPT-5.1-Codex-Max

    Not directly comparable

  • SWE-Rebench

    GLM-5.162.7%
    Source
    GPT-5.1-Codex-Max

    Not directly comparable

  • Vibe Code Bench

    Shared source
    GLM-5.131.46%
    GPT-5.1-Codex-Max22.17%

    GLM-5.1 leads this result

  • OpenHarmony Bench

    GLM-5.152.3%
    Source
    GPT-5.1-Codex-Max

    Not directly comparable

  • LiveCodeBench (Vals)

    GLM-5.181.4%
    Source
    GPT-5.1-Codex-Max83.6%
    Source

    GPT-5.1-Codex-Max leads this result

  • SWE-bench (Vals)

    GLM-5.176.4%
    Source
    GPT-5.1-Codex-Max

    Not directly comparable

Knowledge

  • GPQA-D

    GLM-5.186.2%
    Source
    GPT-5.1-Codex-Max

    Not directly comparable

  • HLE

    GLM-5.152.3%
    Source
    GPT-5.1-Codex-Max

    Not directly comparable

  • GPQA Diamond (Vals)

    GLM-5.184.5%
    Source
    GPT-5.1-Codex-Max

    Not directly comparable

  • MMLU-Pro (Vals)

    GLM-5.186.9%
    Source
    GPT-5.1-Codex-Max

    Not directly comparable

Math

  • AIME26

    GLM-5.195.3%
    Source
    GPT-5.1-Codex-Max

    Not directly comparable

  • HMMT Nov 2025

    GLM-5.194.0%
    Source
    GPT-5.1-Codex-Max

    Not directly comparable

  • HMMT Feb 2026

    GLM-5.182.6%
    Source
    GPT-5.1-Codex-Max

    Not directly comparable

  • MMAnswerBench

    GLM-5.183.8%
    Source
    GPT-5.1-Codex-Max

    Not directly comparable

  • FrontierMath v2 (Tiers 1-3)

    GLM-5.133.448%
    Source
    GPT-5.1-Codex-Max

    Not directly comparable

  • FrontierMath v2 (Tier 4)

    GLM-5.112.500%
    Source
    GPT-5.1-Codex-Max

    Not directly comparable

26 public results · 2 shared

Watch GLM-5.1 vs GPT-5.1-Codex-Max

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

Read a sample issue

Join 2,000+ readers.

Last updated September 23, 2026