GLM-4.7

glm-4.7 by Z.ai Released December 22, 2025
Reasoning · Function calling · Structured output · Prompt caching · EU hosting
Input from
$0.4 / 1M
Output from
$1.75 / 1M
Cached input from
$0.08 / 1M
Context window
203K
Endpoints
4
from 3 providers
Regions
Asia, Europe, United States

About 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.

GLM-4.7 is a chat model by Z.ai, available on Eden AI through 4 endpoints from 3 providers, from $0.4 per million input tokens and $1.75 per million output tokens, with a context window of up to 203K tokens.

Providers and prices

4 endpoints from 3 providers, cheapest first, in USD per million tokens. Every one is called with the same Eden AI key: pin one with its endpoint ID, or let Eden AI route for you.

Endpoint
Region
Context
Input / 1M
Output / 1M
Cached / 1M
Supports
DeepInfra (United States)deepinfra/zai-org/GLM-4.7
United States
203K
$0.4
$1.75
$0.08
Reasoning · Tools · JSON · Cache
Amazon Web Services (Europe)amazon/zai.glm-4.7
Europe
203K
$0.6
$2.2
$
Reasoning · Tools · JSON
Amazon Web Services (United States)amazon/zai.glm-4.7@us
United States
203K
$0.6
$2.2
$
Reasoning · Tools · JSON
Z.ai (Asia)zai/glm-4.7
Asia
203K
$0.6
$2.2
$0.11
Official · Reasoning · Tools · Cache

Performance

Measured on real Eden AI traffic over the last 30 days. Endpoints with too little traffic are not shown.

Fastest first token
0.97 s
Amazon Web Services (Europe)
Lowest latency
0.77 s
Amazon Web Services (United States)
Highest throughput
37 tok/s
Z.ai (Asia)
Best availability
100%
Amazon Web Services (Europe)
Endpoint
First token
Latency p50
Latency p95
Throughput
Availability
Cache hits
Tool errors
JSON errors
DeepInfra (United States)
1.46 s
47.17 s
183.39 s
28.55 tok/s
98.3%
32.94%
0%
0%
Amazon Web Services (Europe)
0.97 s
1.66 s
22.99 s
19.46 tok/s
100%
0%
36.17%
0%
Amazon Web Services (United States)
1.35 s
0.77 s
4.63 s
20.44 tok/s
100%
0%
87.93%
0%
Z.ai (Asia)
3.82 s
20.09 s
78.72 s
37 tok/s
99.52%
31.46%
1.14%
0%

Estimate your monthly cost

Enter your expected volume to compare every endpoint at once.

Call GLM-4.7 with Eden AI

Use the model ID to let Eden AI pick an endpoint, or an endpoint ID from the table above to pin one.

import requests

response = requests.post(
    "https://api.edenai.run/v3/chat/completions",
    headers={"Authorization": "Bearer YOUR_EDENAI_API_KEY"},
    json={
        "model": "glm-4.7",
        "messages": [{"role": "user", "content": "Hello!"}],
    },
)
print(response.json())

Questions about GLM-4.7

On Eden AI, prices for this model start at $0.4 per million input tokens and $1.75 per million output tokens. Prices differ by endpoint; the providers table lists each one.

Up to 203K tokens, depending on the endpoint.

4 endpoints from 3 providers, available in: Asia, Europe, United States. All of them are called with the same Eden AI API key.

Can I run GLM-4.7 in the EU? Yes. At least one endpoint is hosted in Europe; pin it with its endpoint ID from the providers table to keep requests in the EU. ‖ How fast is GLM-4.7? Over the last 30 days, the fastest first token was 0.97 s (Amazon Web Services (Europe)) and the highest throughput was 37 tokens per second (Z.ai (Asia)).