Processing or generating 10,000 words (approximately 13,330 tokens) with Gemma 4 31B Instruct ranges from $0.000833 (cached input) to $0.009998 (full generation).
You send 10,000 words as prompt context, documentation, or background knowledge.
Gemma 4 31B Instruct drafts a complete 10,000 words article, chapter, or code module.
8,000 words input prompt + 2,000 words output reply.
| Model | Provider | Input Cost (10,000 words) | Cached Input Cost | Output Cost (10,000 words) | Context Limit |
|---|---|---|---|---|---|
| Gemma 4 31B Instruct (Current) | $0.003333 | $0.000833 | $0.009998 | 128,000 | |
| GPT-5.6 Terra | openai | $0.0256 | $0.00256 | $0.1536 | 1,050,000 |
| GPT-5.4 Workhorse | openai | $0.032 | $0.0032 | $0.192 | 256,000 |
| o3-mini | openai | $0.0141 | $0.00704 | $0.0563 | 200,000 |
| o4-mini | openai | $0.0141 | $0.00352 | $0.0563 | 256,000 |
| o1-mini | openai | $0.0141 | $0.00704 | $0.0563 | 128,000 |
For Gemma 4 31B Instruct (sentencepiece tokenizer), 10,000 words is approximately 13,330 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 10,000 words as input costs $0.003333 (or $0.000833 with prompt caching). Generating 10,000 words as output costs $0.009998. 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.000833). For non-urgent asynchronous batch processing, 24-hour batch queues provide a flat 50% discount across all tokens (costing $0.001666 for input, $0.004999 for output).
At an average human reading speed of 250 words per minute, 10,000 words takes approximately 40 minutes to read. In contrast, Gemma 4 31B Instruct can process or generate this text in seconds.