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
Sonar Reasoning Pro
Reasoning
Gemma 4 31B
Input modalities
Sonar Reasoning Pro
Input modalities
Gemma 4 31B
Output modalities
Sonar Reasoning Pro
Output modalities

Analysis

Gemma 4 31B vs Sonar Reasoning Pro at a glance

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
Not available
Sonar Reasoning Pro
Intelligence Index
Not available
Gemma 4 31B
Coding Index
33.2
Sonar Reasoning Pro
Coding Index
Not available
Gemma 4 31B
Agentic Index
Not available
Sonar Reasoning Pro
Agentic Index
Not available
Gemma 4 31B
Latency (p50)
0.71 s
Sonar Reasoning Pro
Latency (p50)
27.30 s
Gemma 4 31B
Throughput (p50)
127.0 tok/s
Sonar Reasoning Pro
Throughput (p50)
11.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 127.0 tokens per second compared with 11.0 tokens per second for Sonar Reasoning Pro.