OpenAI-kompatible REST-API für GLM 5.2.
Base URL: https://openinference.de/api/v1
Erstelle einen API-Key im Dashboard und sende ihn als Bearer Token:
Authorization: Bearer sk-oi-...
curl -X POST https://openinference.de/api/v1/chat/completions \
-H "Authorization: Bearer sk-oi-..." \
-H "Content-Type: application/json" \
-d '{
"model": "zai-org/GLM-5.2",
"messages": [{"role": "user", "content": "Hallo!"}],
"max_tokens": 100
}'https://openinference.de/api/v1zai-org/GLM-5.2zai-org/GLM-5.2