# Gemma 4 31B vs Sonar Reasoning Pro

Source: https://openrouter.ai/compare/google/gemma-4-31b-it/perplexity/sonar-reasoning-pro

## Overview

| Attribute | Gemma 4 31B | Sonar Reasoning Pro |
| --- | --- | --- |
| Author | Google | Perplexity |
| Reasoning | Yes | Yes |
| Input modalities | Image, Text, Video | Text, Image |
| Output modalities | Text | Text |
| Input price | $0.10/M tokens | $2/M tokens |
| Output price | $0.34/M tokens | $8/M tokens |
| Context window | 262,144 tokens | 128,000 tokens |
| Intelligence Index | 4.4 | Not available |
| Finance & Accounting Index | 8.2 | Not available |
| Strategy & Ops Index | 6.9 | Not available |
| Legal Index | 7.3 | Not available |
| Engineering Index | 11.9 | Not available |
| Economics Index | 9.5 | Not available |
| Openness Index | 38.9 | Not available |
| FrontierCode-AA 2.0 | 0.0% | Not available |
| Latency (p50) | 0.75 s | 14.91 s |
| Throughput (p50) | 117.0 tok/s | 16.0 tok/s |

## Gemma 4 31B or Sonar Reasoning Pro: which should you choose?

### Choose Gemma 4 31B for:

- a longer context window (262,144 vs 128,000 tokens)
- faster output (117.0 vs 16.0 tok/s)
- a quicker first token (0.75 s vs 14.91 s)
- lower token prices

Sonar Reasoning Pro does not lead on any comparison both models report.

## Benchmark differences

| Benchmark | Gemma 4 31B | Sonar Reasoning Pro | Difference |
| --- | --- | --- | --- |
| Intelligence Index | 4.4 | Not available | Not available |
| Finance & Accounting Index | 8.2 | Not available | Not available |
| Strategy & Ops Index | 6.9 | Not available | Not available |
| Legal Index | 7.3 | Not available | Not available |
| Engineering Index | 11.9 | Not available | Not available |
| Economics Index | 9.5 | Not available | Not available |
| FrontierCode-AA 2.0 | 0.0% | Not available | Not available |

## Model pages

- [Gemma 4 31B](https://openrouter.ai/google/gemma-4-31b-it) ([llms.txt](https://openrouter.ai/google/gemma-4-31b-it/llms.txt))
- [Sonar Reasoning Pro](https://openrouter.ai/perplexity/sonar-reasoning-pro) ([llms.txt](https://openrouter.ai/perplexity/sonar-reasoning-pro/llms.txt))
