Processing or generating 2,500 words (approximately 3,333 tokens) with Gemma 4 31B Instruct ranges from $0.000208 (cached input) to $0.0025 (full generation).
Quick answer
For 2,500 words, Gemma 4 31B Instruct processes approximately 3,333 tokens. That costs $0.000833 as uncached input, $0.000208 with the modeled cache discount, or $0.0025 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 2,500 words as prompt context, documentation, or background knowledge.
Gemma 4 31B Instruct drafts a complete 2,500 words article, chapter, or code module.
2,000 words input prompt + 500 words output reply.
| Model | Provider | Input Cost (2,500 words) | Cached Input Cost | Output Cost (2,500 words) | Context Limit |
|---|---|---|---|---|---|
| Gemma 4 31B Instruct (Current) | $0.000833 | $0.000208 | $0.0025 | 128,000 | |
| GPT-5.6 Terra | openai | $0.0064 | $0.00064 | $0.0384 | 1,050,000 |
| GPT-5.4 Workhorse | openai | $0.008 | $0.0008 | $0.048 | 256,000 |
| o3-mini | openai | $0.00352 | $0.00176 | $0.0141 | 200,000 |
| o4-mini | openai | $0.00352 | $0.00088 | $0.0141 | 256,000 |
| o1-mini | openai | $0.00352 | $0.00176 | $0.0141 | 128,000 |
For Gemma 4 31B Instruct (sentencepiece tokenizer), 2,500 words is approximately 3,333 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 2,500 words as input costs $0.000833 (or $0.000208 with prompt caching). Generating 2,500 words as output costs $0.0025. 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.000208). For non-urgent asynchronous batch processing, 24-hour batch queues provide a flat 50% discount across all tokens (costing $0.000417 for input, $0.00125 for output).
At an average human reading speed of 250 words per minute, 2,500 words takes approximately 10 minutes to read. In contrast, Gemma 4 31B Instruct can process or generate this text in seconds.