GLM 4.7

Z.ai · On OpenRouter since December 22, 2025 · Pinned version id: z-ai/glm-4.7-20251222

Price

$1.00

mixed / 1M tokens

Mixed price per 1M tokens: 3 input tokens to 1 output token.

in $0.60 · out $2.20 · Cached input $0.11

Models that think before they answer can use many more output tokens, so your real cost can be higher than the figure shown.

US dollars per million tokens, converted to your currency at the NBP rate.

Tasks, with the evidence

Each line names the measurement it rests on. A task that is not listed has no measurement or declared feature we can show.

Writing code

Measured by a third party

Coding Index: 45.3 · Rank 44 of 86, among scored models · Artificial Analysis, read November 18, 2026

Code: 1,199 · Rank 61 of 122, among scored models · Design Arena, read November 21, 2026

Cost of this job: $0.45

Models that score at least as high for less in this scenario: 11

Websites and apps

Measured by a third party

Websites: 1,213 · Rank 61 of 127, among scored models · Design Arena, read November 21, 2026

UI components: 1,184 · Rank 64 of 118, among scored models · Design Arena, read November 21, 2026

Full-stack apps (agent): 1,022 · Rank 38 of 45, among scored models · Design Arena, read November 21, 2026

Mobile apps (agent): 1,096 · Rank 41 of 50, among scored models · Design Arena, read November 21, 2026

Android apps (agent): 1,096 · Rank 32 of 41, among scored models · Design Arena, read November 21, 2026

Cost of this job: $0.22

Models that score at least as high for less in this scenario: 16

Games and 3D

Measured by a third party

Game development: 1,167 · Rank 64 of 121, among scored models · Design Arena, read November 21, 2026

3D scenes: 1,158 · Rank 60 of 114, among scored models · Design Arena, read November 21, 2026

Godot games (agent): 1,058 · Rank 31 of 34, among scored models · Design Arena, read November 21, 2026

Cost of this job: $0.22

Models that score at least as high for less in this scenario: 16

Charts and graphics

Measured by a third party

Data visualization: 1,190 · Rank 61 of 112, among scored models · Design Arena, read November 21, 2026

SVG graphics: 1,127 · Rank 56 of 84, among scored models · Design Arena, read November 21, 2026

ASCII art: 1,151 · Rank 38 of 68, among scored models · Design Arena, read November 21, 2026

Cost of this job: $0.22

Models that score at least as high for less in this scenario: 13

The size of each job is our assumption; the prices are real.

  • Writing code: Requests: 40. Input tokens per request: 30,000. Output tokens per request: 1,500. Share of input served from cache: 70%.
  • Websites and apps; Games and 3D; Charts and graphics: Requests: 8. Input tokens per request: 12,000. Output tokens per request: 10,000. Share of input served from cache: 30%.

Thinking is billed as output tokens; a model that thinks longer costs more than this estimate. Ranks are among all models we list, including older ones.

Price by provider

The price used in the catalog is the vendor's own; when the vendor has no API of its own, it is the cheapest regular host.

ProviderInputOutputCached inputMixedNotes
DeepInfra $0.40$1.75 $0.08 $0.7375 26% cheaper fp4 · Numeric precision used by this host. Lower precision (fp4, int4) is cheaper and can change quality.
Venice $0.4004$1.93 $0.0801 $0.7826 22% cheaper fp4 · Numeric precision used by this host. Lower precision (fp4, int4) is cheaper and can change quality. · promo −27%
Z.ai Vendor Price used here $0.60$2.20 $0.11 $1.00 fp4 · Numeric precision used by this host. Lower precision (fp4, int4) is cheaper and can change quality.
Novita $0.60$2.20 $0.11 $1.00 fp8
Mancer 2 $0.70$2.50 $0.35 $1.15 fp4 · Numeric precision used by this host. Lower precision (fp4, int4) is cheaper and can change quality.

Other pricing modes

Specifications

Context window
203k
Context window: 203k on the default route, 205k declared by the model.
Max output
131k
Accepts
text
Answers with
text
Tools
Yes
Structured output
Yes
Reasoning
Optional
Thinking is on by default
Weights on Hugging Face
Hugging Face A Hugging Face repository is linked. We did not check the licence; read it before you build on it.
Knowledge cutoff
No data
On OpenRouter since
December 22, 2025
Price check
one source

As listed by OpenRouter. "Not listed" means OpenRouter does not list it for this model.

Benchmark scores

Scores come from third parties and are relayed by OpenRouter. We do not run the tests. Higher is better.

SourceScoreRank among scored
Coding Index
Artificial Analysis, read November 18, 2026
45.3Rank 44 of 86, among scored models
Websites
Design Arena, read November 21, 2026
1,213Rank 61 of 127, among scored models
UI components
Design Arena, read November 21, 2026
1,184Rank 64 of 118, among scored models
Game development
Design Arena, read November 21, 2026
1,167Rank 64 of 121, among scored models
3D scenes
Design Arena, read November 21, 2026
1,158Rank 60 of 114, among scored models
Data visualization
Design Arena, read November 21, 2026
1,190Rank 61 of 112, among scored models
SVG graphics
Design Arena, read November 21, 2026
1,127Rank 56 of 84, among scored models
ASCII art
Design Arena, read November 21, 2026
1,151Rank 38 of 68, among scored models
Code
Design Arena, read November 21, 2026
1,199Rank 61 of 122, among scored models
Full-stack apps (agent)
Design Arena, read November 21, 2026
1,022Rank 38 of 45, among scored models
Mobile apps (agent)
Design Arena, read November 21, 2026
1,096Rank 41 of 50, among scored models
Android apps (agent)
Design Arena, read November 21, 2026
1,096Rank 32 of 41, among scored models
Godot games (agent)
Design Arena, read November 21, 2026
1,058Rank 31 of 34, among scored models

Intelligence, Coding and Agentic indices: Artificial Analysis (artificialanalysis.ai). Design categories: Design Arena (designarena.ai). Both are relayed by the OpenRouter public model list and were read on November 21, 2026. We compute ranks, tiers and costs from these numbers; the sources have not reviewed them. Scores belong to the model, not to the route it is served on.

Artificial Analysis · Design Arena · Relayed by OpenRouter. opens in a new tab

Sources and dates

Prices: OpenRouter routes and a second price table, checked November 21, 2026. Specifications: OpenRouter, November 21, 2026. Exchange rate: NBP, November 20, 2026. Benchmarks: Artificial Analysis and Design Arena via OpenRouter.