Model comparison

Kimi K2.7 Code vs Phi-4

Kimi K2.7 Code is the stronger model overall, scoring 43.3 to 31.2 on the Noometry Index. Phi-4 costs 20× less per token, which makes it the better buy when Kimi K2.7 Code's lead doesn't matter for your workload.

Last verified . 4 shared benchmarks.

Kimi K2.7 Code Moonshot AI

43.3

Rank #94 Confirmed

Phi-4 Microsoft

31.2

Rank #279 Confirmed

Summary

  • They share 4 benchmarks with published results for both. Kimi K2.7 Code scores higher in 5 categories and Phi-4 in 0 categories; 5 gaps are clear of the uncertainty.
  • The widest gap is in math, where Kimi K2.7 Code leads 52.9 to 20.8.
  • The biggest single-benchmark swing is OTIS Mock AIME 2024-2025: 95.6% for Kimi K2.7 Code and 13.8% for Phi-4.
  • Phi-4 is cheaper at $0.07 / $0.14 per million input/output tokens, against $0.95 / $4 for Kimi K2.7 Code.
  • Kimi K2.7 Code accepts more context: 262K tokens versus 128K.

Side by side

Kimi K2.7 Code and Phi-4 specifications
Kimi K2.7 CodePhi-4
ProviderMoonshot AIMicrosoft
Noometry Index43.331.2
Released2026-06-122024-12-11
WeightsOpenOpen
Context window262K128K
Max output262K4K
Input $ / M tokens$0.95$0.07
Output $ / M tokens$4$0.14
Results tracked1937

Sponsored placements are available on pages like this one. Advertise on Noometry

Category by category

Coding Kimi K2.7 Code leads

Kimi K2.7 Code: 42.9 (#95), Phi-4: 34.4 (#239)

Coding benchmarks
BenchmarkKimi K2.7 CodePhi-4
DeepSWE30.5%—
FrontierCode30.1%—
LMArena WebDev1473—
SciCode47.5%—
WeirdML54.1%—
BigCodeBench Instruct—45.5%
LiveBench Coding—30.7%
LMArena Coding—1231
BigCodeBench Complete—55.4%
ALE-Bench886.23—

Agentic & Tool Use Kimi K2.7 Code leads

Kimi K2.7 Code: 24.0 (#122), Phi-4: 22.8 (#128)

Agentic & Tool Use benchmarks
BenchmarkKimi K2.7 CodePhi-4
APEX-Agents37.6%—
Berkeley Function Calling Leaderboard—28.8%
BALROG—11.6%
GBAEval0.9%—
Vending-Bench 25,083—

Reasoning Kimi K2.7 Code leads

Kimi K2.7 Code: 39.0 (#61), Phi-4: 17.7 (#291)

Reasoning benchmarks
BenchmarkKimi K2.7 CodePhi-4
Chess Puzzles21%1%
Epoch Capabilities Index149.97130.42
SimpleBench57.9%—
CritPt10%—
LiveBench Reasoning—47.8%
LMArena Hard Prompts—1220
LiveBench Data Analysis—45.2%
Surface Evolver Bench48.8%—
LiveBench—41.6%

Math Kimi K2.7 Code leads

Kimi K2.7 Code: 52.9 (#48), Phi-4: 20.8 (#285)

Math benchmarks
BenchmarkKimi K2.7 CodePhi-4
OTIS Mock AIME 2024-202595.6%13.8%
FrontierMath (Tiers 1-3)54%—
FrontierMath Tier 412.2%—
LiveBench Math—42%
LMArena Math—1246
MATH Level 5—64.9%

Knowledge Kimi K2.7 Code leads

Kimi K2.7 Code: 53.5 (#57), Phi-4: 32.6 (#209)

Knowledge benchmarks
BenchmarkKimi K2.7 CodePhi-4
GPQA Diamond87.9%56.1%
SimpleQA Verified36.5%—
Confabulations—29.4%
Vectara Hallucination Rate—3.7%
LMArena Expert—1203
MMLU—84.8%

Multilingual Not comparable

Kimi K2.7 Code: —, Phi-4: 37.2 (#237)

Multilingual benchmarks
BenchmarkKimi K2.7 CodePhi-4
LMArena Non-English—1197
LMArena Chinese—1212
LMArena French—1224
LMArena German—1222
LMArena Japanese—1158
LMArena Korean—1151
LMArena Russian—1209
LMArena Spanish—1234

Instruction Following Not comparable

Kimi K2.7 Code: —, Phi-4: 60.4 (#251)

Instruction Following benchmarks
BenchmarkKimi K2.7 CodePhi-4
LiveBench Instruction Following—58.4%
LMArena Instruction Following—1201

Long Context Not comparable

Kimi K2.7 Code: —, Phi-4: 36.9 (#226)

Long Context benchmarks
BenchmarkKimi K2.7 CodePhi-4
LMArena Longer Query—1217

Writing & Preference Not comparable

Kimi K2.7 Code: —, Phi-4: 40.5 (#244)

Writing & Preference benchmarks
BenchmarkKimi K2.7 CodePhi-4
LMArena Text—1217
LMArena Creative Writing—1182
Short-Story Creative Writing—62.6%
LMArena Multi-Turn—1206
LiveBench Language—25.6%

Frequently asked questions

Is Kimi K2.7 Code better than Phi-4?

Kimi K2.7 Code is the stronger model overall, scoring 43.3 to 31.2 on the Noometry Index. Phi-4 costs 20× less per token, which makes it the better buy when Kimi K2.7 Code's lead doesn't matter for your workload.

Which is cheaper, Kimi K2.7 Code or Phi-4?

Phi-4 is cheaper. It lists at $0.07 per million input tokens and $0.14 per million output tokens; Kimi K2.7 Code lists at $0.95 and $4.

Is Kimi K2.7 Code or Phi-4 better for coding?

Kimi K2.7 Code scores higher on coding benchmarks: 42.9 versus 34.4 in the Noometry coding category.

Which has the bigger context window?

Kimi K2.7 Code does, with 262K tokens against 128K.

How many benchmarks do Kimi K2.7 Code and Phi-4 share?

4 benchmarks have published results for both models. Kimi K2.7 Code has 19 scored results on Noometry and Phi-4 has 37.

Related comparisons

Go deeper