Enter opens the highlighted result. Esc closes.

Gemini 3.1 Flash Lite vs Phi 4

Phi 4 costs 10.7x less per output token than Gemini 3.1 Flash Lite ($0.14 vs $1.50 per million). Updated October 21, 2026; 9 benchmarks have a result for both.

Gemini 3.1 Flash LiteGoogle
Coding
No data
Overall
No data
Output $/M
$1.50
9
Phi 4Microsoft
Coding
No data
Overall
24.7
Output $/M
$0.14
0
vs boards won of 9 shared

Gemini 3.1 Flash Lite or Phi 4: which to pick

Neither model has a coding score yet, so the two cannot be ranked on coding.

Pick Gemini 3.1 Flash Lite for a larger context window (1.05M against 16K tokens).

Shared results
9
Gemini 3.1 Flash Lite only
7
Phi 4 only
37
Like-for-like categories
6 of 9

Only benchmarks that tested both models count toward a pick; a result only one model has is shown but not compared.

Which one for your work

Each card is decided by one number both models carry. Where only one has it, the card says so and makes no call.

At a glance

Coding index
Gemini 3.1 Flash Lite not benchmarked, Phi 4 not benchmarked.
Widest category
Math, 66.3 points apart on average over 1 shared benchmark.
Widest single gap
Long context reasoning (AA-LCR): Gemini 3.1 Flash Lite 74.3% against Phi 4 0.0%, 74.3 points apart on a 0 to 100 scale.
Output price
Gemini 3.1 Flash Lite $1.50 against Phi 4 $0.14 per million output tokens, 10.7x apart.
Context window
Gemini 3.1 Flash Lite takes 1.05M tokens, Phi 4 16K.

Benchmark by benchmark

First the score: boards each model leads, per category, where both have a result. Then every board, a category to a fold; bars are each result on a 0 to 100 scale, so compare the two in a row, not one row with another.

Boards won, where both have a result
CategoryGemini 3.1 Flash LiteBarsPhi 4Ties
Coding10
Intelligence10
Agentic work10
Reasoning30
Math10
General20
All shared boards90
CodingLike-for-likeSix of these boards feed the Vibe Coding Index10
Coding benchmarks for Gemini 3.1 Flash Lite and Phi 4
BenchmarkGemini 3.1 Flash LitePhi 4Leader
LiveCodeBench (Artificial Analysis run)Not measured23.1%Only Phi 4 measured
SciCode43.4%Not measuredOnly Gemini 3.1 Flash Lite measured
Terminal-Bench Hard (Artificial Analysis run)24.2%3.8%Gemini 3.1 Flash Lite
WeirdML52.2%Not measuredOnly Gemini 3.1 Flash Lite measured
LMArena Text: codingNot measured1231Only Phi 4 measured
LMArena Text: software and ITNot measured1228Only Phi 4 measured
Neither model has a result on the other 33 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index10
Intelligence benchmarks for Gemini 3.1 Flash Lite and Phi 4
BenchmarkGemini 3.1 Flash LitePhi 4Leader
AA Intelligence IndexNot measured5.9Only Phi 4 measured
Epoch Capabilities Index144.3130.5Gemini 3.1 Flash Lite
Agentic workLike-for-likePublic boards, shown as published, kept out of the index10
Agentic work benchmarks for Gemini 3.1 Flash Lite and Phi 4
BenchmarkGemini 3.1 Flash LitePhi 4Leader
τ²-Bench Telecom31.3%0.0%Gemini 3.1 Flash Lite
BALROGNot measured11.6%Only Phi 4 measured
DeepResearch Bench37.3%Not measuredOnly Gemini 3.1 Flash Lite measured
Berkeley Function Calling Leaderboard (BFCL)Not measured28.8%Only Phi 4 measured
Neither model has a result on the other 37 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index30
Reasoning benchmarks for Gemini 3.1 Flash Lite and Phi 4
BenchmarkGemini 3.1 Flash LitePhi 4Leader
GPQA Diamond (Artificial Analysis run)82.2%57.5%Gemini 3.1 Flash Lite
Humanity's Last Exam (Artificial Analysis run)17.2%3.8%Gemini 3.1 Flash Lite
GPQA Diamond (Epoch AI run)81.8%56.1%Gemini 3.1 Flash Lite
LMArena Text: hard promptsNot measured1220Only Phi 4 measured
LMArena Text: expertNot measured1203Only Phi 4 measured
LMArena Text: hard prompts in EnglishNot measured1230Only Phi 4 measured
Kagi LLM Benchmark67.2%Not measuredOnly Gemini 3.1 Flash Lite measured
Neither model has a result on the other 15 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index10
Math benchmarks for Gemini 3.1 Flash Lite and Phi 4
BenchmarkGemini 3.1 Flash LitePhi 4Leader
AA Math IndexNot measured18.0Only Phi 4 measured
AIME 2025 (Artificial Analysis run)Not measured18.0%Only Phi 4 measured
OTIS Mock AIME80.0%13.8%Gemini 3.1 Flash Lite
FrontierMath, tiers 1 to 327.7%Not measuredOnly Gemini 3.1 Flash Lite measured
MATH level 5Not measured64.9%Only Phi 4 measured
LMArena Text: mathNot measured1246Only Phi 4 measured
LMArena Text: mathematical workNot measured1254Only Phi 4 measured
Neither model has a result on the other 6 boards here
KnowledgeDirectional onlyPublic boards, shown as published, kept out of the index6 boards, none shared
Knowledge benchmarks for Gemini 3.1 Flash Lite and Phi 4
BenchmarkGemini 3.1 Flash LitePhi 4Leader
MMLU Pro (Artificial Analysis run)Not measured71.4%Only Phi 4 measured
MMLUNot measured84.8%Only Phi 4 measured
LMArena Text: scienceNot measured1206Only Phi 4 measured
LMArena Text: medicine and healthcareNot measured1202Only Phi 4 measured
LMArena Text: legal and governmentNot measured1241Only Phi 4 measured
LMArena Text: business and financeNot measured1199Only Phi 4 measured
Neither model has a result on the other 12 boards here
Web designNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Web design benchmarks for Gemini 3.1 Flash Lite and Phi 4
BenchmarkGemini 3.1 Flash LitePhi 4Leader
Neither model has a result on 9 boards here
GeneralLike-for-likePublic boards, shown as published, kept out of the index20
General benchmarks for Gemini 3.1 Flash Lite and Phi 4
BenchmarkGemini 3.1 Flash LitePhi 4Leader
IFBench77.2%23.5%Gemini 3.1 Flash Lite
Long context reasoning (AA-LCR)74.3%0.0%Gemini 3.1 Flash Lite
DTBench76.8%Not measuredOnly Gemini 3.1 Flash Lite measured
LMCA35.0%Not measuredOnly Gemini 3.1 Flash Lite measured
Creative writing (Lech Mazur)Not measured62.6%Only Phi 4 measured
LMArena TextNot measured1217Only Phi 4 measured
LMArena Text: instruction followingNot measured1201Only Phi 4 measured
LMArena Text: creative writingNot measured1181Only Phi 4 measured
LMArena Text: EnglishNot measured1231Only Phi 4 measured
LMArena Text: non-EnglishNot measured1197Only Phi 4 measured
LMArena Text: ChineseNot measured1212Only Phi 4 measured
LMArena Text: GermanNot measured1222Only Phi 4 measured
LMArena Text: JapaneseNot measured1158Only Phi 4 measured
LMArena Text: KoreanNot measured1151Only Phi 4 measured
LMArena Text: FrenchNot measured1224Only Phi 4 measured
LMArena Text: SpanishNot measured1234Only Phi 4 measured
LMArena Text: RussianNot measured1209Only Phi 4 measured
LMArena Text: multi-turnNot measured1206Only Phi 4 measured
LMArena Text: longer queriesNot measured1217Only Phi 4 measured
LMArena Text: writing and languageNot measured1198Only Phi 4 measured
LMArena Text: entertainment and mediaNot measured1162Only Phi 4 measured
Neither model has a result on the other 25 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for Gemini 3.1 Flash Lite and Phi 4
BenchmarkGemini 3.1 Flash LitePhi 4Leader
Neither model has a result on 5 boards here

What each workload costs

Three fixed token mixes at each model's listed price, so per-token rates become a bill.

Chat turn

1K input + 500 output tokens

Gemini 3.1 Flash Lite$0.0010Fits in one request
Phi 4$0.0001Fits in one request

Phi 4 costs less

Repository review

50K input + 3K output tokens

Gemini 3.1 Flash Lite$0.017Fits in one request
Phi 4$0.0039Exceeds the context window

Phi 4 costs less

Agent loop

200K input + 10K output tokens

Gemini 3.1 Flash Lite$0.065Fits in one request
Phi 4$0.015Exceeds the context window

Phi 4 costs less

Listed OpenRouter rates, without cache or batch discounts. A workload that does not fit a model's context window would need splitting.

Specification differences

The leading value in a row is marked; a row with a missing value names no leader. Our two rows are marked in red.

Specifications of Gemini 3.1 Flash Lite and Phi 4
SpecificationGoogle Gemini 3.1 Flash LiteMicrosoft Phi 4
MakerGoogleMicrosoft
WeightsNo public weights listedOpen weights
ReleasedMay 7, 2026January 10, 2025
Context window1.05M16K
Input $/Mtok$0.25$0.07
Output $/Mtok$1.50$0.14
Coding indexNot benchmarkedNot benchmarked
Independent measurements behind it00
Cost per solved taskNot computableNot computable
SourceOpenRouter listingOpenRouter listing

Questions

Is Gemini 3.1 Flash Lite better than Phi 4 for coding?

Neither model has a coding score yet, so the two cannot be ranked on coding. Pick Gemini 3.1 Flash Lite for a larger context window (1.05M against 16K tokens).

Which is cheaper, Gemini 3.1 Flash Lite or Phi 4?

Gemini 3.1 Flash Lite costs $0.25 per million input tokens and $1.50 per million output tokens; Phi 4 costs $0.07 and $0.14. Cost per solved task is known for neither of them.

Which has the bigger context window, Gemini 3.1 Flash Lite or Phi 4?

Gemini 3.1 Flash Lite, with 1.05M tokens against 16K.

How many benchmarks is the Gemini 3.1 Flash Lite vs Phi 4 comparison based on?

9 benchmarks have a result for both models as of October 21, 2026. Gemini 3.1 Flash Lite's coding index rests on 0 independent benchmarks and Phi 4's on 0. Where only one model has a result, the page says so instead of naming a winner.

Compare next