CodeGemma 2B API Pricing 2026
Compare pricing, benchmarks, and providers for CodeGemma 2B. Find the best value for your use case.
8 Ways to Use Fewer Tokens
Get the free PDF guide — practical tips to cut your token usage and API costs. Subscribe to the Price Per Token newsletter and download instantly.
Overview
CodeGemma 2B. Pricing starts at $0.100 per million input tokens and $0.100 per million output tokens. The model supports a context window of up to - tokens. API access is available through Google.
Pricing Comparison
Compare CodeGemma 2B with 0 similar models by price.
Current Pricing (per 1M tokens)
1 models
Provider | Model | Input $/M | Output $/M | Coding | MMLU | GPQA | Context | Actions |
|---|---|---|---|---|---|---|---|---|
$0.100 | $0.100 | — | — | — | - |
* Some models use tiered pricing based on prompt length. Displayed prices are for prompts ≤ 200k tokens.
Compare Providers
CodeGemma 2B is available from multiple providers with different pricing and availability.
No multi-provider data available for this model
This model may only be available from a single provider
Community Rankings
How does CodeGemma 2B perform? Vote based on your experience.
Cost vs. Quality
Compare CodeGemma 2B's benchmark performance against all models.
Try CodeGemma 2B
Use our Calculator
Estimate your costs based on expected token usage.
Open Cost CalculatorTry in Playground
Test CodeGemma 2B directly in your browser.
Open PlaygroundCompare CodeGemma 2B
Similar Price Range
Same Provider
Popular Competitors
Frequently Asked Questions
All Google Models
See pricing for all Google models.
View all Google models →