Google: Gemma 2 9B API Pricing
by google · 8K context window · #13 cheapest paid
Explore Google's Gemma 2 9B API pricing for your large language model (LLM) applications. This page details the cost structure for input and output tokens, crucial for ML engineers evaluating different APIs. Specifically, Gemma 2 9B is priced at $0.03000 per 1 million input tokens and $0.09000 per 1 million output tokens, totaling $0.1200 per million tokens. With a context window of 8,192 tokens, understand how Google's offering compares in terms of cost-effectiveness. For example, a project processing 100 million input tokens and generating 50 million output tokens monthly would cost $7.50. Analyze the data to determine if Gemma 2 9B fits your budget and performance needs.
Monthly Cost Examples
Assuming 50% input / 50% output token split
| Usage | Monthly cost |
|---|---|
| 100K tokens/month | <$0.01 |
| 1M tokens/month | $0.06 |
| 10M tokens/month | $0.60 |
| 100M tokens/month | $6.00 |
Compare with other models
Google: Gemma 2 9B vs OpenAI: GPT-4o →Google: Gemma 2 9B vs OpenAI: GPT-4o-mini →Google: Gemma 2 9B vs OpenAI: o1 →Automate your model selection
StormRouter sends each request to the cheapest model that can handle it.
Only use Google: Gemma 2 9B when your quality requirements demand it.