Models›Z.ai›GLM 4.7

GLM 4.7

by Z.ai · released Dec 22, 2025 · 7 providers
Model IDz-ai/glm-4.7
ReasoningTool callingStructured outputsOpen weights · MIT

GLM-4.7 is Z.ai’s latest flagship model, featuring upgrades in two key areas: enhanced programming capabilities and more stable multi-step reasoning/execution.

Cheap mode · 36.4–46.7% off ↓
SAME MODEL · COMPARE API ROUTES

Cheap mode · 36.4–46.7% off

Fast mode prioritizes response speed. Cheap mode uses lower-cost capacity and may be a little slower. Both run GLM 4.7.

Per 1M tokens, including your 5% fee. Your selection carries into the playground and API example.

Per 1 million tokensFast modeCheap modeYou save
Input$0.63$0.33646.7%
Output$2.31$1.4736.4%
ILLUSTRATIVE USAGE · TOKEN CHARGESAggregate usage across calls, not a single request.
$2.94 → $1.806Save $1.134 · 38.6%

All displayed prices include the 5% Free-plan fee. Standard rates are OpenRouter’s published routing ceilings; the actual standard bill may be lower. Cheapest quote: DeepInfra. Savings compare uncached token rates; other provider charges and your usage mix can change the total. Availability is not guaranteed.

Quote checked 11/8/2026, 8:18:04 PM UTC.

Context
205k
tokens
Max output
131k
tokens per reply
Input
$0.6
provider baseline / 1M; fee applies
Output
$2.20
provider baseline / 1M; fee applies

Choose how to use GLM 4.7

Playground

Try prompts in your browser, create an agent, and see the cost of each reply. Your selected model carries into setup.

Model capabilities below describe the underlying model. Available playground features depend on its provider.

API

Connect your app with a Gizmo API key. Choose fastest or cheapest, stream text responses, and inspect timing, tokens, and charges in request logs.

A current API route is listed for this exact model. Gateway configuration is required for live calls.

Provider price + a transparent platform fee

RateProvider baselineFree plan · 5% feePaid plan · 4% fee
Input / 1M tokens$0.6$0.63$0.624
Output / 1M tokens$2.2$2.31$2.288
API input / 1M tokens$0.6$0.63$0.624
API output / 1M tokens$2.2$2.31$2.288

Legacy chat image rates use the catalog baseline. The dedicated image playground shows separate estimates and settles the provider’s metered usage. API rates are current routing ceilings; final API charges use provider-reported cost plus your fee. Cheapest routing compares eligible OpenRouter and Cheaper Inference rates for the same model; savings are not guaranteed. Cached input or other provider charges may differ. Compare all model rates and verified discounts →

How your plan pays for usage

API and playground share one included allowance. Usage including the fee draws from that allowance first, then your prepaid credits. Plans bill monthly; included usage resets weekly: Free $1, Starter $5, Growth $25, Scale $50.

A $1 provider charge becomes $1.05 on Free or $1.04 on a paid plan before included usage is applied. Plan eligibility still applies in the playground.

Free models and limits

Zero-cost models stay $0, including the fee, and do not consume your dollar allowance. Free accounts can make 1,000 free-model API requests per calendar month, resetting in UTC. Admitted requests count even if the provider fails.

Free includes 20 API requests/minute and 6 playground messages/minute. Paid plans raise these limits. See plan limits.

Before a text API request, Gizmo temporarily reserves included usage and, if necessary, prepaid credit for the model’s full context plus your maximum output. Image jobs reserve twice their displayed estimate. Unused funds return after metering. This hold can exceed the final charge; unconfirmed usage remains marked pending.

Overview

GLM-4.7 is Z.ai’s latest flagship model, featuring upgrades in two key areas: enhanced programming capabilities and more stable multi-step reasoning/execution. It demonstrates significant improvements in executing complex agent tasks while delivering more natural conversational experiences and superior front-end aesthetics.

Benchmarks

Artificial Analysis indices independent, 0–100

Coding
45.3

Design Arena head-to-head, human-voted

CategoryEloWin rateRank
Android native (agent)113056.2%#27
godotgamedev (agent)105835.8%#27
ASCII art118648.1%#27
Mobile apps (agent)114148.9%#29
Full-stack agents (agent)105845.1%#34
SVG117154.3%#40
Websites123955.3%#40
3D scenes122054.3%#41

Introduction from the model card

BenchmarkGLM-4.7GLM-4.6Kimi K2 ThinkingDeepSeek-V3.2Gemini 3.0 ProClaude Sonnet 4.5GPT-5-High
MMLU-Pro84.383.284.685.090.188.287.5
GPQA-Diamond85.781.084.582.491.983.485.7
HLE24.817.223.925.137.513.726.3
HLE (w/ Tools)42.830.444.940.845.832.035.2
AIME 202595.793.994.593.195.087.094.6
HMMT Feb. 202597.189.289.492.597.579.288.3
HMMT Nov. 202593.587.789.290.293.381.789.2
IMOAnswerBench82.073.578.678.383.365.876.0
LiveCodeBench-v684.982.883.183.390.764.087.0
SWE-bench Verified73.868.071.373.176.277.274.9
SWE-bench Multilingual66.753.861.170.2-68.055.3
Terminal Bench Hard33.323.630.635.439.033.330.5
Terminal Bench 2.041.024.535.746.454.242.835.2
BrowseComp52.045.1-51.4-24.154.9
BrowseComp (w/ Context Manage)67.557.560.267.659.2--
BrowseComp-Zh66.649.562.365.0-42.463.0
τ²-Bench87.475.274.385.390.787.282.4

Capabilities

Input
✍️ Text
Output
✍️ Text
✓ Tool calling✓ Structured outputs✓ JSON mode✓ Reasoning✓ Reasoning traces✓ Seeded sampling✓ Stop sequences✓ Logit bias

Reasoning is on by default.

Sampling controls: temperature, top_p, top_k, min_p, max_tokens, frequency_penalty, presence_penalty, repetition_penalty. Defaults: top_k null, top_p 0.95, temperature 1, presence_penalty null, frequency_penalty null, repetition_penalty null.

Pricing on Gizmo

These are provider baseline rates before Gizmo’s 5% Free-plan or 4% paid-plan fee. Your included usage covers charges first; overage uses prepaid credits. See the fee-inclusive comparison above.

Provider baseline rates

Input
$0.6 / 1M
Cached input
$0.08 / 1M
Output
$2.20 / 1M

Examples before the platform fee

Typical chat turn
$0.0023 2k in · 500 out
$1 of input
≈ 1.67M tokens
$1 of output
≈ 455k tokens
Full context, once
$0.12
Paid plans. This model is above the free tier’s price ceiling. Starter ($20/mo) covers $5 of usage weekly, Growth $25, Scale $50; every paid plan includes $25 in bonus credits.

Providers and pricing

5 ways to run GLM 4.7 on Gizmo, cheapest first. Requests follow your routing choice and fall back down this list if a provider fails.

ProviderRouteInput / 1MOutput / 1MContextUptime 24h
DeepInfra · fp4Lowest priceFlex tier: slower, discountedOpenRouter$0.32$1.40203k95.9%
DeepInfra · fp4OpenRouter$0.40$1.75203k100%
Venice · fp4OpenRouter$0.40$1.93198k99.4%
Novita · fp8OpenRouter$0.60$2.20205k99.6%
Z.AI · fp4OpenRouter$0.60$2.20203k100%

Rates are each provider’s, per million tokens, before Gizmo’s 5% (Free) or 4% (paid) fee. “Cheapest” routing starts at the top of this list; “Fastest” starts with the model’s maker.

Run GLM 4.7 in under a minute

1

Create your account

Sign up with just an email. Start on the free tier with no card, or pick a paid plan for a bigger weekly allowance and $25 in bonus credits.

2

Your agent is ready

GLM 4.7 is preselected as the brain of your first agent. Give it a name and a system prompt, or keep the defaults.

3

Chat, research, create

Live web research and image generation are built in. Every reply shows what it cost, and you can switch models anytime.

Sources. OpenRouter · Hugging Face · Artificial Analysis · Design Arena · Z.ai documentation. Verified Sep 9, 2026. Baseline prices are the provider’s list prices at sync time. Gizmo adds a 5% fee on Free or 4% on paid plans; included usage is applied before overage credits.