LLM Comparison

Gemma 4 31B vs Sonar Pro

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

Price vs Intelligence

634934206$0.18$3.06$5.94$8.82$11.70Avg Price per M tokensIntelligenceGemma 4 31B53.4 / $0.26Sonar Pro15.5 / $9.00

Add to comparison

2/6 models
Same tier:
 GoogleGemma 4 31BPerplexity AISonar Pro
OrganizationGoogleGooglePerplexity AIPerplexity AI
OpenTools Score
53
209
16
1.7
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
GPQA Diamond
57.8perplexity
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