Skip to content

GLM-5

Tools
z-ai/glm-5

Text · 128K context · Apr 2026 · 24 upstreams

GLM-5 is Z-AI's open-weight general-purpose foundation model for reasoning, coding, and agentic workloads. It has a 128K context window and 32K output. It supports thinking mode, function calling, and structured outputs.

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

Upstreams

24
  1. 1AIHubMixYour keynot addedBilled to your key
  2. 2Z-AIYour keynot addedBilled to your key
  3. 3OpenCode ZenYour keynot addedBilled to your key
  4. 4OpenCode Zen GoYour keynot addedBilled to your key
  5. 5SiliconFlowYour keynot addedBilled to your key
  6. 6CommandCodeYour keynot addedBilled to your key
  7. 7OpenRouterYour keynot addedBilled to your key
  8. 8Vercel AI GatewayYour keynot addedBilled to your key
  9. 9NovitaAIYour keynot addedBilled to your key
  10. 10Hugging FaceYour keynot addedBilled to your key
  11. 11inference.netYour keynot addedBilled to your key
  12. 12Nous ResearchYour keynot addedBilled to your key
  13. 13RequestyYour keynot addedBilled to your key
  14. 14InfronYour keynot addedBilled to your key
  15. 15ZenMuxYour keynot addedBilled to your key
  16. 16LLM GatewayYour keynot addedBilled to your key
  17. 17OcarRouterYour keynot addedBilled to your key
  18. 18AI/ML APIYour keynot addedBilled to your key
  19. 19NanoGPTYour keynot addedBilled to your key
  20. 20Eden AIYour keynot addedBilled to your key
  21. 21OfoxYour keynot addedBilled to your key
  22. 22FluenceYour keynot addedBilled to your key
  23. 23QiniuYour keynot addedBilled to your key
  24. 24Jiekou.AIYour keynot addedBilled to your key

Benchmarks

SWE-bench Verified
72.1%
GPQA Diamond
82.0%
HLE
27.2%

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

Quick start

curl
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",
  "messages": [
    {
      "role": "user",
      "content": "Say hi in 3 words."
    }
  ]
}'

Details

Owner
Zhipu AI
Kind
Chat
Released
Apr 2026
Context
128K
Data policy
Provider retention
Endpoint
/api/v1/chat/completions