head-to-head

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

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 Mini
Vendormoonshotaiopenai
Quality Score100100
Benchmark Score74.170.8
Input Price$0.60/M$0.75/M
Output Price$3.50/M$4.50/M
Context Window262,144400,000
Max Output235,929128,000
Tool Calling✓✓
Structured Output✓✓
Reasoning Mode✓✓
Vision✓✓
Audio--
Benchmark Scores
ai_index69.266.0
ai_index_agentic48.849.8
ai_index_coding100.092.5

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 Mini costs $1.88, so Kimi K2.7 Code is about 1.3 times cheaper for the same work.

GPT-5.4 Mini 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 70.8.

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

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

Pick Kimi K2.7 Code if you need lower cost or benchmark performance; pick GPT-5.4 Mini if you need 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 Mini
SQL Generation 163 164
Code Review 155 159
Code Completion 129 132
Code Refactoring 151 158
Bug Fixing 165 170
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 160
CSV / Spreadsheet Cleanup 147 151
ETL Scripting 144 149
JSON Extraction 147 146
Bulk Data Labeling 134 133
OCR / Document Parsing 142 144
Table Extraction from PDFs 142 144
Long-Document Summarization 147 154
Short-Form Summarization 130 129
Blog Post Writing 134 136

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

Related comparisons

Anthropic: Claude Haiku Latest vs OpenAI: GPT-5.4 Mini 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 Mini Anthropic: Claude Sonnet Latest vs OpenAI: GPT-5.4 Mini 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.