
GLM-5.2 Fast Preview
About GLM-5.2 Fast Preview
GLM-5.2-Fast-Preview è la variante ad alta velocità del GLM-5.2 di Zhipu AI, con un contesto di 1 milione e funzionalità pari a quelle della versione standard. Ottimizzata per l’inferenza per fornire un TPS in uscita da 1,5 a 2 volte superiore, è adatta a casi d’uso sensibili alla latenza come le chat in tempo reale, gli agenti multi-turn e la generazione di codice in streaming.
GLM-5.2 Fast Preview è un modello di chat di Z.ai, disponibile su Eden AI tramite 1 endpoint presso 1 provider, a partire da 1,82 $ per milione di token in input e 5,72 $ per milione di token in output, con una finestra di contesto fino a 1M token.
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": "glm-5.2-fast-preview",
"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": "glm-5.2-fast-preview", "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: "glm-5.2-fast-preview",
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: Globale. All of them are called with the same Eden AI API key.
More from Z.ai
Other Z.ai models you can call with the same key.



.png)