~z-ai model
GLM Flash Latest API cost calculator
GLM Flash Latest costs $0.04 per 1M input tokens and $0.08 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.0001 — about $3.65/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.0001 | $0.04 |
| RAG query with context | 4,000 / 500 | $0.0002 | $0.20 |
| Document summarization | 20,000 / 1,000 | $0.0009 | $0.91 |
| Agent coding session | 100,000 / 5,000 | $0.0045 | $4.55 |
GLM Flash Latest vs other ~z-ai models
| Model | Input /1M | Output /1M | Context |
|---|---|---|---|
| GLM Flash Latest | $0.04 | $0.08 | 1.0M |
| GLM Latest | $0.07 | $1.40 | 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.08 per 1M output tokens. Processing 1M tokens each way costs $0.12.
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.0001. At 1,000 requests per day that is $0.12 daily, or about $3.65 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.03 per 1M — a 28% 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?
gpt-oss-20b from OpenAI is currently the cheapest comparable option at $0.02 per 1M input tokens versus $0.04 for GLM Flash Latest — roughly 2x cheaper on input.
Compare all current prices on the live model pricing dashboard, see GLM Flash Latest vs gpt-oss-20b 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.