GLM-5.1 is Zhipu AI's language model with a 203K context window and up to 64K output tokens, available from 4 providers, starting at $0.98 / 1M input and $3.08 / 1M output. Z AI's next-generation flagship agentic LLM with significantly stronger coding capabilities, vision support, and file input, achieving top performance on SWE-Bench.
Capabilities
Input3/5
Text✓
Image✓
Audio·
Video·
PDF✓
Output1/5
Text✓
Image·
Audio·
Video·
Embedding·
Capabilities6/13
Reasoning✓
Adaptive Reasoning·
Function Calling✓
Parallel Function Calling✓
Structured Outputs✓
Native JSON Schema✓
Web Search·
URL Context·
Computer Use·
Code Execution·
File Search·
Prompt Caching✓
Assistant Prefill·
Pricing by Provider
US Dollar ($)
Per 1M tokens
| Provider | Standard | ||
|---|---|---|---|
| Input $ / 1M | Output $ / 1M | Cache Read $ / 1M | |
| $1.40 | $4.40 | $0.26 | |
| $1.40 | $4.40 | N/A | |
| $0.98 | $3.08 | $0.182 | |
| $1.40 | $4.40 | $0.26 | |
Cost Calculator
US Dollar ($)
Preset:
Versions
| Version | Released | Context | Input / 1M | Output / 1M | Status |
|---|---|---|---|---|---|
| GLM-5.1 | 203K | $0.980 | $3.08 | Current | |
| GLM-5 | 203K | $0.573 | $1.92 | Available |