# Gemini 2.5 Pro vs Gemma 4 31B

Canonical: https://weaveos.com/models/compare/google--gemini-2.5-pro-vs-google--gemma-4-31b-it

Catalog checked: Nov 27, 2026.

Methodology: https://weaveos.com/models/methodology.

## Routing trade-offs

- **Token cost.** For 1 million input tokens and 250,000 output tokens, the listed rates estimate $3.75 for Gemini 2.5 Pro and $0.30 for Gemma 4 31B.
- **Context window.** Gemini 2.5 Pro lists 1,048,576 tokens of context. Gemma 4 31B lists 262,144 tokens. Reserve space for the output before routing long inputs.

## Model specifications

| Specification | Gemini 2.5 Pro | Gemma 4 31B |
| --- | --- | --- |
| Catalog status | Listed | Listed |
| Catalog model ID | google/gemini-2.5-pro | google/gemma-4-31b-it |
| Provider | Google | Google |
| Context window | 1,048,576 tokens | 262,144 tokens |
| Max output | 65,536 tokens | 16,384 tokens |
| Input modalities | Text, Image, File, Audio, Video | Image, Text, Video |
| Output modalities | Text | Text |
| Reasoning controls | Listed | Listed |
| Tool calling | Listed | Listed |
| Structured outputs | Listed | Listed |
| Serving endpoints | /api/v1/chat/completions, /api/v1/completions, /api/v1/messages, /api/v1/responses | /api/v1/chat/completions, /api/v1/completions, /api/v1/messages, /api/v1/responses |
| Catalog listing date | Jun 17, 2025 | Apr 2, 2026 |

## Token pricing

OpenRouter snapshot rates in USD per million tokens. Rates and billing can vary with API endpoint, volume, tier, tools, and cache settings. Prices do not represent Weave plans. Catalog source: https://openrouter.ai/api/v1/models.

| USD per million tokens | Gemini 2.5 Pro | Gemma 4 31B |
| --- | --- | --- |
| Uncached input | $1.25 | $0.20 |
| Output | $10.00 | $0.40 |
| Cache read | $0.125 | Unavailable |
| Cache write | $0.375 | Unavailable |

Cost estimate formula: ((input tokens × uncached input USD per million) + (output tokens × output USD per million)) ÷ 1,000,000. The overview uses 1,000,000 input tokens and 250,000 output tokens.

## Shared benchmark results

Shared rows require the same benchmark source snapshot, metric, score unit, and evaluation group. Reasoning settings and test configurations can differ. Benchmarks describe the published runs.

No shared evaluation group is available for this pair.

## Individual benchmark evidence

### Gemini 2.5 Pro

No additional benchmark rows are available for this model ID.

### Gemma 4 31B

No additional benchmark rows are available for this model ID.

## Weave Router catalog

| Model | Exact public catalog status | Router model ID |
| --- | --- | --- |
| Gemini 2.5 Pro | Unverified | Unavailable |
| Gemma 4 31B | Unverified | Unavailable |

Public catalog source: https://router.weaveos.com/v1/router/models?scope=catalog. Checked Nov 27, 2026. Catalog presence does not determine plan or account eligibility.

## Visual assets

- Summary image (1200x630 PNG): https://weaveos.com/models/compare/google--gemini-2.5-pro-vs-google--gemma-4-31b-it/opengraph-image
- Google logo: https://weaveos.com/models/logos/google-color.svg
- Gemini 2.5 Pro product mark: https://weaveos.com/models/logos/gemini.svg
- Gemma 4 31B product mark: https://weaveos.com/models/logos/gemma.svg

## Model identities and sources

- Gemini 2.5 Pro model ID: google/gemini-2.5-pro.
- Catalog revision ID: google/gemini-2.5-pro.
- Knowledge cutoff: 2025-01-31.
- Endpoint variant: Standard model record.
- Advertised API parameters: include\_reasoning, max\_tokens, reasoning, response\_format, seed, structured\_outputs, temperature, tool\_choice, tools, top\_p.
- Source: https://openrouter.ai/google/gemini-2.5-pro

- Gemma 4 31B model ID: google/gemma-4-31b-it.
- Catalog revision ID: google/gemma-4-31b-it-20260402.
- Knowledge cutoff: Unavailable.
- Endpoint variant: Standard model record.
- Advertised API parameters: frequency\_penalty, include\_reasoning, logit\_bias, logprobs, max\_completion\_tokens, max\_tokens, min\_p, presence\_penalty, reasoning, repetition\_penalty, response\_format, seed, stop, structured\_outputs, temperature, tool\_choice, tools, top\_k, top\_logprobs, top\_p.
- Weight repository: google/gemma-4-31B-it. License tag: apache-2.0. Revision: 842da3794eaa0b77d5f08bae87a17459d91ff475.
- free endpoint google/gemma-4-31b-it:free. Input $0.00 and output $0.00 per million tokens. Source: https://openrouter.ai/api/v1/models
- Source: https://openrouter.ai/google/gemma-4-31b-it
- Source: https://huggingface.co/google/gemma-4-31B-it

- Gemini 2.5 Pro profile: https://weaveos.com/models/google--gemini-2.5-pro
- Gemma 4 31B profile: https://weaveos.com/models/google--gemma-4-31b-it
