~z-ai model
GLM Flash Latest API cost calculator
GLM Flash Latest costs $0.04 per 1M input tokens and $0.50 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.0003 — about $9.61/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 Flash Latest
| Workload | Tokens (in / out) | Per request | Per 1K requests |
|---|---|---|---|
| Chatbot message | 500 / 300 | $0.0002 | $0.17 |
| RAG query with context | 4,000 / 500 | $0.0004 | $0.39 |
| Document summarization | 20,000 / 1,000 | $0.0012 | $1.20 |
| Agent coding session | 100,000 / 5,000 | $0.0060 | $6.02 |
GLM Flash Latest vs other ~z-ai models
| Model | Input /1M | Output /1M | Context |
|---|---|---|---|
| GLM Flash Latest | $0.04 | $0.50 | 1.0M |
| GLM Latest | $0.08 | $5 | 1.0M |
Frequently asked questions
How much does GLM Flash Latest cost per 1M tokens?
According to current pricing data, GLM Flash Latest costs $0.04 per 1M input tokens and $0.50 per 1M output tokens. Processing 1M tokens each way costs $0.54.
What does a typical API request to GLM Flash Latest cost?
A typical request with 2,000 input tokens and 500 output tokens costs $0.0003. At 1,000 requests per day that is $0.32 daily, or about $9.61 per month.
What is GLM Flash Latest's context window?
GLM Flash Latest supports a 1.0M-token context window (1,048,576 tokens).
Does GLM Flash Latest support prompt caching?
Yes. Cached input tokens cost $0.04 per 1M — a 0% 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 Flash Latest?
DeepSeek Flash Latest from ~deepseek is currently the cheapest comparable option at $0.00 per 1M input tokens versus $0.04 for GLM Flash Latest — roughly 12x cheaper on input.
Compare all current prices on the live model pricing dashboard, see GLM Flash Latest vs DeepSeek Flash Latest pricing, or run GLM Flash Latest head-to-head against other models in the side-by-side comparison playground.
Pricing data via the OpenRouter models API.