Z.AI

ZGLM 4.7OPEN

GLM 4.7 (Z.AI): live API pricing, context window and the best open-source alternatives, tracked daily by OpenSourceAI.tech.

Context window
205K
tokens
Input price
$0.4
per M tokens
Output price
$1.75
per M tokens
Provider
Z.AI

Prices update automatically — checked hourly against provider list prices.

See model comparisons → Compare all model prices

Benchmarks & performance

Independent benchmark scores for GLM 4.7, measured by Artificial Analysis. Higher is better. Measurement mode: Reasoning.

5.5×
More intelligence per dollar than Claude Opus 5.
For the same budget, GLM 4.7 delivers 5.5 times more capability. Open weights also mean you can self-host it and pay nothing per token.
Intelligence index33.7
Coding index45.3
Math index95
GPQA85.9%
MMLU-Pro85.6%
Humanity's Last Exam25.1%
Long Context Reasoning64%
LiveCodeBench89.4%
SciCode45.1%
AIME 202595%
IFBench67.9%
τ²-Bench95.9%
τ-Bench Banking9.7%
Terminal-Bench45.3%
Terminal-Bench Hard31.8%
💰 Blended price$1 / 1M tokens
📈 Value33.7 intelligence points per $
Benchmark data by Artificial Analysis

About this model

GLM 4.7 is an open-weight AI model by Z.AI. You can download and self-host it for free; the prices below are hosted-API list prices, tracked hourly, for when you prefer convenience over self-hosting.

Frequently asked questions

What is GLM 4.7?

GLM 4.7 is an AI language model from Z.AI. It is open-weight: you can download it and run it on your own hardware, for free. It scores 33.7 on the Artificial Analysis intelligence index.

Is GLM 4.7 free?

The weights are free and open — you can self-host GLM 4.7 and pay nothing per token. If you prefer a hosted API, list prices are $0.4 per million input tokens and $1.75 per million output tokens.

What is GLM 4.7 good at?

Independent benchmarks from Artificial Analysis give it GPQA 85.9%, MMLU-Pro 85.6%, Humanity's Last Exam 25.1%, Long Context Reasoning 64%, LiveCodeBench 89.4%, SciCode 45.1%, AIME 2025 95%, IFBench 67.9%, τ²-Bench 95.9%, τ-Bench Banking 9.7%, Terminal-Bench 45.3%, Terminal-Bench Hard 31.8%. It is particularly used for code generation.

Can I self-host GLM 4.7?

Yes. GLM 4.7 has open weights, so you can download it and run it on your own GPU or server with tools like Ollama, vLLM or llama.cpp — with no per-token cost.

Open-source alternatives

Depending on your workload, an open-weight model that you can self-host may cut costs dramatically or remove per-token pricing entirely. Our comparison pages put this model side by side with the strongest open-source contenders.

GLM 5.2Z.AIGLM 5Z.AIGLM 5.1Z.AIGLM 4.7 FlashZ.AIGLM 4.6Z.AIGLM 5 TurboZ.AI