LIVE Cheapest: GLM-4.7-Flash $0.000/Mtok in 153 models tracked Updated Jun 25, 2026
Jun 25, 2026
ModelPriceWatch$/Mtok
Pricing / Compare / Sonar vs Gemini 3.1 Flash

Sonar vs Gemini 3.1 Flash

Side-by-side API pricing comparison · Perplexity vs Google

🏆 Sonar is 40% cheaper on blended cost ($1.00 vs $1.40/Mtok)

Sonar

by Perplexity

Current mid tier
Input
$1.00/Mtok
Output
$1.00/Mtok
✓ Cheaper
Blended avg$1.00/Mtok
Context200K tokens
Modalitytext
ParametersProprietary
ReleasedFeb 1, 2025
Full details →

Gemini 3.1 Flash

by Google

Current mid tier
Input
$0.300/Mtok
Output
$2.50/Mtok
Blended avg$1.40/Mtok
Context1M tokens
Modalitytext, image, audio, video
ParametersProprietary
ReleasedNov 1, 2025
Full details →

Cost at scale — 1M tokens (50/50 input/output)

VolumeSonarGemini 3.1 FlashSavings
1M tokens $1 $1.4 $0.4 (28.6%)
10M tokens $10 $14 $4 (28.6%)
100M tokens $100 $140 $40 (28.6%)
1000M tokens $1000 $1400 $400 (28.6%)

Summary

Sonar by Perplexity costs $1.00/Mtok input and $1.00/Mtok output, with a 200K-token context window. It supports text input.

Gemini 3.1 Flash by Google costs $0.300/Mtok input and $2.50/Mtok output, with a 1M-token context window. It supports text, image, audio, video input.

On a blended cost basis, Sonar is 40% cheaper than Gemini 3.1 Flash.

Note: Pricing is per million tokens. Actual costs vary with usage patterns, prompt caching, and batch discounts. Always verify against official provider pricing pages.