Processing or generating 5,000 words (approximately 6,665 tokens) with GLM-4-32B-0414-128K (Z.ai) ranges from $0.000167 (cached input) to $0.000667 (full generation).
Quick answer
For 5,000 words, GLM-4-32B-0414-128K (Z.ai) processes approximately 6,665 tokens. That costs $0.000667 as uncached input, $0.000167 with the modeled cache discount, or $0.000667 when generated as output.
Method & trust
The estimate converts the selected English word count with the model tokenizer family, then applies the published input/output price per million tokens. Real prompts vary with code, formatting, language, and system instructions.
You send 5,000 words as prompt context, documentation, or background knowledge.
GLM-4-32B-0414-128K (Z.ai) drafts a complete 5,000 words article, chapter, or code module.
4,000 words input prompt + 1,000 words output reply.
| Model | Provider | Input Cost (5,000 words) | Cached Input Cost | Output Cost (5,000 words) | Context Limit |
|---|---|---|---|---|---|
| GLM-4-32B-0414-128K (Z.ai) (Current) | zai | $0.000667 | $0.000167 | $0.000667 | 128,000 |
| GPT-4 Turbo | openai | $0.0667 | $0.0333 | $0.20 | 128,000 |
| GPT-3.5 Turbo | openai | $0.003333 | $0.000833 | $0.009998 | 16,385 |
For GLM-4-32B-0414-128K (Z.ai) (glm_bpe tokenizer), 5,000 words is approximately 6,665 tokens (an average ratio of 1.33 tokens per word in English). Code, technical vocabulary, and non-English scripts will have higher token densities.
Sending 5,000 words as input costs $0.000667 (or $0.000167 with prompt caching). Generating 5,000 words as output costs $0.000667. Output tokens are more expensive because autoregressive token generation requires significantly more computation per token.
Yes! If your input text is part of a repeated context, prompt caching saves 50% to 90% (costing $0.000167). For non-urgent asynchronous batch processing, 24-hour batch queues provide a flat 50% discount across all tokens (costing $0.000333 for input, $0.000333 for output).
At an average human reading speed of 250 words per minute, 5,000 words takes approximately 20 minutes to read. In contrast, GLM-4-32B-0414-128K (Z.ai) can process or generate this text in seconds.