AI Rate Card

GLM-5.2 · orcarouter

GLM-5.2 is Z.ai (Zhipu AI)'s flagship model for the era of long-horizon tasks. It pairs a truly usable 1M-token context window with up to 128K output tokens, letting it hold project-level engineering context, execute long-running tasks more reliably, follow engineering standards more consistently, and carry a task from requirements through to multi-platform deployment in a single run. It is a text-in / text-out model with hybrid reasoning controlled by reasoning_effort (high / max; deep reasoning by default) and native tool calling. Built coding-first as the latest in the GLM-5 line, GLM-5.2 launched on the GLM Coding Plan with standalone API access and MIT-licensed open weights following shortly after. It targets repo-scale agentic coding, autonomous multi-step engineering workflows, and complex long-horizon delivery.

BasismodellAlle Modelle dieser BasisAlle Modelle des Anbieterszum Anbieter

Eingabe, $/1M $1.40

Ausgabe, $/1M $4.40

Cache-Lesen $0.26

Cache-Schreiben —

Kontext 1 000 000

Max. Ausgabe 131 072

Akzeptiert Text

Zuletzt geprüft 04.11.2026 12:26:37 UTC

Quelle Seite des Anbieters

Preisalarme

Anmelden, um dem Preis zu folgen

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
https://api.orcarouter.ai/v1
Endpunkt
https://api.orcarouter.ai/v1/chat/completions
Modell-ID
z-ai/glm-5.2
curl
curl https://api.orcarouter.ai/v1/chat/completions \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "z-ai/glm-5.2", "messages": [{"role": "user", "content": "Hello!"}], "max_tokens": 256}'
Python
import requests

r = requests.post(
    "https://api.orcarouter.ai/v1/chat/completions",
    headers={"Authorization": "Bearer YOUR_API_KEY"},
    json={
      "model": "z-ai/glm-5.2",
      "messages": [
        {
          "role": "user",
          "content": "Hello!"
        }
      ],
      "max_tokens": 256
    },
)
print(r.json())
JavaScript
const r = await fetch("https://api.orcarouter.ai/v1/chat/completions", {
  method: "POST",
  headers: {Authorization: "Bearer YOUR_API_KEY", "Content-Type": "application/json"},
  body: JSON.stringify({
    "model": "z-ai/glm-5.2",
    "messages": [
      {
        "role": "user",
        "content": "Hello!"
      }
    ],
    "max_tokens": 256
  }),
});
console.log(await r.json());
Anfrage (JSON)
{
  "model": "z-ai/glm-5.2",
  "messages": [
    {
      "role": "user",
      "content": "Hello!"
    }
  ],
  "max_tokens": 256
}
Antwort (JSON)
{
  "id": "chatcmpl-...",
  "object": "chat.completion",
  "model": "z-ai/glm-5.2",
  "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.

API-Dokumentation des Anbieters

Source: AI Rate Card, https://airatecard.com/de/c/offer%3Aorcarouter%7Cz-ai/glm-5.2, prices checked 2026-11-04; seller's page: https://orcarouter.ai/models/z-ai/glm-5.2

Technische Details

ID: offer:orcarouter|z-ai/glm-5.2