Z.ai

GLM-4.7

The GLM-4.7 generation: a proven, cost-efficient reasoning and coding model, available across inference gateways.

ActiveAvailable from 12 providers
Tool callingCan invoke external tools and APIs (function calling) mid-response.Structured outputCan return JSON or schema-constrained responses instead of free text.ReasoningUses extended thinking / chain-of-thought for harder multi-step problems.Effort controlLets you dial thinking depth (low / medium / high) to trade cost for quality.Fine-tuningSupports training a custom variant on your own data.

Source: Z.ai GLM API pricing, Z.ai GLM models

Price per 1M tokens via DeepInfra (OpenRouter)
$0.4 in / $1.75 out
Context window204,800
Max output131,072
Cache read$0.08 / M
ModalitiesText → Text
Priced across12 providers

Pricing

Every billing leg from the live catalog, in USD per 1M tokens.

Billing legRate
Input$0.4 / M
Output$1.75 / M
Cache read$0.08 / M

Cost calculator

Billing-grade math over the rate card above, including the thinking tokens most estimates miss.

Hidden reasoning tokens bill as output. 1.0x = thinking off. Medium-effort reasoning typically lands near 3x; heavy reasoning runs 6x to 8x. Set it to match your workload.

Estimated monthly cost
$185
at current list prices
Fresh input$80.00
Cached input$0.00
Output incl. thinking$105
Track this automatically →

Compare providers

The same model, priced across every platform that serves it. Lowest combined in/out rate is flagged.

PlatformInput / MOutput / MCache read / MBatchAccess
DeepInfraLowest
$0.4$1.75$0.08via OpenRouter
StreamLake
$0.48$1.76via OpenRouter
AtlasCloud
$0.52$1.85$0.12via OpenRouter
Together AI
$0.45$2Direct
Novita
$0.54$1.98$0.099via OpenRouter
AWS Bedrock
$0.6$2.2Direct
Google
$0.6$2.2via OpenRouter
Z.ai
$0.6$2.2$0.11via OpenRouter
AWS Bedrock · Regional
from$0.6$2.2Direct
Venice
$0.55$2.65$0.11via OpenRouter
Phala
$0.85$3.3via OpenRouter
Cerebras
$2.25$2.75$2.25via OpenRouter

Regional deployments are priced per region; the lowest available region rate is shown.

Price history

Has this model gotten cheaper or more expensive?

No changePriced at $0.4 / $1.75 per 1M since July 10, 2026.

More from Z.ai

Other models from the same provider.

Stop estimating. Track it.

SuperPenguin meters every GLM-4.7 call your team makes, prices it with this exact rate card, and shows spend by feature, customer, and team.

Get started free

Rates are generated from SuperPenguin's live pricing catalog.