~z-ai model
GLM Latest API cost calculator
GLM Latest costs $0.08 per 1M input tokens and $5 per 1M output tokens on the ~z-ai API, with a 1.0M-token context window. A typical request (2K input, 500 output tokens) costs $0.0027 — about $79.80/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.0015 | $1.54 |
| RAG query with context | 4,000 / 500 | $0.0028 | $2.82 |
| Document summarization | 20,000 / 1,000 | $0.0066 | $6.60 |
| Agent coding session | 100,000 / 5,000 | $0.03 | $33.00 |
GLM Latest vs other ~z-ai models
| Model | Input /1M | Output /1M | Context |
|---|---|---|---|
| GLM Latest | $0.08 | $5 | 1.0M |
| GLM Flash Latest | $0.04 | $0.50 | 1.0M |
Frequently asked questions
How much does GLM Latest cost per 1M tokens?
According to current pricing data, GLM Latest costs $0.08 per 1M input tokens and $5 per 1M output tokens. Processing 1M tokens each way costs $5.08.
What does a typical API request to GLM Latest cost?
A typical request with 2,000 input tokens and 500 output tokens costs $0.0027. At 1,000 requests per day that is $2.66 daily, or about $79.80 per month.
What is GLM Latest's context window?
GLM Latest supports a 1.0M-token context window (1,048,576 tokens).
Does GLM Latest support prompt caching?
Yes. Cached input tokens cost $0.07 per 1M — a 12% 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?
DeepSeek Flash Latest from ~deepseek is currently the cheapest comparable option at $0.00 per 1M input tokens versus $0.08 for GLM Latest — roughly 27x cheaper on input.
Compare all current prices on the live model pricing dashboard, see GLM Latest vs DeepSeek Flash Latest 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.