GLM-4-Long
by Z.ai (Zhipu AI)Chat
GLM-4 model optimized for long inputs with context caching. 1,000,000 token context window. Input and output billed at the same per-token rate.
- Context
- 1M tokens
- Max output
- 4,095 tokens
- Released
- 2024-01-01
- Weights
- Closed
zhipuai/glm-4-long
Specifications
Full facts as recorded, incl. what is unknown.
- Released
- 2024-01-01
- Weights
- Closed
- Input
- Text
- Output
- Text
- Context window
- 1,000,000 max across endpoints
- Max output
- 4,095
- Providers
- 1 + 1 gateway, not counted as providers
- Epoch Capabilities Index
- not evaluated
- Direct price range
- $0.138 in · $0.138 out per 1M tokens · from its one provider
More details
- Last updated
- 2024-08-01
- Knowledge cutoff
Capabilities
Across all endpoints: supported if any endpoint supports it.
- Tool calling
- Parallel toolsunknown
- Structured output
- Reasoning
- Image input
- PDF input
- Audio input
- Audio outputunknown
- Video input
- Prompt cachingunknown
- Web searchunknown
- Computer useunknown
- System messagesunknown
- Assistant prefillunknown
- Temperatureunknown
- Streamingunknown
- Attachments
Endpoints
One row per provider and variant; gateways are listed separately.
Loading endpoints…
Price history
Atom feedNo change since 19 Oct 2026. The cheapest direct price has been $0.138 in / $0.138 out per 1M tokens at Zhipu AI on every data refresh since then.
Tracked from 19 Oct 2026. Headline-eligible direct prices only, so a price the sanity check flags never draws a spike. Series as JSON
Cost calculator
Loading endpoints…
Similarly priced models
Blended rate per 1M tokens, each at its own cheapest provider (10M input : 2M output mix).
| Model | Blended/1M | In/1M | Out/1M | Context | vs GLM-4-Long |
|---|---|---|---|---|---|
| Sao10K Stheno 8bSao10K | $0.201 | $0.201 | $0.201 | 16.4K | +0% |
| Qwen3.5 PlusAlibaba (Qwen) | $0.201 | $0.11 | $0.658 | 1M | +0% |
| Qwen3 4B InstructAlibaba (Qwen) | $0.20 | $0.20 | $0.20 | 262K | −0% cheaper |
| Qwen3 8BAlibaba (Qwen) | $0.20 | $0.20 | $0.20 | 131K | −0% cheaper |
| gemma-2-9bGoogle | $0.20 | $0.20 | $0.20 | 8.2K | −0% cheaper |
| Gemma 4 E4B ITGoogle | $0.20 | $0.20 | $0.20 | 131K | −0% cheaper |
| Ministral 14BMistral AI | $0.20 | $0.20 | $0.20 | 262K | −0% cheaper |
| Ministral 3 14BMistral AI | $0.20 | $0.20 | $0.20 | 262K | −0% cheaper |
More from Z.ai (Zhipu AI)
Newest Z.ai (Zhipu AI) models in the catalogue. All Z.ai (Zhipu AI) models
| Model | Released | Context | Listed price |
|---|---|---|---|
| Apex Flash 1 | 2026-10-05 | 1.05M | $0.15 via NanoGPT |
| Apex Flash 1 Abliterated | 2026-10-05 | 1.05M | $0.15 via NanoGPT |
| GLM 5.3 Uncensored | 2026-09-26 | 1.05M | $1.25 via NanoGPT |
| GLM 5.3 Prime | 2026-09-23 | 1M | from $2.80 |
| GLM 5.3 Flash Cybersecurity | 2026-09-19 | 1.05M | $0.15 via NanoGPT |
| GLM 5.3 FlashX | 2026-09-18 | 1.05M | from $0.37 |
| GLM-5.3-Flash | 2026-08-26 | 1.05M | from $0.099 |
| GLM-5.3 | 2026-08-14 | 1.05M | from $0.75 |