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-11-07.

MoonshotAI: Kimi K2.7 Code OpenAI: GPT-5.4 Nano
Vendormoonshotaiopenai
Quality Score100100
Benchmark Score74.168.1
Input Price$0.60/M$0.20/M
Output Price$3.50/M$1.25/M
Context Window262,144400,000
Max Output235,929128,000
Tool Calling✓✓
Structured Output✓✓
Reasoning Mode✓✓
Vision✓✓
Audio--
Benchmark Scores
ai_index69.263.1
ai_index_agentic48.845.4
ai_index_coding100.092.5

The verdict

For a sample job of 1 million input tokens and 250,000 output tokens, GPT-5.4 Nano costs $0.51 and Kimi K2.7 Code costs $1.48, so GPT-5.4 Nano is about 2.9 times cheaper for the same work.

GPT-5.4 Nano reads up to 400,000 tokens at once, roughly 600 pages of text, against about 393 pages for Kimi K2.7 Code.

On our blended benchmark score Kimi K2.7 Code leads 74.1 to 68.1.

Across the 19 tasks where they differ, Kimi K2.7 Code scores higher on 4 (Regex Writing, Frontend Component Design, Data Analysis and others), GPT-5.4 Nano on 15 (SQL Generation, Code Review, Code Completion and others).

Kimi K2.7 Code was released in June 2026 and GPT-5.4 Nano in March 2026.

Pick Kimi K2.7 Code if you need benchmark performance; pick GPT-5.4 Nano if you need lower cost, long documents or the stronger all-round task scores.

Costs use current list prices per million tokens; page counts assume about 0.75 words per token and 500 words per page.

Who wins by task?

TaskMoonshotAI: Kimi K2.7 CodeOpenAI: GPT-5.4 Nano
SQL Generation 163 163
Code Review 155 158
Code Completion 129 133
Code Refactoring 151 157
Bug Fixing 165 168
Unit Test Generation 147 148
Code Documentation 135 140
Regex Writing 133 132
CI/CD Pipelines 138 139
Frontend Component Design 142 141
Data Analysis 162 159
CSV / Spreadsheet Cleanup 147 151
ETL Scripting 144 148
JSON Extraction 147 146
Bulk Data Labeling 134 134
OCR / Document Parsing 142 144
Table Extraction from PDFs 142 144
Long-Document Summarization 147 154
Blog Post Writing 134 135

Scores reflect capability match + benchmark data + pricing for each task. Methodology →

Related comparisons

Anthropic: Claude Haiku Latest vs OpenAI: GPT-5.4 Nano Anthropic: Claude Opus 5 (batch) vs MoonshotAI: Kimi K2.7 Code Anthropic: Claude Sonnet 5 vs MoonshotAI: Kimi K2.7 Code Anthropic: Claude Sonnet 5 vs OpenAI: GPT-5.4 Nano Anthropic: Claude Sonnet Latest vs OpenAI: GPT-5.4 Nano ByteDance Seed: Seed-2.0-Code vs MoonshotAI: Kimi K2.7 Code ByteDance Seed: Seed 2.1 Turbo vs MoonshotAI: Kimi K2.7 Code DeepSeek: DeepSeek V4 Flash Vision Exp vs MoonshotAI: Kimi K2.7 Code

The Model Movers Report

One email every Friday, built from this site's own rankings: the current top five by benchmark score, every model released in the last seven days, and one note worked out from that week's numbers. You can unsubscribe from any issue with one click.