AI model comparison

GLM 4.7 vs GLM 5.3 FlashX Legal

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
Context tokens
1.05M
Input / 1M
$0.37
Output / 1M
$1.25
Context windows
Listed model capacity
GLM 4.7
204.8K
GLM 5.3 FlashX Legal
1.05M

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 $0.6825 for GLM 5.3 FlashX Legal.
Context window
GLM 5.3 FlashX Legal lists 1,048,576 tokens of context. GLM 4.7 lists 204,800 tokens. Reserve space for the output before routing long inputs.

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.3 FlashX Legal

No additional benchmark results are available for this model ID.

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.3 FlashX Legal
Uncached input$0.60$0.37
Output$2.20$1.25
Cache read$0.11$0.075
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.3 FlashX Legal$0.6825

GLM 5.3 FlashX Legal costs $0.4675 less at this token mix.

Model specifications

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

SpecificationGLM 4.7GLM 5.3 FlashX Legal
Catalog statusListedListed
Catalog model IDz-ai/glm-4.7z-ai/glm-5.3-flashx-legal
ProviderZ.aiZ.ai
Context window204,800 tokens1,048,576 tokens
Max output131,072 tokens131,072 tokens
Input modalitiesTextText, Image, Video
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, 2025Nov 2, 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.3 FlashX Legal

Weave Router availability is unverified for this model ID.

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