Skip to main content
BenchLM
Data

GLM-5 vs GPT-OSS 20B

Updated December 2, 2026. Rank says GLM-5 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

GLM-5 has the higher public point estimate, 45.6 versus 30.3. Their conditional score ranges do not 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
Z.AI logo

Z.AI

45.6/100

Supported · Public rank #113

90% interval 40.5–50.7

Model B
OpenAI logo

OpenAI

30.3/100

Supported · Public rank #200

Conditional range 22.3–38.3

API price per 1M tokens

GLM-5: $1 input / $3.20 output

GPT-OSS 20B: No comparable API price

Context window

GLM-5: 200K

GPT-OSS 20B: 128K

Released

GLM-5: February 12, 2026

GPT-OSS 20B: August 5, 2025

Shared results
4
GLM-5 only
34
GPT-OSS 20B only
3
Like-for-like categories
2 / 8
Supported: GLM-5 and 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.

  • Coding work

    Code generation, repair, and software-engineering tasks

    GLM-5

    GLM-5 has the higher public coding point estimate, 45 to 33.9, 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

    GLM-5

    GLM-5 has the higher public agentic point estimate, 42.5 to 21.1, 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

    GLM-5

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

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.

45.0GLM-533.9GPT-OSS 20B

Like-for-like · BenchAlign v6.0

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

4 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
GLM-5
42.5
Supported · #128/183
GPT-OSS 20B
21.1
Supported · #180/183
Basis
BenchAlign v6.0 lane · 13 vs 0 public rows
Reading
GLM-5 leads · intervals overlap

Coding

Like-for-like
GLM-5
45.0
Supported · #104/181
GPT-OSS 20B
33.9
Supported · #154/181
Basis
BenchAlign v6.0 lane · 8 vs 2 public rows
Reading
GLM-5 leads · intervals overlap

Reasoning

Directional only
GLM-5
42.6
Supported · #110/161
GPT-OSS 20B
35.7
Estimated · #156/161
Basis
BenchAlign v6.0 lane · 2 vs 0 public rows
Reading
Directional only

Knowledge

Directional only
GLM-5
43.5
Estimated · #113/158
GPT-OSS 20B
29.3
Supported · #150/158
Basis
BenchAlign v6.0 lane · 6 vs 3 public rows
Reading
Directional only

Multilingual

Directional only
GLM-5
52.7
Estimated · #39/88
GPT-OSS 20B
32.6
Estimated · #79/88
Basis
BenchAlign v6.0 lane · 2 vs 0 public rows
Reading
Directional only

Math

Directional only
GLM-5
43.2
Estimated · #80/128
GPT-OSS 20B
29.6
Estimated · #123/128
Basis
BenchAlign v6.0 lane · 6 vs 2 public rows
Reading
Directional only

Multimodal

Not comparable
GLM-5
Not ranked
GPT-OSS 20B
Not ranked
Basis
BenchAlign v6.0 lane · 0 vs 0 public rows
Reading
Not comparable

Instruction following

Not comparable
GLM-5
42.0
Estimated · #104/143
GPT-OSS 20B
Not ranked
Basis
BenchAlign v6.0 lane · 1 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

GLM-5
$0.0026
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

GLM-5
$0.0596
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

GLM-5
$0.252
Does not fit in one request
Cached input priced at the published list-input rate
GPT-OSS 20B
Self-hosted; infrastructure cost varies
Does not fit in one request
Cached-input rate unavailable

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

Price against score, among all priced models

Overall score against output price per 1M tokens, one model per family. Pricing as of December 2, 2026.

GLM-5

20406080100$0.10$0.50$1$5$10$50$100Output price, $ per 1M tokens (log)Overall score
  • 13 cheaper models score at least as high as GLM-5. The nearest is Gemini 3 Flash (score 52.5, $3.00 per 1M output tokens).
  • GPT-OSS 20B has no public API price, so it is not plotted.

Gray dots are the other priced models. The dark step line is the efficiency frontier: for a model under it, another model costs no more and scores at least as high.

See GLM-5 on the full price vs performance chart

Specification differences

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

Context window

Maximum documented context; output-token limits may be lower.

GLM-5

200K

GPT-OSS 20B

128K

API model ID

GLM-5

Not sourced

GPT-OSS 20B

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

Not published

GPT-OSS 20B

No comparable hosted API rate

Provider availability

GLM-5

Not sourced

GPT-OSS 20B

Not sourced

Reasoning profile

GLM-5

Non-Reasoning

GPT-OSS 20B

Non-Reasoning

Weight access

GLM-5

Open Weight

GPT-OSS 20B

Open Weight

License

GLM-5

Open Weight

GPT-OSS 20B

Open Weight

Release date

GLM-5

2026-02-12

GPT-OSS 20B

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
GLM-5 has the higher public point estimate, 45.6 versus 30.3. Their conditional score ranges do not overlap. These ranges do not establish rank confidence.
Workload cost
A complete comparable API-rate estimate is not available for both models.
Context tradeoff
GLM-5 has the larger documented window (200K).
Run the same representative tasks against both endpoints before changing production traffic.

Questions

Which is better, GLM-5 or GPT-OSS 20B?

GLM-5 has the higher public point estimate, 45.6 versus 30.3. Their conditional score ranges do not 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, GLM-5 or GPT-OSS 20B?

GLM-5 has the higher public coding point estimate, 45 to 33.9, with Supported evidence for both models. The conditional ranges do not establish rank confidence.

Which is better for agentic tasks, GLM-5 or GPT-OSS 20B?

GLM-5 has the higher public agentic tasks point estimate, 42.5 to 21.1, with Supported evidence for both models. The conditional ranges do not establish rank confidence.

Which costs less, GLM-5 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, GLM-5 or GPT-OSS 20B?

GLM-5 has the larger documented context window: 200K, compared with 128K.

Self-host vs API cost

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

GLM-5
API / mo$3,150
Self-host / mo$27,962
Break-evenNot reached at 70% load
GPT-OSS 20B
API / moNo API price on file
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 evidence43 rows

Agentic

  • Terminal-Bench 2.0

    GLM-556.2%
    Source
    GPT-OSS 20B—

    Not directly comparable

  • BrowseComp

    GLM-562%
    Source
    GPT-OSS 20B—

    Not directly comparable

  • HLE w/ tools

    GLM-550.4%
    Source
    GPT-OSS 20B—

    Not directly comparable

  • Claw-Eval

    GLM-557.7%
    Source
    GPT-OSS 20B—

    Not directly comparable

  • QwenClawBench

    GLM-554.1%
    Source
    GPT-OSS 20B—

    Not directly comparable

  • τ³-bench results

    GLM-565.6%
    Source
    GPT-OSS 20B—

    Not directly comparable

  • DeepPlanning

    GLM-514.6%
    Source
    GPT-OSS 20B—

    Not directly comparable

  • Toolathlon

    GLM-538%
    Source
    GPT-OSS 20B—

    Not directly comparable

  • MCP Atlas

    GLM-531.1%
    Source
    GPT-OSS 20B—

    Not directly comparable

  • MCP-Tasks

    GLM-560.8%
    Source
    GPT-OSS 20B—

    Not directly comparable

  • WideResearch

    GLM-569.8%
    Source
    GPT-OSS 20B—

    Not directly comparable

  • CyberGym

    GLM-543.2%
    Source
    GPT-OSS 20B—

    Not directly comparable

  • Gert Labs

    GLM-527.66%
    Source
    GPT-OSS 20B—

    Not directly comparable

  • BinaryAudit

    Shown only
    GLM-519.3%
    Source
    GPT-OSS 20B—

    Not directly comparable

Coding

  • SWE-bench Verified

    GLM-577.8%
    Source
    GPT-OSS 20B60.7%
    Source

    GLM-5 leads this result

  • SWE-bench Verified*

    GLM-572.8%
    Source
    GPT-OSS 20B—

    Not directly comparable

  • SWE-bench Pro

    GLM-555.1%
    Source
    GPT-OSS 20B—

    Not directly comparable

  • SWE Multilingual

    GLM-573.3%
    Source
    GPT-OSS 20B—

    Not directly comparable

  • NL2Repo

    GLM-535.9%
    Source
    GPT-OSS 20B—

    Not directly comparable

  • SWE-Rebench

    GLM-562.8%
    Source
    GPT-OSS 20B—

    Not directly comparable

  • React Native Evals

    Shared source
    GLM-574.8%
    GPT-OSS 20B71%

    GLM-5 leads this result

  • Terminal-Bench 2.0

    GLM-556.2%
    Source
    GPT-OSS 20B—

    Not directly comparable

Reasoning

  • LongBench v2

    GLM-560.8%
    Source
    GPT-OSS 20B—

    Not directly comparable

  • AI-Needle

    GLM-563.3%
    Source
    GPT-OSS 20B—

    Not directly comparable

Knowledge

  • GPQA

    GLM-586%
    Source
    GPT-OSS 20B71.5%
    Source

    GLM-5 leads this result

  • GPQA-D

    GLM-586.0%
    Source
    GPT-OSS 20B—

    Not directly comparable

  • SuperGPQA

    GLM-566.8%
    Source
    GPT-OSS 20B—

    Not directly comparable

  • MMLU-Pro

    GLM-585.7%
    Source
    GPT-OSS 20B—

    Not directly comparable

  • MMLU-Pro (Arcee)

    GLM-585.8%
    Source
    GPT-OSS 20B—

    Not directly comparable

  • HLE

    GLM-530.5%
    Source
    GPT-OSS 20B10.9%
    Source

    GLM-5 leads this result

  • MMLU

    GLM-5—
    GPT-OSS 20B85.3%
    Source

    Not directly comparable

  • FailureSensorIQ

    Shown only
    GLM-5—
    GPT-OSS 20B43.5%
    Source

    Not directly comparable

Multilingual

  • MMLU-ProX

    GLM-583.1%
    Source
    GPT-OSS 20B—

    Not directly comparable

  • NOVA-63

    GLM-555.1%
    Source
    GPT-OSS 20B—

    Not directly comparable

Instruction following

  • IFEval

    GLM-592.6%
    Source
    GPT-OSS 20B—

    Not directly comparable

Math

  • AIME26

    GLM-595.8%
    Source
    GPT-OSS 20B—

    Not directly comparable

  • AIME25 (Arcee)

    GLM-593.3%
    Source
    GPT-OSS 20B—

    Not directly comparable

  • HMMT Feb 2025

    GLM-597.5%
    Source
    GPT-OSS 20B—

    Not directly comparable

  • HMMT Nov 2025

    GLM-596.9%
    Source
    GPT-OSS 20B—

    Not directly comparable

  • HMMT Feb 2026

    GLM-586.4%
    Source
    GPT-OSS 20B—

    Not directly comparable

  • MMAnswerBench

    GLM-582.5%
    Source
    GPT-OSS 20B—

    Not directly comparable

  • AIME 2024

    GLM-5—
    GPT-OSS 20B92.1%
    Source

    Not directly comparable

  • AIME 2025

    GLM-5—
    GPT-OSS 20B91.7%
    Source

    Not directly comparable

41 public results · 4 shared

Watch GLM-5 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 7,500+ subscribers.

Last updated December 2, 2026