~z-ai model
GLM Latest API cost calculator
GLM Latest costs $0.07 per 1M input tokens and $1.40 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.0008 — about $25.19/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.0005 | $0.45 |
| RAG query with context | 4,000 / 500 | $0.0010 | $0.98 |
| Document summarization | 20,000 / 1,000 | $0.0028 | $2.80 |
| Agent coding session | 100,000 / 5,000 | $0.01 | $13.99 |
GLM Latest vs other ~z-ai models
| Model | Input /1M | Output /1M | Context |
|---|---|---|---|
| GLM Latest | $0.07 | $1.40 | 1.0M |
| GLM Flash Latest | $0.03 | $0.07 | 1.0M |
Frequently asked questions
How much does GLM Latest cost per 1M tokens?
According to current pricing data, GLM Latest costs $0.07 per 1M input tokens and $1.40 per 1M output tokens. Processing 1M tokens each way costs $1.47.
What does a typical API request to GLM Latest cost?
A typical request with 2,000 input tokens and 500 output tokens costs $0.0008. At 1,000 requests per day that is $0.84 daily, or about $25.19 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 1% 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?
gpt-oss-20b from OpenAI is currently the cheapest comparable option at $0.02 per 1M input tokens versus $0.07 for GLM Latest — roughly 4x cheaper on input.
Compare all current prices on the live model pricing dashboard, see GLM Latest vs gpt-oss-20b 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.