Enter opens the highlighted result. Esc closes.

GPT-4 Turbo vs Phi 4

Updated October 21, 2026. 33 benchmarks have a result for both. Coding is ranked on the Vibe Coding Index; every other board is shown as published.

GPT-4 TurboOpenAI
Coding
No data
Overall
7.0
Output $/M
$30.00
29
Phi 4Microsoft
Coding
No data
Overall
5.9
Output $/M
$0.14
4
vs boards won of 33 shared

Decision reading

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

GPT-4 Turbo has the edge where the context window is larger, 128K against 16K tokens, and where what matters is Epoch Capabilities Index or Humanity's Last Exam (Artificial Analysis run), where it leads.

Shared results
33
GPT-4 Turbo only
9
Phi 4 only
12
Like-for-like categories
6 of 9

Shared results can support a head-to-head reading. Results only one model has describe coverage, not superiority.

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
GPT-4 Turbo not benchmarked, Phi 4 not benchmarked.
Widest category
General, 8.8 points apart on average over 16 shared benchmarks.
Widest single gap
LMArena Text: entertainment and media: GPT-4 Turbo 1258 against Phi 4 1162, 16.0 points apart on a 0 to 100 scale.
Output price
GPT-4 Turbo $30.00 against Phi 4 $0.14 per million output tokens, 214.3x apart.
Context window
GPT-4 Turbo takes 128K 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
CategoryGPT-4 TurboBarsPhi 4Ties
Coding30
Intelligence11
Reasoning31
Math20
Knowledge42
General160
All shared boards294
CodingLike-for-likeSix of these boards feed the Vibe Coding Index30
Coding benchmarks for GPT-4 Turbo and Phi 4
BenchmarkGPT-4 TurboPhi 4Leader
AA Coding Index21.5Not measuredOnly GPT-4 Turbo measured
LiveCodeBench (Artificial Analysis run)29.1%23.1%GPT-4 Turbo
Terminal-Bench Hard (Artificial Analysis run)Not measured3.8%Only Phi 4 measured
LMArena Text: coding12681231GPT-4 Turbo
LMArena Text: software and IT12671228GPT-4 Turbo
Neither model has a result on the other 33 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index11
Intelligence benchmarks for GPT-4 Turbo and Phi 4
BenchmarkGPT-4 TurboPhi 4Leader
AA Intelligence Index7.05.9GPT-4 Turbo
Epoch Capabilities Index127.3130.5Phi 4
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index2 boards, none shared
Agentic work benchmarks for GPT-4 Turbo and Phi 4
BenchmarkGPT-4 TurboPhi 4Leader
τ²-Bench TelecomNot measured0.0%Only Phi 4 measured
BALROGNot measured11.6%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 index31
Reasoning benchmarks for GPT-4 Turbo and Phi 4
BenchmarkGPT-4 TurboPhi 4Leader
GPQA Diamond (Artificial Analysis run)Not measured57.5%Only Phi 4 measured
Humanity's Last Exam (Artificial Analysis run)3.1%3.8%Phi 4
GPQA Diamond (Epoch AI run)Not measured56.1%Only Phi 4 measured
LMArena Text: hard prompts12511220GPT-4 Turbo
LMArena Text: expert12231203GPT-4 Turbo
LMArena Text: hard prompts in English12661230GPT-4 Turbo
Neither model has a result on the other 15 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index20
Math benchmarks for GPT-4 Turbo and Phi 4
BenchmarkGPT-4 TurboPhi 4Leader
AA Math IndexNot measured18.0Only Phi 4 measured
AIME 2025 (Artificial Analysis run)Not measured18.0%Only Phi 4 measured
OTIS Mock AIMENot measured13.8%Only Phi 4 measured
MATH level 5Not measured64.9%Only Phi 4 measured
LMArena Text: math12721246GPT-4 Turbo
LMArena Text: mathematical work12681254GPT-4 Turbo
Neither model has a result on the other 7 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index42
Knowledge benchmarks for GPT-4 Turbo and Phi 4
BenchmarkGPT-4 TurboPhi 4Leader
LegalBench (Vals AI)80.5%Not measuredOnly GPT-4 Turbo measured
MedQA (Vals AI)82.0%Not measuredOnly GPT-4 Turbo measured
MMLU Pro (Artificial Analysis run)69.4%71.4%Phi 4
MMLU81.3%84.8%Phi 4
LMArena Text: science12561206GPT-4 Turbo
LMArena Text: medicine and healthcare12391202GPT-4 Turbo
LMArena Text: legal and government12651241GPT-4 Turbo
LMArena Text: business and finance12221199GPT-4 Turbo
Neither model has a result on the other 9 boards here
Web designNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Web design benchmarks for GPT-4 Turbo and Phi 4
BenchmarkGPT-4 TurboPhi 4Leader
Neither model has a result on 9 boards here
GeneralLike-for-likePublic boards, shown as published, kept out of the index160
General benchmarks for GPT-4 Turbo and Phi 4
BenchmarkGPT-4 TurboPhi 4Leader
IFBenchNot measured23.5%Only Phi 4 measured
Long context reasoning (AA-LCR)Not measured0.0%Only Phi 4 measured
DTBench61.6%Not measuredOnly GPT-4 Turbo measured
LMCA9.8%Not measuredOnly GPT-4 Turbo measured
Creative writing (Lech Mazur)Not measured62.6%Only Phi 4 measured
LMArena Text12721217GPT-4 Turbo
LMArena Text: instruction following12491201GPT-4 Turbo
LMArena Text: creative writing12681181GPT-4 Turbo
LMArena Vision1090Not measuredOnly GPT-4 Turbo measured
LMArena Text: English12911231GPT-4 Turbo
LMArena Text: non-English12451197GPT-4 Turbo
LMArena Text: Chinese12421212GPT-4 Turbo
LMArena Text: German12591222GPT-4 Turbo
LMArena Text: Japanese11941158GPT-4 Turbo
LMArena Text: Korean11871151GPT-4 Turbo
LMArena Text: French12761224GPT-4 Turbo
LMArena Text: Spanish12601234GPT-4 Turbo
LMArena Text: Russian12591209GPT-4 Turbo
LMArena Text: Polish1302Not measuredOnly GPT-4 Turbo measured
LMArena Text: multi-turn12671206GPT-4 Turbo
LMArena Text: longer queries12541217GPT-4 Turbo
LMArena Text: writing and language12791198GPT-4 Turbo
LMArena Text: entertainment and media12581162GPT-4 Turbo
LMArena Vision: English1097Not measuredOnly GPT-4 Turbo measured
LMArena Vision: Chinese1045Not measuredOnly GPT-4 Turbo measured
Neither model has a result on the other 21 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for GPT-4 Turbo and Phi 4
BenchmarkGPT-4 TurboPhi 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

GPT-4 Turbo$0.025Fits in one request
Phi 4$0.0001Fits in one request

Phi 4 costs less

Repository review

50K input + 3K output tokens

GPT-4 Turbo$0.590Fits in one request
Phi 4$0.0039Exceeds the context window

Phi 4 costs less

Agent loop

200K input + 10K output tokens

GPT-4 Turbo$2.30Exceeds the context window
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 GPT-4 Turbo and Phi 4
SpecificationOpenAI GPT-4 TurboMicrosoft Phi 4
MakerOpenAIMicrosoft
WeightsNo public weights listedOpen weights
ReleasedApril 9, 2024January 10, 2025
Context window128K16K
Input $/Mtok$10.00$0.07
Output $/Mtok$30.00$0.14
Coding indexNot benchmarkedNot benchmarked
Independent measurements behind it00
Cost per solved taskNot computableNot computable
SourceOpenRouter listingOpenRouter listing

Questions

Is GPT-4 Turbo better than Phi 4 for coding?

Neither model has a coding score yet, so the two cannot be ranked on coding. GPT-4 Turbo has the edge where the context window is larger, 128K against 16K tokens, and where what matters is Epoch Capabilities Index or Humanity's Last Exam (Artificial Analysis run), where it leads.

Which is cheaper, GPT-4 Turbo or Phi 4?

GPT-4 Turbo costs $10.00 per million input tokens and $30.00 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, GPT-4 Turbo or Phi 4?

GPT-4 Turbo, with 128K tokens against 16K.

How many benchmarks is the GPT-4 Turbo vs Phi 4 comparison based on?

33 benchmarks have a result for both models as of October 21, 2026. GPT-4 Turbo'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