Skip to content

Kimi K2.7 Code vs GPT-5.4

Compare Kimi K2.7 Code from Moonshot AI and GPT-5.4 from OpenAI on price, context length and features. Use both through one Yunshu Router API key.

Moonshot AI
OpenAI
Good for
Coding agents · Hard reasoning · Images and screenshots
Coding agents · Long context · Images and screenshots
Overview
Model ID
kimi-k2.7-code
gpt-5.4
Availability
Available
Available
Context length
256K tokens
266K tokens
Reasoning
Always on
Can be switched off
Reads
text, image, video
text, image
Writes
text
text
Tool calling
Yes
Yes
Price per 1M tokens
Input
$1.1515
$2.8787
Output
$4.7831
$17.2723
Cached input
$0.2303
$0.2879
Model
Moonshot AI
OpenAI
Good forCoding agents · Hard reasoning · Images and screenshotsCoding agents · Long context · Images and screenshots
Overview
Model IDkimi-k2.7-codegpt-5.4
AvailabilityAvailableAvailable
Context length256K tokens266K tokens
ReasoningAlways onCan be switched off
Readstext, image, videotext, image
Writestexttext
Tool callingYesYes
Price per 1M tokens
Input$1.1515$2.8787
Output$4.7831$17.2723
Cached input$0.2303$0.2879

Analysis

Kimi K2.7 Code vs GPT-5.4: side-by-side summary

Kimi K2.7 Code and GPT-5.4 are both available through the Yunshu Router API, so switching between them is a change of model ID, not a new integration.

Kimi K2.7 Code, from Moonshot AI, has a 256K-token context window and is priced at $1.1515 per 1M input tokens and $4.7831 per 1M output tokens on Yunshu Router (prices as of 2026-11-21).

GPT-5.4, from OpenAI, has a 266K-token context window and is priced at $2.8787 per 1M input tokens and $17.2723 per 1M output tokens on Yunshu Router (prices as of 2026-11-21).

AttributeKimi K2.7 CodeGPT-5.4
Context window256K tokens266K tokens
Price$1.1515 / M input, $4.7831 / M output$2.8787 / M input, $17.2723 / M output
Provided byMoonshot AIOpenAI
Model pageKimi K2.7 Code details, setup and pricingGPT-5.4 details, setup and pricing

USD per 1M tokens, prices as of 2026-11-21. Input types are what each model's maker lists. "Highlight best" marks the lowest price and the largest context among the models shown, in green.

More comparisons

Compare any models →