per 1M tokens
Z.ai: GLM 4.7
z-ai/glm-4.7
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...
Price
per 1M tokens
Cheaper on DeepInfra (−41%) versus the lab price
Providers
Each row is one seller. Prices are the published rate from that source. A dash means that source did not publish the amount. Sorted by a 3:1 blend of input and output.
| Provider | Tag | Quant | Input | Output | Context | Uptime | Status | Source |
|---|---|---|---|---|---|---|---|---|
| DeepInfra Price differs from the host list |
deepinfra/fp4/flex | fp4 | $0.32/1M | $1.4/1M | 203K | — | Live | openrouter-endpoints |
| DeepInfra | — | — | $0.4/1M | $1.75/1M | 203K | — | Listed | deepinfra |
| DeepInfra | deepinfra/fp4 | fp4 | $0.4/1M | $1.75/1M | 203K | 100% | Live | openrouter-endpoints |
| Venice | venice/fp4 | fp4 | $0.4004/1M | $1.929/1M | 198K | — | Live | openrouter-endpoints |
| Together | — | — | $0.45/1M | $2/1M | 203K | — | Listed | together |
| Novita Price differs from the host list |
novita/fp8 | fp8 | $0.54/1M | $1.98/1M | 205K | 100% | Live | openrouter-endpoints |
| Io Net | — | bf16 | $0.5281/1M | $2.072/1M | 203K | — | Listed | ionet |
| Novita Price differs from OpenRouter |
— | — | $0.6/1M | $2.2/1M | 205K | — | Listed | novita |
| Z.ai | z-ai/fp4 | fp4 | $0.6/1M | $2.2/1M | 203K | 100% | Live | openrouter-endpoints |
| Mancer 2 | mancer/fp4 | fp4 | $0.7/1M | $2.5/1M | 131K | 100% | Live | openrouter-endpoints |
Monthly bill
Token models use the token counts. Image, video, and audio models use units times the flat rate.
$2.52 at list price for this workload
Cache
per 1M tokens
Every rate
| Unit | Input | Output | Flat | Confidence |
|---|---|---|---|---|
| token | $0.54/1M | $1.98/1M | Not published— | official |
Price history
input or flat output
Daily snapshots
| UTC date | Unit | Input | Output | Flat |
|---|---|---|---|---|
| 2026-09-15 | token | $0.4 | $1.75 | Not published— |
| 2026-09-16 | token | $0.4 | $1.75 | Not published— |
| 2026-09-17 | token | $0.4 | $1.75 | Not published— |
| 2026-09-18 | token | $0.4 | $1.75 | Not published— |
| 2026-09-19 | token | $0.4 | $1.75 | Not published— |
| 2026-09-20 | token | $0.4 | $1.75 | Not published— |
| 2026-09-21 | token | $0.4 | $1.75 | Not published— |
| 2026-09-22 | token | $0.4 | $1.75 | Not published— |
| 2026-09-23 | token | $0.4 | $1.75 | Not published— |
| 2026-09-24 | token | $0.4 | $1.75 | Not published— |
| 2026-09-25 | token | $0.6 | $2.2 | Not published— |
| 2026-09-26 | token | $0.6 | $2.2 | Not published— |
| 2026-09-27 | token | $0.6 | $2.2 | Not published— |
| 2026-09-28 | token | $0.6 | $2.2 | Not published— |
| 2026-09-29 | token | $0.6 | $2.2 | Not published— |
| 2026-09-30 | token | $0.6 | $2.2 | Not published— |
| 2026-10-01 | token | $0.6 | $2.2 | Not published— |
| 2026-10-02 | token | $0.6 | $2.2 | Not published— |
| 2026-10-03 | token | $0.6 | $2.2 | Not published— |
| 2026-10-04 | token | $0.6 | $2.2 | Not published— |
| 2026-10-05 | token | $0.6 | $2.2 | Not published— |
| 2026-10-06 | token | $0.6 | $2.2 | Not published— |
| 2026-10-07 | token | $0.6 | $2.2 | Not published— |
| 2026-10-08 | token | $0.6 | $2.2 | Not published— |
| 2026-10-09 | token | $0.6 | $2.2 | Not published— |
| 2026-10-10 | token | $0.6 | $2.2 | Not published— |
| 2026-10-11 | token | $0.6 | $2.2 | Not published— |
| 2026-10-12 | token | $0.6 | $2.2 | Not published— |
| 2026-10-13 | token | $0.6 | $2.2 | Not published— |
| 2026-10-14 | token | $0.6 | $2.2 | Not published— |
| 2026-10-15 | token | $0.6 | $2.2 | Not published— |
| 2026-10-16 | token | $0.6 | $2.2 | Not published— |
| 2026-10-17 | token | $0.6 | $2.2 | Not published— |
| 2026-10-18 | token | $0.54 | $1.98 | Not published— |
| 2026-10-19 | token | $0.54 | $1.98 | Not published— |
| 2026-10-20 | token | $0.54 | $1.98 | Not published— |
| 2026-10-21 | token | $0.54 | $1.98 | Not published— |
| 2026-10-22 | token | $0.54 | $1.98 | Not published— |
| 2026-10-23 | token | $0.54 | $1.98 | Not published— |
| 2026-10-24 | token | $0.54 | $1.98 | Not published— |
| 2026-10-25 | token | $0.54 | $1.98 | Not published— |
| 2026-10-26 | token | $0.54 | $1.98 | Not published— |
| 2026-10-27 | token | $0.54 | $1.98 | Not published— |
| 2026-10-28 | token | $0.54 | $1.98 | Not published— |
| 2026-10-29 | token | $0.54 | $1.98 | Not published— |
| 2026-10-30 | token | $0.54 | $1.98 | Not published— |
Alternatives
- MoonshotAI: Kimi K2.5$0.5384/1M · Compare
- deepseek-v4-flash-0731$0.53/1M · Compare
- GLM 4.6$0.55/1M · Compare
- MiniMax M1$0.55/1M · Compare
- MiniMax: MiniMax M1$0.55/1M · Compare
- OpenAI: o3 Mini (batch)$0.55/1M · Compare
Parameters (18)
Call this model
OpenRouter id z-ai/glm-4.7. InferenceList does not send the request.
curl
curl https://openrouter.ai/api/v1/chat/completions \
-H "Authorization: Bearer $OPENROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"z-ai/glm-4.7","messages":[{"role":"user","content":"Hello"}]}'
JavaScript
await fetch("https://openrouter.ai/api/v1/chat/completions", {
method: "POST",
headers: {
Authorization: "Bearer " + process.env.OPENROUTER_API_KEY,
"Content-Type": "application/json",
},
body: JSON.stringify({
model: "z-ai/glm-4.7",
messages: [{ role: "user", content: "Hello" }],
}),
});
Python
import os, json, urllib.request
req = urllib.request.Request(
"https://openrouter.ai/api/v1/chat/completions",
data=json.dumps({"model": "z-ai/glm-4.7", "messages": [{"role": "user", "content": "Hello"}]}).encode(),
headers={"Authorization": "Bearer " + os.environ["OPENROUTER_API_KEY"], "Content-Type": "application/json"},
)
print(urllib.request.urlopen(req).read().decode())