CodePanel

Gemini 3.1 Pro vs Gemini 3.8 Flash

Reading a 26.2K-token pull request costs $0.0524 on Gemini 3.1 Pro, 2.7× the $0.0197 it costs on Gemini 3.8 Flash. Both sit in the mid-range price tier, so the choice between them is about review quality more than budget. The benchmark cannot separate their recall: Gemini 3.1 Pro minus Gemini 3.8 Flash is −1 pt (95% interval −14 pts to +13 pts).

Side by side

Gemini 3.1 Pro and Gemini 3.8 Flash side by side
FigureGemini 3.1 ProGemini 3.8 Flash
Price tierMid-rangeMid-range
Bugs caughtshare of known bugs67%68% (better)
False alarmsper clean PR0.8 (better)1.0
Cost per reviewmeasured$0.2499$0.0862 (better)
Cost per bug caught$0.4134$0.1166 (better)
Exact linecatches on the expected lines89%94% (better)
Review timemean349s (better)427s
Typical review calllist price$0.0814$0.0287 (better)
Input / 1M tokens$2.00$0.75 (better)
Output / 1M tokens$12.00$3.75 (better)
Context window1M1M

Head to head

The known bugs both were scored on, by who caught each in at least one run.

Of 42 known bugs both were scored on: Both 27Only Gemini 3.1 Pro 5Only Gemini 3.8 Flash 4Neither 6

By language

Share of known bugs each model caught, by language
ModelAllTypeScript6 bugsGo4 bugsJava4 bugsRust4 bugsC#3 bugsJavaScript3 bugsKotlin3 bugsPHP3 bugsPython3 bugsRuby3 bugsSwift3 bugsC++2 bugsC1 bug
Gemini 3.1 Pro67%67%38%78%88%56%33%67%67%67%100%100%50%50%
Gemini 3.8 Flash68%83%75%43%75%78%67%0%50%83%100%100%50%50%

Where they differ

Of the 42 known bugs both were scored on, both caught 27 and neither caught 6. Gemini 3.1 Pro caught 5 bugs that Gemini 3.8 Flash missed: 2 in Java, 2 in Kotlin and 1 in Rust. Gemini 3.8 Flash caught 4 bugs that Gemini 3.1 Pro missed: 1 in C#, 1 in Go, 1 in JavaScript and 1 in TypeScript, most of them logic bugs.

On pull requests with no known bug, Gemini 3.1 Pro raised 0.8 false alarms per review and Gemini 3.8 Flash 1. A measured review cost $0.2499 on Gemini 3.1 Pro, 2.9× the cost of $0.0862 on Gemini 3.8 Flash.

Each known bug, and how often each model caught it
Pull requestLanguage · kindGemini 3.1 ProGemini 3.8 Flash
kotest/kotestRefactor eventually to ensure wall-clock time usageKotlin · Error handling2/20/1
ktorio/ktorKTOR-9171 Redesign ByteReadChannel.readUTF8Line APIKotlin · Logic1/10/1
mockito/mockitoAdd core API to enable Kotlin singleton mockingJava · API misuse1/10/1
jhy/jsoupStore cached child els in Attributes, not fieldJava · Concurrency1/20/4
nushell/nushellreorganize nushell configurationRust · Error handling1/20/1
TanStack/queryfix(query-core): fix hydration bugs for already resolved promisesTypeScript · Logic0/11/1
dotnet/orleansfix(serialization): cap codec allocationsC# · Logic0/11/1
go-chi/chifeat: middleware.ClientIP, a replacement for middleware.RealIPGo · Security0/11/1
sindresorhus/p-throttleAdd `weight` optionJavaScript · Logic0/11/1

Defects caught over all runs: a PR reviewed three times with one known bug shows 3/3 when it was caught every time.

Every bug each was scored on: Gemini 3.1 Pro and Gemini 3.8 Flash.