
GLM-5.2 Fast Preview
About GLM-5.2 Fast Preview
GLM-5.2-Fast-Preview is the high-speed variant of Zhipu AI's GLM-5.2, with 1M context and capabilities on par with the standard version. Inference-optimized to deliver 1.5–2× the output TPS, it fits latency-sensitive use cases such as real-time chat, multi-turn agents, and streaming code generation.
GLM-5.2 Fast Preview is a chat model by Z.ai, available on Eden AI through 1 endpoint from 1 provider, from $1.82 per million input tokens and $5.72 per million output tokens, with a context window of up to 1M tokens.
Providers and prices
1 endpoints from 1 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. .

Performance
Performance figures appear here once GLM-5.2 Fast Preview has enough traffic on Eden AI to report them without exposing any single customer.
Estimate your monthly cost
Enter your expected volume to compare every endpoint at once.
Call GLM-5.2 Fast Preview 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": "",
"messages": [{"role": "user", "content": "Hello!"}],
},
)
print(response.json())
curl https://api.edenai.run/v3/chat/completions \
-H "Authorization: Bearer YOUR_EDENAI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "", "messages": [{"role": "user", "content": "Hello!"}]}'
const response = await fetch("https://api.edenai.run/v3/chat/completions", {
method: "POST",
headers: {
Authorization: "Bearer YOUR_EDENAI_API_KEY",
"Content-Type": "application/json",
},
body: JSON.stringify({
model: "",
messages: [{ role: "user", content: "Hello!" }],
}),
});
console.log(await response.json());
Questions about GLM-5.2 Fast Preview
On Eden AI, prices for this model start at $1.82 per million input tokens and $5.72 per million output tokens. Prices differ by endpoint; the providers table lists each one. .
Up to 1M tokens, depending on the endpoint.
1 endpoints from 1 providers, available in: Global. All of them are called with the same Eden AI API key.
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.
Over the last 30 days, the fastest first token was s () and the highest throughput was tokens per second ().
More from Z.ai
Other Z.ai models you can call with the same key.


.png)
.png)