Z.ai

GLM 4.7

$0.54 per 1M input tokens and $1.98 per 1M output tokens · 205K context · tools, reasoning, JSON, open weights.

Prices checked Oct 21, 2026 · tracked by LLM Cost Index since Oct 21, 2026

$0.54
input / 1M tokens
$1.98
output / 1M tokens
$0.099
cached input / 1M
205K
context window
131K
max output
22.2
Artificial Analysis intelligence index

What GLM 4.7 costs per month

Estimated monthly bill for typical workloads, using the cached-input price for repeated context. Try your own numbers in the cost calculator.

WorkloadPer month
Customer chatbot
1,000 conversations a day, 8 turns each
$265
Document Q&A (RAG)
500 questions a day over retrieved documents
$59.48
Coding / tool-using agent
200 tasks a day, long tool-heavy contexts
$123
Content generation
30 long articles a day
$5.91
Classification / extraction
100,000 short items a day
$575

Price history

We started tracking GLM 4.7 on Oct 21, 2026; the chart appears as soon as there is a second data point. See all recent price changes.

Where to run GLM 4.7: 7 providers

DeepInfra is the cheapest at $0.32 input / $1.40 output per 1M tokens. Uptime is the average over the last 30 days as reported by OpenRouter; see provider reliability.

ProviderInput / 1MOutput / 1MContextUptimeNotes
DeepInfra$0.32$1.40203K— flex tier, fp4
DeepInfra$0.40$1.75203K98.8% fp4
Venice$0.40$1.93198K77.8% fp4
Novita$0.54$1.98205K100% fp8
Google$0.60$2.20200K100% —
Z.AI$0.60$2.20203K100% fp4
Mancer 2$0.70$2.50131K98.6% fp4

Cheaper alternatives to GLM 4.7

Models with the same tool calling, structured output for at least 20% less (3:1 input/output mix), most capable first.

Cheaper alternatives to GLM 4.7
Model Input / 1M Output / 1M Context Capabilities
MiMo-V2.6-Pro
Xiaomi
$0.435 $0.87 1.05M visionaudiotoolsreasoningJSONopen weights
GLM 5.3
Z.ai
$0.079 $1.40 1.05M toolsreasoningJSONopen weights
Claude Haiku 5.5
Anthropic
$0.10 $0.50 1M visiontoolsreasoningJSON
GLM 5.3 Flash
Z.ai
$0.041 $0.12 1.05M visiontoolsreasoningJSONopen weights
Ling 3.1 Flash
inclusionAI
$0.075 $0.225 262K toolsreasoningJSON

How to pay less for GLM 4.7

For a customer chatbot (1,000 conversations a day, 8 turns each) that costs $361 a month at list price without caching:

OptionPer monthYou save
Move to MiMo-V2.6-Pro (similar capabilities)$136$224 (62%)
Route to DeepInfra (flex tier)$233$128 (35%)
Use prompt caching (60% of input cached)$265$95.26 (26%)

Other workloads: cut-your-bill tool for GLM 4.7.

Specifications

Model IDz-ai/glm-4.7
Inputtext
Outputtext
Tool callingYes
Structured outputYes
Reasoning modeYes
Open weightsYes — zai-org/GLM-4.7
ReleasedDec 22, 2025

FAQ

How much does GLM 4.7 cost?
$0.54 per million input tokens and $1.98 per million output tokens; cached input costs $0.099 per million. Prices as of Oct 21, 2026.
What is the context window of GLM 4.7?
205K tokens, with up to 131K output tokens per response.
Does GLM 4.7 support images, tools and structured output?
Images as input: no. Tool calling: yes. Structured (JSON) output: yes. Reasoning mode: yes.
What are cheaper alternatives to GLM 4.7?
Models with the same key capabilities for at least 20% less include MiMo-V2.6-Pro ($0.435 / $0.87), GLM 5.3 ($0.079 / $1.40), Claude Haiku 5.5 ($0.10 / $0.50).

More from Z.ai: all Z.ai models · how we collect prices