Skip to content

GLM-5.2

Tools
z-ai/glm-5.2

Text · 1M context · Jun 2026 · 40 upstreams

GLM-5.2 is Z-AI's open-weight flagship reasoning model with a 128K output window. It supports controllable thinking effort, function calling, and MCP integration. It targets long-horizon autonomous coding and agentic tasks.

Needs your own keyTo use GLM-5.2, add your Z.ai key, or a key from another provider that serves it. AnyRouter adds no fee.
context
1M
input / 1M (list)
$0.55
output / 1M (list)
$1.76
routes
41
speed, 24h
No data yet

Upstreams

41
  1. 1Z-AIYour keynot addedBilled to your key
  2. 2AIHubMixYour keynot addedBilled to your key
  3. 3Z-AIYour keynot addedBilled to your key
  4. 4OpenRouterYour keynot addedBilled to your key
  5. 5Ollama CloudYour keynot addedBilled to your key
  6. 6FireworksYour keynot addedBilled to your key
  7. 7OpenCode ZenYour keynot addedBilled to your key
  8. 8OpenCode Zen GoYour keynot addedBilled to your key
  9. 9SiliconFlowYour keynot addedBilled to your key
  10. 10CommandCodeYour keynot addedBilled to your key
  11. 11FPT CloudYour keynot addedBilled to your key
  12. 12Ramp RouterYour keynot addedBilled to your key
  13. 13Vercel AI GatewayYour keynot addedBilled to your key
  14. 14DeepInfraYour keynot addedBilled to your key
  15. 15NovitaAIYour keynot addedBilled to your key
  16. 16Hugging FaceYour keynot addedBilled to your key
  17. 17Nous ResearchYour keynot addedBilled to your key
  18. 18Token HarborYour keynot addedBilled to your key
  19. 19ComputrixYour keynot addedBilled to your key
  20. 20inference.netYour keynot addedBilled to your key
  21. 21inference.netYour keynot addedBilled to your key
  22. 22RequestyYour keynot addedBilled to your key
  23. 23ZenMuxYour keynot addedBilled to your key
  24. 24PhalaYour keynot addedBilled to your key
  25. 25InfronYour keynot addedBilled to your key
  26. 26GetVibeYour keynot addedBilled to your key
  27. 27OcarRouterYour keynot addedBilled to your key
  28. 28OpenGatewayYour keynot addedBilled to your key
  29. 29Itera ComputeYour keynot addedBilled to your key
  30. 30OneTokenYour keynot addedBilled to your key
  31. 31WaferYour keynot addedBilled to your key
  32. 32NanoGPTYour keynot addedBilled to your key
  33. 33Eden AIYour keynot addedBilled to your key
  34. 34OfoxYour keynot addedBilled to your key
  35. 35Abacus RouteLLMYour keynot addedBilled to your key
  36. 36HiLinkupYour keynot addedBilled to your key
  37. 37FluenceYour keynot addedBilled to your key
  38. 38CortecsYour keynot addedBilled to your key
  39. 39PoeYour keynot addedBilled to your key
  40. 40QiniuYour keynot addedBilled to your key
  41. 41Jiekou.AIYour keynot addedBilled to your key

Benchmarks

SWE-bench Verified
78.7%
GPQA Diamond
89.5%
HLE
40.1%

Benchmark data from Epoch AI (CC-BY 4.0).

Quick start

curl https://anyrouter.dev/api/v1/chat/completions \
  -H "Authorization: Bearer $ANYROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "z-ai/glm-5.2",
  "messages": [
    {
      "role": "user",
      "content": "Say hi in 3 words."
    }
  ]
}'

Details

Owner
Zhipu AI
Kind
Chat
Released
Jun 2026
Context
1M
Data policy
Provider retention
Endpoint
/api/v1/chat/completions

Gallery

Images from the vendor
  • GLM-5.2 benchmark results (Z.ai-reported)© Z.ai