Processing or generating 1,000,000 words (approximately 1,333,000 tokens) with Gemma 2 9B Instruct ranges from $0.0667 (cached input) to $0.2666 (full generation).
Quick answer
For 1,000,000 words, Gemma 2 9B Instruct processes approximately 1,333,000 tokens. That costs $0.2666 as uncached input, $0.0667 with the modeled cache discount, or $0.2666 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 1,000,000 words as prompt context, documentation, or background knowledge.
Gemma 2 9B Instruct drafts a complete 1,000,000 words article, chapter, or code module.
800,000 words input prompt + 200,000 words output reply.
| Model | Provider | Input Cost (1,000,000 words) | Cached Input Cost | Output Cost (1,000,000 words) | Context Limit |
|---|---|---|---|---|---|
| Gemma 2 9B Instruct (Current) | $0.2666 | $0.0667 | $0.2666 | 8,192 | |
| GPT-5.6 Luna | openai | $0.256 | $0.0256 | $1.536 | 1,050,000 |
| GPT-5.4 mini | openai | $0.96 | $0.096 | $5.76 | 256,000 |
| GPT-5.4 nano | openai | $0.256 | $0.0256 | $1.60 | 128,000 |
| GPT-4o mini | openai | $0.192 | $0.096 | $0.768 | 128,000 |
| Claude Haiku 4.5 | anthropic | $1.32 | $0.132 | $6.60 | 1,000,000 |
For Gemma 2 9B Instruct (sentencepiece tokenizer), 1,000,000 words is approximately 1,333,000 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 1,000,000 words as input costs $0.2666 (or $0.0667 with prompt caching). Generating 1,000,000 words as output costs $0.2666. 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.0667). For non-urgent asynchronous batch processing, 24-hour batch queues provide a flat 50% discount across all tokens (costing $0.1333 for input, $0.1333 for output).
At an average human reading speed of 250 words per minute, 1,000,000 words takes approximately 4000 minutes to read. In contrast, Gemma 2 9B Instruct can process or generate this text in seconds.