~z-ai model
GLM Latest API cost calculator
GLM Latest costs $0.87 per 1M input tokens and $3.36 per 1M output tokens on the ~z-ai API, with a 1.3M-token context window. A typical request (2K input, 500 output tokens) costs $0.0034 — about $103/month at 1,000 requests per day. Use the calculator below to model your exact workload.
Find me a cheaper modelWhat real workloads cost on GLM Latest
| Workload | Tokens (in / out) | Per request | Per 1K requests |
|---|---|---|---|
| Chatbot message | 500 / 300 | $0.0014 | $1.44 |
| RAG query with context | 4,000 / 500 | $0.0052 | $5.17 |
| Document summarization | 20,000 / 1,000 | $0.02 | $20.81 |
| Agent coding session | 100,000 / 5,000 | $0.10 | $104 |
GLM Latest vs other ~z-ai models
| Model | Input /1M | Output /1M | Context |
|---|---|---|---|
| GLM Latest | $0.87 | $3.36 | 1.3M |
| GLM Flash Latest | $0.07 | $0.25 | 1.3M |
Frequently asked questions
How much does GLM Latest cost per 1M tokens?
According to current pricing data, GLM Latest costs $0.87 per 1M input tokens and $3.36 per 1M output tokens. Processing 1M tokens each way costs $4.23.
What does a typical API request to GLM Latest cost?
A typical request with 2,000 input tokens and 500 output tokens costs $0.0034. At 1,000 requests per day that is $3.43 daily, or about $103 per month.
What is GLM Latest's context window?
GLM Latest supports a 1.3M-token context window (1,310,720 tokens).
Does GLM Latest support prompt caching?
Yes. Cached input tokens cost $0.16 per 1M — a 81% discount versus the standard input rate, which matters for agents and chat apps that resend the same system prompt.
What is a cheaper alternative to GLM Latest?
Granite 4.0 Micro from Ibm-granite is currently the cheapest comparable option at $0.02 per 1M input tokens versus $0.87 for GLM Latest — roughly 51x cheaper on input.
Compare all current prices on the live model pricing dashboard, see GLM Latest vs Granite 4.0 Micro pricing, or run GLM Latest head-to-head against other models in the side-by-side comparison playground.
Pricing data via the OpenRouter models API.