Skip to content
Dashboard

Kimi K2.7 Code

Kimi K2.7 Code is Moonshot AI's coding-focused agentic model with stronger coding and agent performance than Kimi K2.6, less overthinking, and a context window of 262.1K tokens, available through AI Gateway via Moonshot AI, DeepInfra, Fireworks, Baseten.

ReasoningTool UseImplicit CachingFile InputVision (Image)
index.ts
import { streamText } from 'ai'
const result = streamText({
model: 'moonshotai/kimi-k2.7-code',
prompt: 'Why is the sky blue?'
})

More models by Moonshot AI

Model
Context
Latency
Throughput
Input
Output
Cache
Web Search
Capabilities
Providers
ZDR
No Training
Release Date
1M
$3/M
$15/M
Read:$0.3/M
Write:
+2
moonshotai logo
novita logo
07/16/2026
262K
$1.90/M
$8/M
Read:$0.38/M
Write:
+2
fireworks logo
moonshotai logo
06/15/2026
262K
$0.95/M
$4/M
Read:$0.16/M
Write:
+1
baseten logo
fireworks logo
moonshotai logo
+2
04/20/2026
262K
$0.60/M
$3/M
Read:$0.1/M
Write:
+1
baseten logo
bedrock logo
fireworks logo
+2
01/26/2026
216K
$0.47/M
$2/M
Read:$0.14/M
Write:
deepinfra logo
11/06/2025
131K
$0.57/M
$2.30/M
novita logo
07/11/2025