Kimi K2.7 Code

Code-focused. 262k context. Cache hit input at $0.19. Price rose vs K2.5 but quality improved proportionally.

ChatMoonshot (Kimi)262k tokens$1.0356 / $4.3602 · 1M

moonshot/kimi-k2.7-code

Context
262k tokens
Completion cap
Tools
Yes
JSON
No

Call it from Geek Hub

Same OpenAI SDK. Change the base URL and the model id.

curl https://api.geekhub.mx/v1/chat/completions \
  -H "Authorization: Bearer $GEEKHUB_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "moonshot/kimi-k2.7-code",
    "messages": [{"role": "user", "content": "Hola"}]
  }'
Get an API key

Frequently asked questions

What is Kimi K2.7 Code?
Code-focused. 262k context. Cache hit input at $0.19. Price rose vs K2.5 but quality improved proportionally. Kimi K2.7 Code runs on the Geek Hub API (OpenAI-compatible). Model id: moonshot/kimi-k2.7-code.
Is Kimi K2.7 Code free?
No. Input is $1.0356 per 1M tokens and output is $4.3602 per 1M tokens on Geek Hub (markup included).
What is the context length of Kimi K2.7 Code?
Kimi K2.7 Code has a 262k tokens context window.
Does Kimi K2.7 Code support tool calling and structured outputs?
Kimi K2.7 Code accepts tools and tool_choice for function calling. Structured outputs are not listed for this endpoint.

More models from Moonshot (Kimi)