AI model comparison

GLM 4.7 vs GLM 5

Compare benchmark results, pricing, and API capabilities for each model. Estimate the cost of your own token mix.

Change models
Loading the catalog…
Markdown
Context tokens
204.8K
Input / 1M
$0.60
Output / 1M
$2.20

Z.ai

GLM 5
Context tokens
204.8K
Input / 1M
$1.00
Output / 1M
$3.20
Context windows
Listed model capacity
GLM 4.7
204.8K
GLM 5
204.8K

Catalog specifications

Catalog checked Nov 27, 2026Shared benchmarks unavailableRead the methodology

The trade-offs

Start with the differences that affect how this model fits your workload.

Token cost
For 1 million input tokens and 250,000 output tokens, the listed rates estimate $1.15 for GLM 4.7 and $1.80 for GLM 5.

Benchmarks

Shared results come from the same published benchmark release. Reasoning effort and serving configuration can differ.

A shared benchmark result is unavailable for these model IDs. See the individual records below for reported results.

View individual benchmark records

These model-level records can include other benchmark releases, test configurations, and vendor-reported results.

GLM 4.7

BenchmarkScoreConfigurationSource model labelEvidence
MMLU-Pro84.3%Unavailablezai-org/GLM-4.7Result source · Test method
GPQA Diamond85.7%Unavailablezai-org/GLM-4.7Result source · Test method
Humanity's Last Exam24.8%Unavailablezai-org/GLM-4.7Result source · Test method
SWE-bench Verified73.8%Unavailablezai-org/GLM-4.7Result source · Test method
Terminal-Bench 2.033.4%Unavailablezai-org/GLM-4.7Result source · Test method
EvasionBench82.91%Unavailablezai-org/GLM-4.7Result source · Test method

GLM 5

BenchmarkScoreConfigurationSource model labelEvidence
GPQA Diamond86%Unavailablezai-org/GLM-5Result source · Test method
Humanity's Last Exam30.5%Unavailablezai-org/GLM-5Result source · Test method
SWE-bench Verified72.8%Unavailablezai-org/GLM-5Result source · Test method
AIME 202695.83%Unavailablezai-org/GLM-5Result source · Test method
Terminal-Bench 2.052.4%Unavailablezai-org/GLM-5Result source · Test method
HMMT February 202686.36%Unavailablezai-org/GLM-5Result source · Test method

Pricing and token cost

Listed OpenRouter prices in US dollars. Actual charges depend on the endpoint, tier, cache, and token mix.

USD per million tokensGLM 4.7GLM 5
Uncached input$0.60$1.00
Output$2.20$3.20
Cache read$0.11$0.20
Cache writeUnavailableUnavailable

Rates are a catalog snapshot. OpenRouter Models API

Estimate your workload

Enter total token counts. The estimate uses uncached input and output rates.

GLM 4.7$1.15
GLM 5$1.80

GLM 4.7 costs $0.65 less at this token mix.

Model specifications

Context, output limits, modalities, and supported API parameters from the catalog.

SpecificationGLM 4.7GLM 5
Catalog statusListedListed
Catalog model IDz-ai/glm-4.7z-ai/glm-5
ProviderZ.aiZ.ai
Context window204,800 tokens204,800 tokens
Max output131,072 tokens131,072 tokens
Input modalitiesTextText
Output modalitiesTextText
Reasoning controlsListedListed
Tool callingListedListed
Structured outputsListedListed
Serving endpoints/api/v1/chat/completions, /api/v1/completions, /api/v1/messages, /api/v1/responses/api/v1/chat/completions, /api/v1/completions, /api/v1/messages, /api/v1/responses
Catalog listing dateDec 22, 2025Feb 11, 2026

Use with Weave Router

Set a quality bar on your own coding tasks. Then compare cost per completed task and use the same harness when you change models.

GLM 4.7

Weave Router availability is unverified for this model ID.

GLM 5

Listed in the public Router catalog.

z-ai/glm-5

Catalog presence does not guarantee availability for a specific plan or account. Public Weave Router catalog · Nov 27, 2026

Explore Weave Router Read Weave Router benchmark results

Sources

Each benchmark links to its own result and test method when available.

MarkdownFull methodology