Google: Gemma 2 9B API Pricing

by google · 8K context window · #13 cheapest paid

$0.0300
Input /1M tokens
$0.0900
Output /1M tokens
8K
Context window

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

UsageMonthly 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.

Try StormRouter free →

Similar models

Free Models RouterFree/1MStepFun: Step 3.5 Flash (free)Free/1MArcee AI: Trinity Large Preview (free)Free/1MUpstage: Solar Pro 3 (free)Free/1MLiquidAI: LFM2.5-1.2B-Thinking (free)Free/1MLiquidAI: LFM2.5-1.2B-Instruct (free)Free/1M