Kimi K2.7 Code

moonshot/kimi-k2.7-code

text, image in · text out · 262,144 context · 235,929 max output

toolsschemavisionreasoningcacheno-train
Effective cost per 1k requests

cost = p_in·(input − cached) + p_cache_read·cached + p_out·output + p_req; cached tokens are the prefix a sticky endpoint already holds (part2b §9.3), which is why the cheapest list price is not always the cheapest request.

ProviderRegion · quantContext / max outInput / MOutput / MCache read / writeMarkupPer 1k reqUptime 30 dTTFT p50 / p95ThroughputLast 24 hFidelityDataCapabilitiesStatus
OpenRouterglobal · unknown262,144 / 235,929$0.706$3.518$0.189 / —+5.0%$2.654———no traffic— no-train 30 dmodel defaultactive

Quick start

curl https://api.ai.ml/v1/chat/completions \
  -H "Authorization: Bearer $AIML_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"moonshot/kimi-k2.7-code","messages":[{"role":"user","content":"Say hello"}]}'
Get a key in the console

Changelog

  • new_model model moonshot/kimi-k2.7-code added (active); endpoint ep_openrouter_kimi-k2.7-code_global (moonshotai/kimi-k2.7-code) added as active; price input 0.706 output 3.518 USD/M 10/5/2026