AI model comparison

Grok 4.7 vs GLM 5.3

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
500K
Input / 1M
$2.00
Output / 1M
$6.00
Context tokens
1.05M
Input / 1M
$0.0699
Output / 1M
$1.40
Benchmark snapshot
Code Completion
Grok 4.7GLM 5.3
78.261%
80.435%

Percent score · Result source · Test method

Catalog checked Nov 27, 202630 shared benchmark resultsRead the methodology

The trade-offs

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

Benchmark results
Grok 4.7 and GLM 5.3 scored 78.261% and 80.435%, respectively, on Code Completion. Use the test setup below to check whether it matches your workload.
Token cost
For 1 million input tokens and 250,000 output tokens, the listed rates estimate $3.50 for Grok 4.7 and $0.4199 for GLM 5.3.
Context window
GLM 5.3 lists 1,048,576 tokens of context. Grok 4.7 lists 500,000 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.

Shared benchmark profilePercentage scores from the first eight shared groups, sorted by the page evidence order.

Source Result source · Test method

Grok 4.7GLM 5.3

Code Completion

Coding · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

78.261%
80.435%
Test configurations
Grok 4.7
grok-4.7-xhigh
GLM 5.3
glm-5.3

Code Generation

Coding · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

76.056%
77.465%
Test configurations
Grok 4.7
grok-4.7-xhigh
GLM 5.3
glm-5.3

Coding

Coding · Suite release Oct 14, 2026 · run date unavailable · Result source · Test method

84.5%
82.8%
Test configurations
Grok 4.7
grok-4.7
GLM 5.3
glm-5.3

Javascript

Agentic Coding · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

63.636%
72.727%
Test configurations
Grok 4.7
grok-4.7-xhigh
GLM 5.3
glm-5.3

Long Agentic

Long Agentic · Suite release Oct 14, 2026 · run date unavailable · Result source · Test method

50.1%
35.9%
Test configurations
Grok 4.7
grok-4.7
GLM 5.3
glm-5.3

Python

Agentic Coding · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

55%
60%
Test configurations
Grok 4.7
grok-4.7-xhigh
GLM 5.3
glm-5.3

Typescript

Agentic Coding · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

43.333%
50%
Test configurations
Grok 4.7
grok-4.7-xhigh
GLM 5.3
glm-5.3

Amps Hard

Mathematics · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

98%
99%
Test configurations
Grok 4.7
grok-4.7-xhigh
GLM 5.3
glm-5.3
Show 22 more shared results

Browser

Browser · Suite release Oct 14, 2026 · run date unavailable · Result source · Test method

60%
0%
Test configurations
Grok 4.7
grok-4.7
GLM 5.3
glm-5.3

Connections

Language · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

98%
95.333%
Test configurations
Grok 4.7
grok-4.7-xhigh
GLM 5.3
glm-5.3

Consecutive Events

Data Analysis · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

85.727%
72.309%
Test configurations
Grok 4.7
grok-4.7-xhigh
GLM 5.3
glm-5.3

Data Analysis

Data Analysis · Suite release Oct 14, 2026 · run date unavailable · Result source · Test method

76.9%
70.2%
Test configurations
Grok 4.7
grok-4.7
GLM 5.3
glm-5.3

Design

Design · Suite release Oct 14, 2026 · run date unavailable · Result source · Test method

78%
77.3%
Test configurations
Grok 4.7
grok-4.7
GLM 5.3
glm-5.3

Integrals With Game

Mathematics · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

96%
69%
Test configurations
Grok 4.7
grok-4.7-xhigh
GLM 5.3
glm-5.3

Logic With Navigation

Reasoning · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

66%
70%
Test configurations
Grok 4.7
grok-4.7-xhigh
GLM 5.3
glm-5.3

Math Comp

Mathematics · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

97.059%
96.078%
Test configurations
Grok 4.7
grok-4.7-xhigh
GLM 5.3
glm-5.3

Olympiad

Mathematics · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

91.653%
87.514%
Test configurations
Grok 4.7
grok-4.7-xhigh
GLM 5.3
glm-5.3

Paraphrase

IF · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

78.05%
64.683%
Test configurations
Grok 4.7
grok-4.7-xhigh
GLM 5.3
glm-5.3

Plot Unscrambling

Language · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

72.416%
60.236%
Test configurations
Grok 4.7
grok-4.7-xhigh
GLM 5.3
glm-5.3

Reasoning

Reasoning · Suite release Oct 14, 2026 · run date unavailable · Result source · Test method

82.7%
85.8%
Test configurations
Grok 4.7
grok-4.7
GLM 5.3
glm-5.3

Research

Research · Suite release Oct 14, 2026 · run date unavailable · Result source · Test method

86.4%
73.2%
Test configurations
Grok 4.7
grok-4.7
GLM 5.3
glm-5.3

Simplify

IF · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

69.967%
65.85%
Test configurations
Grok 4.7
grok-4.7-xhigh
GLM 5.3
glm-5.3

Spatial

Reasoning · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

94%
96%
Test configurations
Grok 4.7
grok-4.7-xhigh
GLM 5.3
glm-5.3

Story Generation

IF · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

74.917%
72.133%
Test configurations
Grok 4.7
grok-4.7-xhigh
GLM 5.3
glm-5.3

Summarize

IF · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

78.167%
74.55%
Test configurations
Grok 4.7
grok-4.7-xhigh
GLM 5.3
glm-5.3

Tablejoin

Data Analysis · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

44.923%
42.346%
Test configurations
Grok 4.7
grok-4.7-xhigh
GLM 5.3
glm-5.3

Tablereformat

Data Analysis · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

100%
96.078%
Test configurations
Grok 4.7
grok-4.7-xhigh
GLM 5.3
glm-5.3

Theory Of Mind

Reasoning · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

84.615%
88.462%
Test configurations
Grok 4.7
grok-4.7-xhigh
GLM 5.3
glm-5.3

Typos

Language · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

70%
84%
Test configurations
Grok 4.7
grok-4.7-xhigh
GLM 5.3
glm-5.3

Zebra Puzzle

Reasoning · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

86%
88.75%
Test configurations
Grok 4.7
grok-4.7-xhigh
GLM 5.3
glm-5.3
View individual benchmark records

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

Grok 4.7

BenchmarkScoreConfigurationSource model labelEvidence
Long Agentic46.1%grok-4.7 · Suite release Oct 25, 2026 · run date unavailablegrok-4.7Result source · Test method
Reasoning82.7%grok-4.7 · Suite release Oct 25, 2026 · run date unavailablegrok-4.7Result source · Test method
Coding84.5%grok-4.7 · Suite release Oct 25, 2026 · run date unavailablegrok-4.7Result source · Test method
Browser49.3%grok-4.7 · Suite release Oct 25, 2026 · run date unavailablegrok-4.7Result source · Test method
Data Analysis76.9%grok-4.7 · Suite release Oct 25, 2026 · run date unavailablegrok-4.7Result source · Test method
Research86.4%grok-4.7 · Suite release Oct 25, 2026 · run date unavailablegrok-4.7Result source · Test method
Design78%grok-4.7 · Suite release Oct 25, 2026 · run date unavailablegrok-4.7Result source · Test method
Long Agentic45.3%grok-4.7 · Suite release Nov 6, 2026 · run date unavailablegrok-4.7Result source · Test method
Reasoning82.7%grok-4.7 · Suite release Nov 6, 2026 · run date unavailablegrok-4.7Result source · Test method
Coding73.1%grok-4.7 · Suite release Nov 6, 2026 · run date unavailablegrok-4.7Result source · Test method
Browser49.3%grok-4.7 · Suite release Nov 6, 2026 · run date unavailablegrok-4.7Result source · Test method
Data Analysis76.9%grok-4.7 · Suite release Nov 6, 2026 · run date unavailablegrok-4.7Result source · Test method
Research89.5%grok-4.7 · Suite release Nov 6, 2026 · run date unavailablegrok-4.7Result source · Test method
Design75%grok-4.7 · Suite release Nov 6, 2026 · run date unavailablegrok-4.7Result source · Test method

GLM 5.3

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 tokensGrok 4.7GLM 5.3
Uncached input$2.00$0.0699
Output$6.00$1.40
Cache read$0.50$0.0689
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.

Grok 4.7$3.50
GLM 5.3$0.4199

GLM 5.3 costs $3.0801 less at this token mix.

Model specifications

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

SpecificationGrok 4.7GLM 5.3
Catalog statusListedListed
Catalog model IDx-ai/grok-4.7z-ai/glm-5.3
ProviderxAIZ.ai
Context window500,000 tokens1,048,576 tokens
Max output450,000 tokens943,718 tokens
Input modalitiesText, Image, FileText
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 dateSep 21, 2026Aug 18, 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.

Grok 4.7

Weave Router availability is unverified for this model ID.

GLM 5.3

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