CodeGemma 2B is
Google's language model with a 8K context window and up to 8K output tokens, starting at $0.100 / 1M input and $0.100 / 1M output. A 2-billion-parameter code generation model from the CodeGemma family, optimized for efficient text-to-code and code completion on resource-constrained hardware.
Capabilities
Input1/5
✓
·
·
·
·
Output1/5
✓
·
·
·
·
Capabilities0/13
·
·
·
·
·
·
·
·
·
·
·
·
·
Pricing by Provider
| Provider | Standard | |
|---|---|---|
| Input $ / 1M | Output $ / 1M | |
Fireworks AI | $0.100 | $0.100 |
Cost Calculator
Preset:
Compares every provider & tier in USD
Versions
| Version | Released | Context | Input / 1M | Output / 1M | Status |
|---|---|---|---|---|---|
| Gemma 4 | — | — | — | — | Available |
| Gemma 4 26B A4B IT | — | — | — | — | Available |
| SEA-LION Gemma 4 27B IT | — | 8K | — | — | Available |
| Gemma 3n 2B | 8K | — | — | Available | |
| Gemma 3 12B IT | 131K | $0.040 | $0.100 | Available | |
| Gemma 3 4B Instruct | 128K | — | — | Available | |
| Gemma 3 4B IT | 131K | $0.040 | $0.080 | Available | |
| Gemma 3 | — | — | — | — | Available |
| Gemma 3 12B Instruct | — | 128K | $0.150 | $0.500 | Available |
| Gemma 3 1B Instruct | — | — | — | — | Available |
| CodeGemma 2B | — | 8K | $0.100 | $0.100 | Current |