Best for coding
Insufficient dataEvidence
comparable_coding_benchmark_missingNo same-source coding benchmark is attached to both model versions.
Compare Gemma 4 26B A4B and Gemma 4 31B across context window, API pricing, modalities, tool use and recommended use cases.
Recommendations are conditional. Unknown values never count as a loss, and missing comparable benchmarks produce no winner.
comparable_coding_benchmark_missingNo same-source coding benchmark is attached to both model versions.
comparable_agent_benchmark_missingCapabilities are listed, but a comparable agent benchmark is missing.
context_window_largerGemma 4 26B A4B =262144; Gemma 4 31B=262144
same_provider_monthly_cost_lowerGemma 4 26B A4B =0.138; Gemma 4 31B=0.168; input=1000000; cached_input=0; output=200000; provider=OpenRouter
open_weights_supportGemma 4 26B A4B =unknown; Gemma 4 31B=unknown
| Attribute | Gemma 4 26B A4B | Gemma 4 31B | Winner |
|---|---|---|---|
Context windowcontext_window_largerProvider endpoint | 262K | 262K | Tie |
Maximum outputmax_output_largerProvider endpoint | 16K | 262K | Gemma 4 31B |
Input modalitiesinput_modalities_differProvider endpoint | Image, Text, Video | Image, Text, Video | Insufficient data |
Output modalitiesoutput_modalities_differProvider endpoint | Text | Text | Insufficient data |
Tool callingtool_calling_supportProvider endpoint | Supported | Supported | Tie |
Structured outputstructured_output_supportProvider endpoint | Supported | Supported | Tie |
Reasoningreasoning_supportModel | Supported | Supported | Insufficient data |
Open weightsopen_weights_supportModel | Unknown | Unknown | Insufficient data |
Input price per 1M tokensinput_price_lowerProvider endpoint | $0.07 | $0.10 | Gemma 4 26B A4B |
Output price per 1M tokensoutput_price_lowerProvider endpoint | $0.34 | $0.34 | Tie |
Estimate token charges for the selected provider endpoints. Image, audio, request and web-search charges are not included.
This is a provider snapshot, not a quote. Confirm production pricing before use.