Skip to content

GLM-5.1

Tools
z-ai/glm-5.1

Text · 128K context · Jun 2026 · 33 upstreams

GLM-5.1 is Z-AI's open-weight flagship foundation model for long-horizon autonomous tasks. It has a 128K output window and scores 58.4 on SWE-Bench Pro. It supports thinking mode, function calling, and MCP integration.

Needs your own keyTo use GLM-5.1, add your Z.ai key, or a key from another provider that serves it. AnyRouter adds no fee.

Benchmarks

SWE-bench Verified
58.4%
GPQA Diamond
83.9%
HLE
25.6%
context
128K
input / 1M (list)
$0.90
output / 1M (list)
$2.90
routes
33
speed, 24h
No data yet

Upstreams

33
  1. 1AIHubMixYour keynot addedBilled to your key
  2. 2Z-AIYour keynot addedBilled to your key
  3. 3DeepInfraYour keynot addedBilled to your key
  4. 4OpenRouterYour keynot addedBilled to your key
  5. 5Z-AIYour keynot addedBilled to your key
  6. 6Ollama CloudYour 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. 11Vercel AI GatewayYour keynot addedBilled to your key
  12. 12NovitaAIYour keynot addedBilled to your key
  13. 13Hugging FaceYour keynot addedBilled to your key
  14. 14Nous ResearchYour keynot addedBilled to your key
  15. 15Token HarborYour keynot addedBilled to your key
  16. 16ComputrixYour keynot addedBilled to your key
  17. 17InfronYour keynot addedBilled to your key
  18. 18ZenMuxYour keynot addedBilled to your key
  19. 19RequestyYour keynot addedBilled to your key
  20. 20PhalaYour keynot addedBilled to your key
  21. 21LLM GatewayYour keynot addedBilled to your key
  22. 22OcarRouterYour keynot addedBilled to your key
  23. 23OpenGatewayYour keynot addedBilled to your key
  24. 24AI/ML APIYour keynot addedBilled to your key
  25. 25ChutesYour keynot addedBilled to your key
  26. 26NanoGPTYour keynot addedBilled to your key
  27. 27Eden AIYour keynot addedBilled to your key
  28. 28OfoxYour keynot addedBilled to your key
  29. 29HiLinkupYour keynot addedBilled to your key
  30. 30FluenceYour keynot addedBilled to your key
  31. 31CortecsYour keynot addedBilled to your key
  32. 32QiniuYour keynot addedBilled to your key
  33. 33Jiekou.AIYour keynot addedBilled to your key

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

Details

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

Gallery

Images from the vendor
  • GLM-5.1 coding performance evaluation (Z.ai-reported)© Z.ai