Hosted by Rayu

GLM-5.2 API

Rayu model ID: glm-5.2

Credits x6

Capabilities

Reasoning · Tool calling · 1,000,000 token context

Rayu credit charge per 1M tokens

Input 2,000 · Output 5,000 · Cache read 300

Call GLM-5.2 with the Rayu API

curl https://api.rayucode.com/v1/chat/completions \
  -H "Authorization: Bearer $RAYU_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"glm-5.2","messages":[{"role":"user","content":"Hello"}]}'