glm-5.2
GLM 5.2 is a large-scale reasoning model from Z.ai. It supports text input and output with a 1M-token context window, and is suited for long-horizon agent workflows, project-level software engineering,...
Funktionen
Modalitäten
Kurzstatistik
Leistung
Unterstützte Parameter
| Parameter | Immer | Standard |
|---|---|---|
| frequency_penalty | - | (nicht senden) |
| include_reasoning | - | |
| logit_bias | - | - |
| max_tokens | - | |
| min_p | - | - |
| presence_penalty | - | (nicht senden) |
| reasoning | - | |
| repetition_penalty | - | (nicht senden) |
| response_format | - | - |
| seed | - | - |
| stop | - | - |
| structured_outputs | - | - |
| temperature | 1 | |
| tool_choice | - | - |
| tools | - | |
| top_k | (nicht senden) | |
| top_p | 0.95 |
Preise
| Input-Preis | $1.70 · 1M Tokens |
| Output-Preis | $5.95 · 1M Tokens |
| Kontextfenster | 131.1K Tokens |
| Kompatible Endpunkte | anthropic, openai |
| Anbieter | Zhipu |
glm-5.2 aus deinem Code aufrufen
Richte jedes OpenAI-kompatible SDK auf UnoRouter aus und frage das Modell per Namen an. Ersetze YOUR_API_KEY durch einen echten Schlüssel aus deinem Dashboard.
curl https://api.unorouter.com/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "glm-5.2",
"messages": [{"role": "user", "content": "Hello!"}]
}'Häufige Fragen
Was kostet glm-5.2 pro 1M Tokens?
Input kostet $1.70 pro 1M Tokens, Output $5.95 pro 1M Tokens. Abrechnung erfolgt pro Token, ohne Aufrundung auf Batch-Größen.
Wie greife ich per API auf glm-5.2 zu?
Sende Anfragen an den UnoRouter-Endpunkt /v1/chat/completions mit model=glm-5.2. Jede OpenAI-kompatible Client-Bibliothek funktioniert. Die Authentifizierung erfolgt über einen Standard-Bearer-Token.
Wie groß ist das Kontextfenster von glm-5.2?
glm-5.2 unterstützt ein Kontextfenster von 131.1K Tokens, aufgeteilt zwischen deinem Prompt und der Modellantwort.
Ähnliche Modelle
glm-5.2 jetzt ausprobieren
Erstelle einen API-Schlüssel und starte in unter einer Minute.