Back to the AI model catalog
KimiAvailableHigh availability

Kimi K2.7 Code API

RouterLab publishes this Kimi model under the model ID kimi-k2.7-code. The facts below come from the active RouterLab catalog.

Model ID

kimi-k2.7-code

OpenAI-compatible APIClaude Messages API

Context window

262,144 tokens

Maximum output

32,768 tokens

Input / 1M tokens

$0.70

Output / 1M tokens

$3.45

Cache read / 1M tokens

$0.15

Cache write / 1M tokens

$0.70

Cache read reuses tokens already stored in the provider cache. Cache write creates or stores new cache tokens.

Catalog capabilities

  • Vision input
  • Tool calling
  • Streaming
  • Reasoning

Minimal API request

curl https://api.routerlab.ch/v1/chat/completions \
  -H "Authorization: Bearer $ROUTERLAB_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"kimi-k2.7-code","messages":[{"role":"user","content":"Hello RouterLab"}]}'