Kimi K2.7 Code
StableMoonshot 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!"}]
}'More from Moonshot AI
Related models
Moonshot AI
Kimi K3
Function CallingJSON ModeStreaming
1.0M context
$3.00 / $15.00per 1M tok in / out
View details
Moonshot AI
Kimi K2.6
Function CallingJSON ModeStreaming
262K context
$0.95 / $4.00per 1M tok in / out
View details
Google
Gemini 3.8 Flash
Function CallingJSON ModeStreamingVision
1.0M context
$0.75 / $3.75per 1M tok in / out
View details
Google
Gemini 3.7 Flash
Function CallingJSON ModeStreamingVision
1.0M context
$0.75 / $3.75per 1M tok in / out
View details
Kimi K2.7 Code is provided by Moonshot AI and served through the FirmLink gateway. Availability and limits follow the provider's terms.