GLM 5
zai/glm-5A chat model with a 203K-token context window, at $1.05 per million input tokens and $3.36 per million output tokens.
Details
- Maker
- zai
- Kind
- Chat
- Context window
- 202,800 tokens
- Max output
- 131,100 tokens
- Input
- $1.05 per million tokens
- Output
- $3.36 per million tokens
- Capabilities
- Reasoning, tool use
- Takes
- Text
- Returns
- Text
- Zero data retention
- Not on every provider
- No training on requests
- Not on every provider
- Released
- 2026-02-12
- Newer model
- zai/glm-5.3-flashxReleased later by the same maker, costs no more, and lists the same capabilities. Compare the two
Description
GLM 5 is a frontier-class, general-purpose large language model optimized for complex systems engineering and long-horizon agentic tasks. It builds on the GLM 4.5 agent-centric lineage and is designed to support multi-step reasoning, math (including AIME-style benchmarks), advanced coding, and tool-augmented workflows, with long context support suitable for sophisticated agents and enterprise applications. Typical uses include autonomous agents for software engineering, data and systems troubleshooting, operations copilots, and high-end chat assistants that must break down complex tasks, call tools reliably, and reason over long sequences of instructions or documents.
Call it
curl https://phantom.codes/v1/chat/completions \
-H "Authorization: Bearer $PHANTOM_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "zai/glm-5",
"messages": [
{"role": "user", "content": "Hello"}
]
}'Set PHANTOM_KEY to your key. Any OpenAI client works with the base URL https://phantom.codes/v1.