All models

Kimi K2.7 Code

Stable

Moonshot AI · Released 2026-06 · moonshotai/kimi-k2.7-code

Overview

Model from Moonshot AI's Kimi family with million-token context and strong agentic coding performance. Kimi K2.7 Code supports up to 262K tokens of context. Served through the FirmLink unified API with OpenAI-compatible endpoints.

Function CallingJSON ModeStreamingText

API example

Fully OpenAI-compatible — just change the model field.

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

Pricing

Input$0.71 /1M
Output$3.21 /1M
Context window262K
Max output33K
Kimi K2.7 Code is provided by Moonshot AI and served through the FirmLink gateway. Availability and limits follow the provider's terms.