GLM-4.7 is Zhipu AI's language model with a 205K context window and up to 131K output tokens, available from 13 providers, starting at $0.400 / 1M input and $1.75 / 1M output. A multilingual MoE LLM from Z AI designed for complex reasoning, agentic coding, and tool use, building on the GLM-4.6 architecture.
Capabilities
Input3/5
Text✓
Image✓
Audio·
Video·
PDF✓
Output1/5
Text✓
Image·
Audio·
Video·
Embedding·
Capabilities7/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
| Provider | Standard | Batch | Flex | Priority | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Input $ / 1M | Output $ / 1M | Cache Read $ / 1M | Cache Write $ / 1M | Input $ / 1M | Output $ / 1M | Input $ / 1M | Output $ / 1M | Input $ / 1M | Output $ / 1M | |
OpenRouter | $0.400 | $1.75 | $0.080 | N/A | — | — | — | — | — | — |
Alibaba Qwen | $0.431 | $2.01 | N/A | N/A | $0.215 | $1.00 | — | — | — | — |
Together AI | $0.450 | $2.00 | N/A | N/A | — | — | — | — | — | — |
Amazon Bedrock | $0.600 | $2.20 | N/A | N/A | $0.300 | $1.10 | $0.300 | $1.10 | $1.05 | $3.85 |
Fireworks AI | $0.600 | $2.20 | $0.300 | N/A | — | — | — | — | — | — |
Google Gemini | $0.600 | $2.20 | N/A | $0.060 | — | — | — | — | — | — |
Google Vertex AI | $0.600 | $2.20 | N/A | $0.060 | — | — | — | — | — | — |
Hugging Face | $0.600 | $2.20 | N/A | N/A | — | — | — | — | — | — |
Novita | $0.600 | $2.20 | $0.110 | N/A | — | — | — | — | — | — |
Other/Baseten | $0.600 | $2.20 | N/A | N/A | — | — | — | — | — | — |
Z AI (Zhipu) | $0.600 | $2.20 | $0.110 | N/A | — | — | — | — | — | — |
Cerebras | $2.25 | $2.75 | N/A | N/A | — | — | — | — | — | — |
Vercel AI Gateway | $2.25 | $2.75 | $2.25 | N/A | — | — | — | — | — | — |
Cost Calculator
Preset:
Versions
| Version | Released | Context | Input / 1M | Output / 1M | Status |
|---|---|---|---|---|---|
| GLM-4.7 | 205K | $0.400 | $1.75 | Current | |
| GLM-4.6 | 205K | $0.430 | $1.74 | Deprecated | |
| GLM-4.5 | 131K | $0.400 | $1.60 | Available | |
| GLM-4.5 Air | 131K | $0.125 | $0.850 | Available |