Kimi K2.7 Code vs Phi 4
Cost and capability comparison. For a sample workload of 1,000 input and 500 output tokens across 100,000 requests/month, Phi 4 is cheaper by about $281.00/month.
| Kimi K2.7 Code | Phi 4 | |
|---|---|---|
| Provider | moonshot | microsoft |
| Input / 1M | $0.9500 | $0.0700 |
| Output / 1M | $4.00 | $0.1400 |
| Per request (sample) | $0.00295 | $0.000140 |
| Monthly (sample) | $295.00 | $14.00 |
| Context window | 262,144 | 16,384 |
| Vision | No | No |
| Reasoning | Yes | No |
| Arena · Overall | — | 1217 |
| Arena · Coding | 1473 | — |
Intelligence scores are community Arena ratings from LMArena / arena.ai, used under CC BY 4.0. Snapshot last refreshed 28 July 2026. Scores are a relative signal, not an absolute measure of capability. A Measured score was voted on directly; an Estimated score is inherited from an identical base model (a regional/creator-prefixed hosting duplicate). See our methodology.
Compare on your own workload
Kimi K2.7 Code and Phi 4 are pre-loaded. Adjust the tokens and monthly volume to see which is cheaper for your usage.
Used unless you set active users below.
Results update automatically as you type.
| Phi 4 | Microsoft | $0.000140 | $14.00 | $168.00 | 16,384 |
| Kimi K2.7 Code | Moonshot AI | $0.00295 | $295.00 | $3,540.00 | 262,144 |
FAQ
Which is cheaper, Kimi K2.7 Code or Phi 4?
For a workload of 1,000 input and 500 output tokens over 100,000 requests/month, Phi 4 is cheaper, costing about $14.00/month versus $295.00/month.
What is the context window of Kimi K2.7 Code and Phi 4?
Kimi K2.7 Code supports 262,144 tokens, while Phi 4 supports 16,384 tokens.
Estimates for planning only. Verify current pricing with each provider.