AI model comparison

Gemini 3.1 Flash Lite vs Sonar

Side by side comparison of Gemini 3.1 Flash Lite and Sonar on pricing, benchmark scores, context window, and more.

Gemini 3.1 Flash Lite is Google’s GA high-efficiency multimodal model optimized for low-latency, high-volume workloads.

Input / 1M
$0.25
Output / 1M
$1.50
Context
1.05M

Sonar is lightweight, affordable, fast, and simple to use — now featuring citations and the ability to customize sources.

Input / 1M
$1
Output / 1M
$1
Context
127K

Comparing image generators? Compare image models

At a glance

Quick verdict

How the two models stack up on the things people ask about most.

Lower price

google logo

Gemini 3.1 Flash Lite

2x cheaper for a typical chat

Higher intelligence score

perplexity logo

Sonar

7.7 vs 6.2 on Artificial Analysis

Larger context window

google logo

Gemini 3.1 Flash Lite

1.05M vs 127K tokens

Newer release

google logo

Gemini 3.1 Flash Lite

Released May 7, 2026

Benchmarks

Benchmark scores

Independent scores from Artificial Analysis. Higher is better.

Intelligence index

google logoGemini 3.1 Flash Lite6.2
perplexity logoSonar7.7

Coding index

google logoGemini 3.1 Flash Lite34.7
perplexity logoSonarNot available

Agentic index

google logoGemini 3.1 Flash Lite1.6
perplexity logoSonarNot available

Pricing

Gemini 3.1 Flash Lite vs Sonar API pricing

Per-token API rates. Cheaper option highlighted.

Metricgoogle logoGemini 3.1 Flash Liteperplexity logoSonar
Input tokensPer 1M tokens$0.25$1
Output tokensPer 1M tokens$1.50$1
Cached input (read)Per 1M tokens$0.03Not available
Cache writePer 1M tokens$0.08Not available
Web searchPer request$0.014$0.005

What it costs in practice

Estimated cost per 1,000 requests at standard rates. Coding and long-document figures also show the cost when the input is already cached.

Chat message

2K in, 500 out

google logoGemini 3.1 Flash Lite$1.25
perplexity logoSonar$2.50

Coding task

30K in, 4K out

google logoGemini 3.1 Flash Lite$13.50$6.75 cached
perplexity logoSonar$34

Long document summary

150K in, 2K out

google logoGemini 3.1 Flash Lite$40.50$6.75 cached
perplexity logoSonar$152

Specs

Context window and capabilities

How much each model can read, how much it can write, and what it accepts as input.

Metricgoogle logoGemini 3.1 Flash Liteperplexity logoSonar
Context window1.05M tokens127K tokens
Max output66K tokens114K tokens
Input typesAudio, File, Image, Text, VideoImage, Text
Output typesTextText
Reasoning effort levelsHigh, Medium, Low, Minimal, NoneNot available
Default reasoning effortMinimalNot available
Release dateMay 7, 2026January 27, 2025

Features

Supported features

API features available for each model.

Metricgoogle logoGemini 3.1 Flash Liteperplexity logoSonar
Tool callingSupportedNot supported
Structured outputsSupportedNot supported
JSON modeSupportedNot supported
ReasoningSupportedNot supported
TemperatureSupportedSupported
Stop sequencesSupportedNot supported
Deterministic seedSupportedNot supported
Verbosity controlNot supportedNot supported

Our take

Gemini 3.1 Flash Lite is 2x cheaper for a typical chat. Sonar scores higher on the Artificial Analysis Intelligence Index (7.7 vs 6.2). Gemini 3.1 Flash Lite has the larger context window (1.05M vs 127K tokens). The right pick depends on your workload, so the quickest way to settle it is to send the same prompt to both and compare.

FAQ

Frequently asked questions

Is Gemini 3.1 Flash Lite or Sonar cheaper?

Gemini 3.1 Flash Lite is cheaper for a typical chat (2K input tokens and 500 output tokens). Gemini 3.1 Flash Lite costs $0.25 per 1M input tokens and $1.50 per 1M output tokens, while Sonar costs $1 per 1M input tokens and $1 per 1M output tokens.

Which has a bigger context window, Gemini 3.1 Flash Lite or Sonar?

Gemini 3.1 Flash Lite supports up to 1.05M tokens of context, compared with 127K for Sonar.

Is Gemini 3.1 Flash Lite smarter than Sonar?

On the Artificial Analysis Intelligence Index, Gemini 3.1 Flash Lite scores 6.2 and Sonar scores 7.7, putting Sonar ahead. Benchmarks don't capture everything, so the best test is running your own prompts through both.

Can I use Gemini 3.1 Flash Lite and Sonar at the same time?

Yes. Shortcut Chat sends one prompt to multiple models at once, so you can see Gemini 3.1 Flash Lite and Sonar answer side by side and keep the better response.

google logoperplexity logo

Why choose? Ask both.

Send one prompt to Gemini 3.1 Flash Lite and Sonar at the same time. Compare the answers side by side and keep the best one.