head-to-head
MoonshotAI: Kimi K2.7 Code vs OpenAI: GPT-5.4 Nano
Side-by-side comparison of specs, pricing, benchmark scores, and task rankings. Updated 2026-06-18.
| MoonshotAI: Kimi K2.7 Code | OpenAI: GPT-5.4 Nano | |
|---|---|---|
| Vendor | moonshotai | openai |
| Quality Score | 100 | 100 |
| Benchmark Score | 80.3 | 70.5 |
| Input Price | $0.74/M | $0.20/M |
| Output Price | $3.50/M | $1.25/M |
| Context Window | 262,144 | 400,000 |
| Max Output | 16,384 | 128,000 |
| Tool Calling | ✓ | ✓ |
| Structured Output | ✓ | ✓ |
| Reasoning Mode | ✓ | ✓ |
| Vision | ✓ | ✓ |
| Audio | - | - |
| Benchmark Scores | ||
| ai_index | 69.2 | 63.1 |
| ai_index_agentic | 100.0 | 78.5 |
| ai_index_coding | 75.3 | 72.4 |
Who wins by task?
| Task | MoonshotAI: Kimi K2.7 Code | OpenAI: GPT-5.4 Nano |
|---|---|---|
| SQL Generation | 165 | 164 |
| Code Review | 157 | 159 |
| Code Completion | 129 | 133 |
| Code Refactoring | 152 | 158 |
| Bug Fixing | 173 | 173 |
| Unit Test Generation | 148 | 148 |
| Code Documentation | 136 | 141 |
| Regex Writing | 135 | 133 |
| CI/CD Pipelines | 139 | 139 |
| Frontend Component Design | 144 | 141 |
| Data Analysis | 169 | 163 |
| CSV / Spreadsheet Cleanup | 145 | 149 |
| ETL Scripting | 146 | 148 |
| JSON Extraction | 145 | 144 |
| Bulk Data Labeling | 133 | 134 |
| OCR / Document Parsing | 141 | 143 |
| Table Extraction from PDFs | 141 | 143 |
| Long-Document Summarization | 149 | 155 |
| Short-Form Summarization | 131 | 130 |
| Blog Post Writing | 136 | 137 |
Scores reflect capability match + benchmark data + pricing for each task. Methodology →
Related comparisons
MoonshotAI: Kimi K2.7 Code vs Qwen: Qwen3.7 Plus
MoonshotAI: Kimi K2.7 Code vs MiniMax: MiniMax M3
MoonshotAI: Kimi K2.7 Code vs StepFun: Step 3.7 Flash
MoonshotAI: Kimi K2.7 Code vs xAI: Grok Build 0.1
MoonshotAI: Kimi K2.7 Code vs Google: Gemini 3.5 Flash
MoonshotAI: Kimi K2.7 Code vs Google: Gemini 3.1 Flash Lite
MoonshotAI: Kimi K2.7 Code vs xAI: Grok 4.3
MoonshotAI: Kimi K2.7 Code vs Mistral: Mistral Medium 3.5