head-to-head

MoonshotAI: Kimi K2.7 Code vs OpenAI: GPT-5.4

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
Vendormoonshotaiopenai
Quality Score100100
Benchmark Score74.189.6
Input Price$0.60/M$2.50/M
Output Price$3.50/M$15.00/M
Context Window262,1441,050,000
Max Output235,929128,000
Tool Calling✓✓
Structured Output✓✓
Reasoning Mode✓✓
Vision✓✓
Audio--
Benchmark Scores
ai_index69.284.8
ai_index_agentic48.867.8
ai_index_coding100.0100.0
eqbench-75.6

The verdict

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

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

On our blended benchmark score GPT-5.4 leads 89.6 to 74.1.

Across the 20 tasks where they differ, Kimi K2.7 Code scores higher on 4 (Code Completion, JSON Extraction, Bulk Data Labeling and others), GPT-5.4 on 16 (SQL Generation, Code Review, Code Refactoring and others).

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

Pick Kimi K2.7 Code if you need lower cost; pick GPT-5.4 if you need long documents, benchmark performance 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
SQL Generation 163 174
Code Review 155 175
Code Completion 129 120
Code Refactoring 151 173
Bug Fixing 165 187
Unit Test Generation 147 158
Code Documentation 135 146
Regex Writing 133 136
CI/CD Pipelines 138 149
Frontend Component Design 142 148
Data Analysis 162 173
CSV / Spreadsheet Cleanup 147 157
ETL Scripting 144 161
JSON Extraction 147 137
Bulk Data Labeling 134 122
OCR / Document Parsing 142 148
Table Extraction from PDFs 142 148
Long-Document Summarization 147 167
Short-Form Summarization 130 122
Blog Post Writing 134 143

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

Related comparisons

Anthropic: Claude Haiku Latest vs OpenAI: GPT-5.4 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 Anthropic: Claude Sonnet Latest vs OpenAI: GPT-5.4 ByteDance Seed: Seed-2.0-Code vs MoonshotAI: Kimi K2.7 Code ByteDance Seed: Seed-2.0-Lite vs OpenAI: GPT-5.4 ByteDance Seed: Seed 2.1 Turbo 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.