MoonshotAI: Kimi K2.7 Code vs OpenAI: GPT-5.4 Mini
MoonshotAI: Kimi K2.7 Code is 1.1× cheaper for input tokens: MoonshotAI: Kimi K2.7 Code costs $0.66 per M and OpenAI: GPT-5.4 Mini costs $0.75 per M. MoonshotAI: Kimi K2.7 Code is 1.3× cheaper for output tokens: MoonshotAI: Kimi K2.7 Code costs $3.40 per M and OpenAI: GPT-5.4 Mini costs $4.50 per M. OpenAI: GPT-5.4 Mini reads more: MoonshotAI: Kimi K2.7 Code takes up to 262,144 tokens of context and OpenAI: GPT-5.4 Mini up to 400,000. MoonshotAI: Kimi K2.7 Code accepts image, text; OpenAI: GPT-5.4 Mini accepts file, image, text.
| MoonshotAI: Kimi K2.7 Code | OpenAI: GPT-5.4 Mini | |
|---|---|---|
| Model id | moonshotai/kimi-k2.7-code | openai/gpt-5.4-mini |
| Input | $0.66 per M | $0.75 per M |
| Output | $3.40 per M | $4.50 per M |
| Context length | 262,144 tokens | 400,000 tokens |
| Accepts | image, text | file, image, text |
| Produces | text | text |
| Served by | moonshot | openai |
Prices are the providers' list prices per million tokens, as of . Both run on your own provider key through one OpenAI-compatible endpoint, with no fee on the tokens.