LLM Comparison

Gemma 4 31B vs Sonar Pro

Side-by-side specs, pricing & capabilities · Updated September 2026

Price vs Intelligence

514030199$0.18$3.06$5.94$8.82$11.70Avg Price per M tokensIntelligenceGemma 4 31B40.5 / $0.26Sonar Pro18.7 / $9.00

Add to comparison

2/6 models
Same tier:
 GoogleGemma 4 31BPerplexity AISonar Pro
OrganizationGoogleGooglePerplexity AIPerplexity AI
OpenTools Score
41
159
19
2.1
FamilyGemmaSonar
StatusCurrentCurrent
Release DateApr 2026Mar 2025
Context Window262K tokens200K tokens
Input Price$0.13/M tokens$3.00/M tokens
Output Price$0.38/M tokens$15.00/M tokens
Pricing NotesCache read: $0.0200/M tokens
Capabilities
textvisionvideocode
textvisioncode
Max Output8K tokens
API Identifiergoogle/gemma-4-31b-itperplexity/sonar-pro
Benchmarks
Artificial Analysis Intelligence Index v4.3
15.4157artificial-analysis
GPQA Diamond
85.6566artificial-analysis
57.8perplexity
SciCode
45.4861artificial-analysis
Terminal-Bench 2.1
43.4457artificial-analysis
MMLU Pro
75.5perplexity
MATH-500
74.5perplexity
AIME
29perplexity
 View Gemma 4 31BView Sonar Pro

Cost Calculator

Enter your expected monthly token usage to compare costs.

ModelInputOutputTotal / movs Best
Gemma 4 31BCheapest$0.13$0.19$0.32
Sonar Pro$3.00$7.50$10.50+3181%

Looking for more AI models?

Browse All LLMs