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.
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 | Phi-4 | |
|---|---|---|
| Provider | Moonshot AI | Microsoft |
| Noometry Index | 43.3 | 31.2 |
| Released | 2026-06-12 | 2024-12-11 |
| Weights | Open | Open |
| Context window | 262K | 128K |
| Max output | 262K | 4K |
| Input $ / M tokens | $0.95 | $0.07 |
| Output $ / M tokens | $4 | $0.14 |
| Results tracked | 19 | 37 |
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)
| Benchmark | Kimi K2.7 Code | Phi-4 |
|---|---|---|
| DeepSWE | 30.5% | — |
| FrontierCode | 30.1% | — |
| LMArena WebDev | 1473 | — |
| SciCode | 47.5% | — |
| WeirdML | 54.1% | — |
| BigCodeBench Instruct | — | 45.5% |
| LiveBench Coding | — | 30.7% |
| LMArena Coding | — | 1231 |
| BigCodeBench Complete | — | 55.4% |
| ALE-Bench | 886.23 | — |
Agentic & Tool Use Kimi K2.7 Code leads
Kimi K2.7 Code: 24.0 (#122), Phi-4: 22.8 (#128)
| Benchmark | Kimi K2.7 Code | Phi-4 |
|---|---|---|
| APEX-Agents | 37.6% | — |
| Berkeley Function Calling Leaderboard | — | 28.8% |
| BALROG | — | 11.6% |
| GBAEval | 0.9% | — |
| Vending-Bench 2 | 5,083 | — |
Reasoning Kimi K2.7 Code leads
Kimi K2.7 Code: 39.0 (#61), Phi-4: 17.7 (#291)
| Benchmark | Kimi K2.7 Code | Phi-4 |
|---|---|---|
| Chess Puzzles | 21% | 1% |
| Epoch Capabilities Index | 149.97 | 130.42 |
| SimpleBench | 57.9% | — |
| CritPt | 10% | — |
| LiveBench Reasoning | — | 47.8% |
| LMArena Hard Prompts | — | 1220 |
| LiveBench Data Analysis | — | 45.2% |
| Surface Evolver Bench | 48.8% | — |
| LiveBench | — | 41.6% |
Math Kimi K2.7 Code leads
Kimi K2.7 Code: 52.9 (#48), Phi-4: 20.8 (#285)
| Benchmark | Kimi K2.7 Code | Phi-4 |
|---|---|---|
| OTIS Mock AIME 2024-2025 | 95.6% | 13.8% |
| FrontierMath (Tiers 1-3) | 54% | — |
| FrontierMath Tier 4 | 12.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)
| Benchmark | Kimi K2.7 Code | Phi-4 |
|---|---|---|
| GPQA Diamond | 87.9% | 56.1% |
| SimpleQA Verified | 36.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)
| Benchmark | Kimi K2.7 Code | Phi-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)
| Benchmark | Kimi K2.7 Code | Phi-4 |
|---|---|---|
| LiveBench Instruction Following | — | 58.4% |
| LMArena Instruction Following | — | 1201 |
Long Context Not comparable
Kimi K2.7 Code: —, Phi-4: 36.9 (#226)
| Benchmark | Kimi K2.7 Code | Phi-4 |
|---|---|---|
| LMArena Longer Query | — | 1217 |
Writing & Preference Not comparable
Kimi K2.7 Code: —, Phi-4: 40.5 (#244)
| Benchmark | Kimi K2.7 Code | Phi-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.