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 tierInput
$1.00/Mtok
Output
$1.00/Mtok
✓ Cheaper
| Blended avg | $1.00/Mtok |
|---|---|
| Context | 200K tokens |
| Modality | text |
| Parameters | Proprietary |
| Released | Feb 1, 2025 |
Gemini 3.1 Flash
by Google
Current mid tierInput
$0.300/Mtok
Output
$2.50/Mtok
| Blended avg | $1.40/Mtok |
|---|---|
| Context | 1M tokens |
| Modality | text, image, audio, video |
| Parameters | Proprietary |
| Released | Nov 1, 2025 |
Cost at scale — 1M tokens (50/50 input/output)
| Volume | Sonar | Gemini 3.1 Flash | Savings |
|---|---|---|---|
| 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.