AI model comparison
Gemini 2.5 Flash TTS vs Gemma 4 31B
Compare benchmark results, pricing, and API capabilities for each model.
Change models
- Context tokens
- 8.19K
- Input / 1M
- Unavailable
- Output / 1M
- Unavailable
- Context tokens
- 262.14K
- Input / 1M
- $0.20
- Output / 1M
- $0.40
- Gemini 2.5 Flash TTS
- 8.19K
- Gemma 4 31B
- 262.14K
The trade-offs
Start with the differences that affect how this model fits your workload.
- Context window
- Gemma 4 31B lists 262,144 tokens of context. Gemini 2.5 Flash TTS lists 8,192 tokens. Reserve space for the output before routing long inputs.
- Tool calls
- The catalog lists tool calling for Gemma 4 31B. Check tool-schema compatibility in the serving endpoint before switching traffic.
Benchmarks
Shared results come from the same published benchmark release. Reasoning effort and serving configuration can differ.
A shared benchmark result is unavailable for these model IDs.
Pricing and token cost
Listed OpenRouter prices in US dollars. Actual charges depend on the endpoint, tier, cache, and token mix.
| USD per million tokens | Gemini 2.5 Flash TTS | Gemma 4 31B |
|---|---|---|
| Uncached input | Unavailable | $0.20 |
| Output | Unavailable | $0.40 |
| Cache read | Unavailable | Unavailable |
| Cache write | Unavailable | Unavailable |
Rates are a catalog snapshot. OpenRouter Models API
Model specifications
Context, output limits, modalities, and supported API parameters from the catalog.
| Specification | Gemini 2.5 Flash TTS | Gemma 4 31B |
|---|---|---|
| Catalog status | Listed | Listed |
| Catalog model ID | google/gemini-2.5-flash-tts | google/gemma-4-31b-it |
| Provider | ||
| Context window | 8,192 tokens | 262,144 tokens |
| Max output | Unavailable | 16,384 tokens |
| Input modalities | Text | Image, Text, Video |
| Output modalities | Speech | Text |
| Reasoning controls | Unverified | Listed |
| Tool calling | Unverified | Listed |
| Structured outputs | Unverified | Listed |
| Serving endpoints | /api/v1/audio/speech | /api/v1/chat/completions, /api/v1/completions, /api/v1/messages, /api/v1/responses |
| Catalog listing date | Nov 20, 2026 | Apr 2, 2026 |
Use with Weave Router
Set a quality bar on your own coding tasks. Then compare cost per completed task and use the same harness when you change models.
Gemini 2.5 Flash TTS
Weave Router availability is unverified for this model ID.
Gemma 4 31B
Weave Router availability is unverified for this model ID.
Catalog presence does not guarantee availability for a specific plan or account. Public Weave Router catalog · Nov 27, 2026
Sources
Each benchmark links to its own result and test method when available.
- OpenRouter Models API · token rates and catalog specifications
- Weave Router catalog · verified Router model IDs
- Gemini 2.5 Flash TTS catalog entry
- Gemma 4 31B catalog entry
- Gemma 4 31B model repository