Z.AI: GLM 4.6 · fastrouter
GLM-4.6 is the latest iteration in the GLM series by Zhipu AI, designed as a large language model with about 355 billion parameters in a Mixture of Experts (MoE) architecture. It is optimized for various complex tasks including real-world coding, long-context processing, advanced reasoning, intelligent agent applications, and refined writing. The model features an expanded context window of 200,000 tokens (up from 128,000 in GLM-4.5), allowing it to handle longer and more complex interactions such as extensive documents or multi-turn conversations.
Eingabe, $/1M $0.43
Ausgabe, $/1M $1.74
Cache-Lesen $0.08
Cache-Schreiben —
Kontext 202 752
Max. Ausgabe 202 752
Akzeptiert Text
Zuletzt geprüft 04.11.2026 12:00:14 UTC
Quelle Seite des Anbieters
Preisalarme
API
OpenAI-kompatible API: Die offiziellen OpenAI-SDKs funktionieren mit dieser Basis-URL. Ersetzen Sie YOUR_API_KEY durch Ihren Schlüssel vom Anbieter.
| API-Basis-URL | |
|---|---|
| Endpunkt | |
| Modell-ID | |
curl
curl https://go.fastrouter.ai/api/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "z-ai/glm-4.6", "messages": [{"role": "user", "content": "Hello!"}], "max_tokens": 256}'Python
import requests
r = requests.post(
"https://go.fastrouter.ai/api/v1/chat/completions",
headers={"Authorization": "Bearer YOUR_API_KEY"},
json={
"model": "z-ai/glm-4.6",
"messages": [
{
"role": "user",
"content": "Hello!"
}
],
"max_tokens": 256
},
)
print(r.json())JavaScript
const r = await fetch("https://go.fastrouter.ai/api/v1/chat/completions", {
method: "POST",
headers: {Authorization: "Bearer YOUR_API_KEY", "Content-Type": "application/json"},
body: JSON.stringify({
"model": "z-ai/glm-4.6",
"messages": [
{
"role": "user",
"content": "Hello!"
}
],
"max_tokens": 256
}),
});
console.log(await r.json());Anfrage (JSON)
{
"model": "z-ai/glm-4.6",
"messages": [
{
"role": "user",
"content": "Hello!"
}
],
"max_tokens": 256
}Antwort (JSON)
{
"id": "chatcmpl-...",
"object": "chat.completion",
"model": "z-ai/glm-4.6",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "Hi! How can I help?"
},
"finish_reason": "stop"
}
],
"usage": {
"prompt_tokens": 9,
"completion_tokens": 12,
"total_tokens": 21
}
}Die Adresse stammt aus der Modellliste des Anbieters; bitte mit seiner Dokumentation abgleichen.
Source: AI Rate Card, https://airatecard.com/de/c/offer%3Afastrouter%7Cz-ai/glm-4.6, prices checked 2026-11-04; seller's page: https://fastrouter.ai/models/z-ai/glm-4.6
Technische Details
ID: offer:fastrouter|z-ai/glm-4.6