Gemma 4 31B vs Sonar Reasoning Pro

Compare Gemma 4 31B from Google and Sonar Reasoning Pro from Perplexity on key metrics including benchmarks, price, context length, and other model features. Access both models and hundreds of others through the OpenRouter API.

Favicon for google
Gemma 4 31B
Favicon for perplexity
Sonar Reasoning Pro

Overview

Gemma 4 31B
Author
Google
Sonar Reasoning Pro
Author
Perplexity
Gemma 4 31B
Context length
262Ktokens
Sonar Reasoning Pro
Context length
128Ktokens
Gemma 4 31B
Reasoning
Yes
Sonar Reasoning Pro
Reasoning
Yes
Gemma 4 31B
Input modalities
Text, Image, Video
Sonar Reasoning Pro
Input modalities
Text, Image
Gemma 4 31B
Output modalities
Text
Sonar Reasoning Pro
Output modalities
Text

Analysis

Gemma 4 31B vs Sonar Reasoning Pro at a glance

Index and benchmark scores are from Artificial Analysis. Each score is the model's best published result across the configurations Artificial Analysis evaluated.

Gemma 4 31B
Input price
$0.10/M tokens
Sonar Reasoning Pro
Input price
$2/M tokens
Gemma 4 31B
Output price
$0.34/M tokens
Sonar Reasoning Pro
Output price
$8/M tokens
Gemma 4 31B
Context window
262,144 tokens
Sonar Reasoning Pro
Context window
128,000 tokens
Gemma 4 31B
Intelligence Index Artificial Analysis, best published result
4.4
Sonar Reasoning Pro
Intelligence Index Artificial Analysis, best published result
Not available
Gemma 4 31B
Finance & Accounting Index Artificial Analysis, best published result
8.2
Sonar Reasoning Pro
Finance & Accounting Index Artificial Analysis, best published result
Not available
Gemma 4 31B
Strategy & Ops Index Artificial Analysis, best published result
6.9
Sonar Reasoning Pro
Strategy & Ops Index Artificial Analysis, best published result
Not available
Gemma 4 31B
Legal Index Artificial Analysis, best published result
7.3
Sonar Reasoning Pro
Legal Index Artificial Analysis, best published result
Not available
Gemma 4 31B
Engineering Index Artificial Analysis, best published result
11.9
Sonar Reasoning Pro
Engineering Index Artificial Analysis, best published result
Not available
Gemma 4 31B
Economics Index Artificial Analysis, best published result
9.5
Sonar Reasoning Pro
Economics Index Artificial Analysis, best published result
Not available
Gemma 4 31B
Openness Index Artificial Analysis, best published result
38.9
Sonar Reasoning Pro
Openness Index Artificial Analysis, best published result
Not available
Gemma 4 31B
FrontierCode-AA 2.0 Artificial Analysis, best published result
0.0%
Sonar Reasoning Pro
FrontierCode-AA 2.0 Artificial Analysis, best published result
Not available
Gemma 4 31B
Latency (p50)
0.75 s
Sonar Reasoning Pro
Latency (p50)
11.45 s
Gemma 4 31B
Throughput (p50)
117.0 tok/s
Sonar Reasoning Pro
Throughput (p50)
16.0 tok/s
Gemma 4 31B
Provided by
Google
Sonar Reasoning Pro
Provided by
Perplexity

Benchmark data updated

Frequently asked questions

Is Gemma 4 31B cheaper than Sonar Reasoning Pro?

Gemma 4 31B is cheaper than Sonar Reasoning Pro on OpenRouter: Gemma 4 31B costs $0.10/M tokens input and $0.34/M tokens output, while Sonar Reasoning Pro costs $2/M tokens input and $8/M tokens output.

Which has the longer context window, Gemma 4 31B or Sonar Reasoning Pro?

Gemma 4 31B has the longer context window at 262,144 tokens, compared with 128,000 tokens for Sonar Reasoning Pro.

Which is faster, Gemma 4 31B or Sonar Reasoning Pro?

Gemma 4 31B is faster on OpenRouter, generating a median 117.0 tokens per second compared with 16.0 tokens per second for Sonar Reasoning Pro.