Moonshot AI

Kimi K2.7 Code

kimi-k2.7-code
  • Vision
  • Video input
  • Reasoning
  • Reasoning change without cache break
  • Structured output
  • Tool use
  • Explicit caching
  • Implicit caching
Input
$0.95
Per 1M tokens
Output
$4.00
Per 1M tokens
Speed
232
tokens / s
Context
256K
tokens
Released
Jun 2026
Where kimi-k2.7-code runs
DeploymentRegionCostFlexPriorityUltrafastCache readCache writeThroughputCapabilitiesZero data retentionNo training
Alibaba CloudGlobal$0.95 / $4.00N/AN/AN/A$0.095$1.188232 tok/s
  • Vision
  • Video input
  • Reasoning
  • Reasoning change without cache break
  • Structured output
  • Tool use
  • Explicit caching
  • Implicit caching

Build with Kimi K2.7 Code

Visit https://docs.weflayr.com/agents/integration-playbook, then set up Weflayr in this project and use it to call the model "kimi-k2.7-code".

Compare with other models

Price and speed is only half the answer. Benchmark models on your calls to find out the other half.

Benchmark on your calls
Filters
  • Kimi K2.7 Code
The gateway's models next to kimi-k2.7-code
ModelRegionProvidersCostFlexPriorityUltrafastCache readCache writeThroughputContextZero data retentionNo trainingReleased
inklingGlobal$1.00 / $4.05N/AN/AN/A$0.17N/A164 tok/s256K Jul 2026
grok-4.3Global$1.25 / $2.50N/AN/AN/A$0.20N/A130 tok/s1M Apr 2026
gpt-5.4-miniGlobalUSEU$0.75 / $4.50$0.375 / $2.25$1.50 / $9.00N/A$0.075N/A276 tok/s272KVariesVariesMar 2026
grok-4.20-non-reasoningGlobal$1.25 / $2.50N/AN/AN/A$0.20N/A452 tok/s1MVariesVariesMar 2026
grok-4.20-reasoningGlobal$1.25 / $2.50N/AN/AN/A$0.20N/A441 tok/s1MVariesVariesMar 2026

Alternatives to Kimi K2.7 Code

12 other models with the same capabilities and at least the same context window as Kimi K2.7 Code are available on the Weflayr gateway. Review the most notable ones.

Benchmark Kimi K2.7 Code on your own agent calls

A lower list price says nothing about answer quality. Your evals grade each answer against the one you ship today.

Evaluate models on your own callsExample

Miracle LabsYesterday, 11:34pm_agent

Review all standup recordings from the past week, check if an issue exists for every work item, and create a status report for me.

  • Your agent's answersBaselineBaseline
  • kimi-k2.7-code−67% cost Same quality
  • gemini-4-neon+15% cost Better quality
  • glm-5.3-flash−95% costWorse quality
  • nemotron-3.5-super-vl−95% cost Same quality

Questions

How much does kimi-k2.7-code cost?
kimi-k2.7-code costs $0.95 per 1M input tokens and $4.00 per 1M output tokens on its cheapest host, Alibaba Cloud, Global. Input read from the cache costs $0.095 per 1M tokens. These are list prices, as the gateway's model list gives them.
What is the context window of kimi-k2.7-code?
kimi-k2.7-code takes up to 256,000 tokens of input and writes up to 32,768 tokens in one answer.
Which hosts run kimi-k2.7-code?
1 host: Alibaba Cloud (Global). To keep a call on one, send its provider and region, for example "provider": "alibaba", "region": "GLOBAL".
Can I run kimi-k2.7-code in the EU?
Not yet. kimi-k2.7-code runs in Global regions only. 11 models that can do the same job run in the EU.
Do the hosts of kimi-k2.7-code keep my data or train on it?
Zero data retention: 0 of its 1 deployment. No training on your data: 1 of 1. Where a host does not say, this page shows it as unknown.
How fast is kimi-k2.7-code?
Over the last 24 hours, kimi-k2.7-code wrote a median of 232 output tokens per second on its fastest host, Alibaba Cloud, Global.
What can kimi-k2.7-code do?
kimi-k2.7-code reads text, images and video and writes text. It supports reasoning, tool use, structured output, explicit caching and implicit caching.
Is there a cheaper model that does the same job as kimi-k2.7-code?
On list price, 5 models can do the same job for less, for a call of 2,000 input and 500 output tokens. The closest in price is gemini-3.8-flash, at 13% less. A price list cannot tell if the answers are as good. A Weflayr benchmark replays your own calls on each model to find out.
How do I call kimi-k2.7-code?
Point any OpenAI client at https://gateway.weflayr.com/v1 with a Weflayr API key and send "kimi-k2.7-code" as the model. Send a list of models to have the next one answer when the first fails. Calls take up to 256K tokens of context.

Put your model teams to work.

Connect Weflayr, benchmark your agents, and gain control over your AI performance.