Gemma 4 E2B is Google's language model with a 128K context window, available from 2 providers, starting at $0.04 / 1M input and $0.08 / 1M output. Compact edge-oriented 2B-parameter variant of Gemma 4, designed for efficient on-device multimodal text generation.
| Benchmarks | |
|---|---|
| Intelligence Index | #392 |
| Coding Index | #202 |
| GPQA | #430 |
| HLE | #414 |
| IFBench | #285 |
| Time to First Token | #160 |
| SciCode | #435 |
| LCR | #378 |
| TerminalBench Hard | #311 |
| TAU2 | #332 |
| Output TPS | #403 |
Capabilities
Input1/5
Text·
Image✓
Audio·
Video·
PDF·
Output1/5
Text✓
Image·
Audio·
Video·
Embedding·
Capabilities2/13
Reasoning✓
Adaptive Reasoning·
Function Calling✓
Parallel Function Calling·
Structured Outputs·
Native JSON Schema·
Web Search·
URL Context·
Computer Use·
Code Execution·
File Search·
Prompt Caching·
Assistant Prefill·
Pricing by Provider
US Dollar ($)
Per 1M tokens
| Provider | Standard | Flex | Fast | Batch | ||||
|---|---|---|---|---|---|---|---|---|
| Input $ / 1M | Output $ / 1M | Input $ / 1M | Output $ / 1M | Input $ / 1M | Output $ / 1M | Input $ / 1M | Output $ / 1M | |
| $0.04 | $0.08 | $0.02 | $0.04 | $0.07 | $0.14 | $0.02 | $0.04 | |
| $0.048 | $0.096 | N/A | N/A | N/A | N/A | N/A | N/A | |
| $0.048 | $0.096 | — | — | — | — | $0.024 | $0.048 | |
Cost Calculator
US Dollar ($)
Preset:
Versions
| Version | Released | Context | Input / 1M | Output / 1M | Status |
|---|---|---|---|---|---|
| Gemma 4 E2B | — | 128K | $0.040 | $0.080 | Current |
| Gemma 4 31B | — | — | — | — | Available |
| Gemma 4 26B A4B | — | — | — | — | Available |
| Gemma 4 26B A4B | — | 256K | $0.130 | $0.400 | Available |
| Gemma 4 31B | — | 256K | $0.140 | $0.400 | Available |
| Gemma 4 12B | — | — | — | — | Available |
| Gemma 4 E4B | — | — | — | — | Available |
| Gemma 4 E4B | — | — | — | — | Available |
| Gemma 4 | — | — | — | — | Available |
| Gemma 4 E2B | — | — | — | — | Available |
| Gemma 4 12B Instruct | — | 16K | $0.300 | $2.00 | Available |