LLM
GLM-5.3 API, kostenlos testen
Keine Kreditkarte nötig · Gratis-Guthaben 30 Tage gültig · Danach Guthaben aufladen und nach Verbrauch zahlen, kein Abo
model: "glm-5.3"
reasoning_effort: "high"
system: You are an on-call SRE. Name the root cause in at most two sentences, then give a one-line fix. Plain text, no Markdown.
Logins return 500 since 09:12. What is the root cause?
09:12:01 INFO api GET /reports/418 200 41ms
09:12:07 WARN redis OOM command not allowed when used memory > 'maxmemory'
09:12:07 ERROR api POST /login 500 SessionStoreError: could not save session
09:12:08 ERROR api POST /login 500 SessionStoreError: could not save session
09:12:09 INFO api GET /health 200 2ms
Root cause: Redis hit its maxmemory limit at 09:12:07 and started rejecting writes (OOM command not allowed), so the login endpoint can no longer save sessions, causing 500 errors.
Fix: Free up or raise Redis memory (e.g., flush stale keys / increase maxmemory or set an eviction policy like allkeys-lru), then restart or re-enable writes.
Anwendungsfälle für GLM-5.3
GLM-5.3 API Preise
| Tokens | Preis pro 1 Mio. | Für 5 $ |
|---|---|---|
| Input (Text) | 1,54 $ | ≈ 3,2 Mio. Tokens |
| Gecachter Input (wiederholtes Prompt-Präfix) | 0,308 $ | ≈ 16 Mio. Tokens |
| Output (Antwort und Reasoning) | 4,84 $ | ≈ 1,0 Mio. Tokens |
| Log-Frage im Hero, ein Aufruf | 0,00064 $ | ≈ 7.700 Aufrufe |
| Log-Zeile zu JSON (Python-Beispiel), ein Aufruf | 0,00025 $ | ≈ 19.000 Aufrufe |
GLM-5.3 vs. GLM-5.3 Flash vs. Kimi K3
| GLM-5.3 | GLM-5.3 Flash | Kimi K3 | |
|---|---|---|---|
| Input | Text | Text, Bild | Text, Bild |
| Kontext | 1.000.000 Tokens | 1.048.576 Tokens | 1.000.000 Tokens |
| Max. Output | 131.072 Tokens | 131.072 Tokens | 131.072 Tokens |
reasoning_effort |
low, high, max | none bis max, 7 Werte; Reasoning auch bei none | none bis max, 7 Stufen |
response_format |
json_object |
json_schema, json_object |
json_schema, json_object |
| Preis pro 1 Mio., Input / Output | 1,54 $ / 4,84 $ | 0,165 $ / 0,55 $ | 3,30 $ / 16,50 $ |
Beispiel für die GLM-5.3 API
- Modell-ID
- Endpoint
- Input
- Kontext und Output
- Reasoning
- Output-Optionen
curl https://oai.deapi.ai/v1/chat/completions \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"model": "glm-5.3",
"reasoning_effort": "low",
"messages": [
{"role": "system", "content": "Sort support tickets. Reply with one word: billing, bug, feature or other."},
{"role": "user", "content": "I was charged twice for the November top-up."}
]
}'
import json
from openai import OpenAI
client = OpenAI(base_url="https://oai.deapi.ai/v1", api_key="YOUR_API_KEY")
log_line = "09:12:07 ERROR api POST /login 500 SessionStoreError: could not save session"
response = client.chat.completions.create(
model="glm-5.3",
reasoning_effort="low",
messages=[
{"role": "system", "content": "Read the log line. Reply with a JSON object "
"with exactly these keys: service (string), level (string), "
"status (number), error (string)."},
{"role": "user", "content": log_line},
],
response_format={"type": "json_object"},
)
entry = json.loads(response.choices[0].message.content)
print(entry["service"], entry["level"], entry["status"]) # api ERROR 500
print(entry["error"]) # SessionStoreError: could not save session
print(response.usage)
Was ist GLM-5.3?
-
Gratis-Konto anlegen
-
Client auf deAPI umstellen
-
Anfrage senden
FAQ zu GLM-5.3
Sende deine erste Anfrage an GLM-5.3 mit 5 $ Gratis-Guthaben
Registrierung mit E-Mail oder Google. Kein Abo, Abrechnung nach Verbrauch.