GLM 4.7 API Pricing Calculator & Benchmarks

GLM-4.7 is Z.ai’s advanced open-weight coding and reasoning model for agentic software development, tool use, and complex technical workflows.

GLM 4.7 is a coding model from Z.ai, released 22 December 2025. It pairs a 204,800-token context window with up to 131,072 tokens of output, taking text input and returning text. Step-by-step reasoning is supported. It costs $0.60 per million input tokens through Z.ai.

Last updated Oct 27, 2026

Never miss an AI pricing or launch update

Get notified about new model launches, pricing changes, provider updates, deprecations, and cost-saving insights.

🔒 We respect your privacy. Unsubscribe anytime.

Model Details

Released
Dec 22, 2025
Context Length
204,800
Max Output
131,072
Modalities
Text → Text
Capabilities
Tool use Structured outputs Prompt caching Open weights

Where is GLM 4.7 a perfect fit?

GLM-4.7 delivers stronger coding, reasoning, tool use, multilingual agentic performance, and frontend generation, with interleaved and preserved thinking designed for complex, long-horizon development tasks. It can be a perfect fit for below use cases:
- Autonomous repository-level software development
- Terminal-based development — debugging, implementation, and multi-step CLI workflows
- Complex reasoning — mathematics, technical analysis, and difficult problem solving
- Tool-using agents — web browsing, APIs, and multi-step tool orchestration
- Frontend/vibe coding — modern webpages, UI components, and interactive experiences
- Multilingual development — coding and agentic workflows across multiple languages
- Document and slide generation — structured content with improved layout and visual quality
GLM-4.7 is primarily an agentic coding model: its major improvements over GLM-4.6 were aimed at software engineering, terminal use, tool calling, reasoning, and frontend.

Quick Model Estimate

(USD 0.6000 per 1M tokens)
(USD 2.2000 per 1M tokens)

Your GLM 4.7 Cost Estimate

💰 Total Cost

—

for 1000 input + 1000 output tokens

📥 Input (1000 × $0.600000) —
📤 Output (1000 × $2.200000) —

Cost Breakdown

📥 Input 📤 Output

Prices are watched for changes and checked against the provider's own page.

Pricing

Provider ↕
Modality ↕
Service Tier ↕
Input Price
(per 1M tokens)
↕
Output Price
(per 1M tokens)
↕
Cached Input
(per 1M tokens)
↕
Context Size ↕
View
Z.ai LogoZ.aiTextStandard$0.6000$2.2000$0.1100204,800 tokens→

Benchmarks

Scores from standardized evaluations by Artificial Analysis and Design Arena. Higher is better — the indices summarize overall ability, while the detailed scores break down performance on individual benchmarks.

Artificial Analysis

Higher is better · benchmarked by Artificial Analysis
Index scores by variant
Detailed scores
22.2
Intelligence Index
Overall intelligence across reasoning, knowledge & math evals
Better than 26% of 32 models
45.3
Coding Index
Coding ability across software-engineering evals
Better than 0% of 16 models
—
Agentic Index
Tool use & multi-step agent task performance
Reasoning
GPQA Diamond 85.9%

Graduate-level questions in biology, chemistry & physics

Humanity's Last Exam 27.4%

Expert-level questions across many academic domains

IFBench 67.9%

Precise following of detailed instructions

τ²-Bench Telecom 95.9%

Tool-using agent tasks in a telecom support setting

CritPt 1.7%

Unpublished physics research reasoning problems

AA-LCR 71%

Long-context reasoning across large inputs

Coding
Terminal-Bench Hard 31.8%

Complex command-line and terminal workflows

Knowledge
GDPval 25.7%

Economically valuable, real-world knowledge work

Omniscience Accuracy 29.3%

Breadth of factual knowledge across domains

Omniscience Non-Hallucination 7%

How reliably the model avoids fabricated answers

All variants
Variant GPQA Diamond Humanity's Last Exam IFBench τ²-Bench Telecom AA-LCR Terminal-Bench Hard CritPt GDPval Omniscience Accuracy Omniscience Non-Hallucination
GLM-4.7 (Reasoning) 85.9% 27.4% 67.9% 95.9% 71% 31.8% 1.7% 25.7% 29.3% 7%
GLM-4.7 (Non-reasoning) 66.4% 6.4% 54.6% 94.2% 40.7% 30.3% 0% — 23.6% 7.1%

Design Arena

Elo rating by arena & category
Variant Arena Category Elo Win % Percentile Avg time (ms)
glm-4.7 agents androidnative 1,114 56.1% 24 —
glm-4.7 agents fullstack 1,050 45.1% 16 —
glm-4.7 agents godotgamedev 1,058 35.8% 8 —
glm-4.7 agents mobileapps 1,105 48.9% 21 —
glm-4.7 models 3d 1,188 54.3% 60 143,525
glm-4.7 models asciiart 1,162 48.2% 53 156,732
glm-4.7 models codecategories 1,215 54.8% 62 165,194
glm-4.7 models dataviz 1,195 51.2% 55 153,971
glm-4.7 models gamedev 1,187 55.2% 58 167,669
glm-4.7 models svg 1,139 54.3% 50 90,374
glm-4.7 models uicomponent 1,194 51.1% 56 152,067
glm-4.7 models website 1,224 55.3% 65 171,665

FAQs about GLM 4.7

How much does GLM 4.7 cost per 1M tokens?

GLM 4.7 costs $0.60 per million input tokens, and $2.20 per million output tokens.

What does a typical workload cost with GLM 4.7?

1,000 requests of 2,000 input and 500 output tokens each — 2,000,000 input and 500,000 output tokens in total — costs $2.30 with GLM 4.7 at its lowest rates. Use the calculator on this page for your own volumes.

Where can I use GLM 4.7?

GLM 4.7 is available through Z.ai, from $0.60 per million input tokens.

What is GLM 4.7's context window?

GLM 4.7 has a context window of 204,800 tokens, and returns up to 131,072 tokens in a single response.

What input types does GLM 4.7 support?

GLM 4.7 accepts text input, and returns text.