All models
Z.ai (Zhipu)
GLM 5 Code balanced
zai/glm-5-code
Input / 1M
$1.20
USD per million tokens
Output / 1M
$5.00
USD per million tokens
Est. cost / token
$0.00000215
$2.15 per 1M, 3:1 mix
Context window
200K
max output 128K
Major features
CachingReasoningTools
Task suitability (heuristic 1–5, not a benchmark)
- coding5
- reasoning4
- math4
- summarization4
- extraction4
- classification4
- chat4
- creative4
- translation4
- vision1
- long context3
- agentic4
Price history
| Recorded | Input | Output | Cached | Source |
|---|---|---|---|---|
| 2026-11-05 03:20 | $1.20 | $5.00 | $0.30 | litellm |
A row is added whenever a sync detects a price change. Vendor pricing source
Pricing (USD per 1M tokens)
- Input
- $1.20
- Output
- $5.00
- Cached input
- $0.30
- Blended (3:1)
- $2.15
Details
- Company
- Z.ai (Zhipu)
- Version
- 5
- Family
- GLM
- Released
- —
- Parameters
- Undisclosed
- Max output
- 128K
- Open weights
- No
- Inputs
- text
- Last synced
- 29 min ago