API pricing per million tokens
- Input
- $0.713
- per 1M, StreamLake
- Output
- $3
- per 1M tokens
- Cached input
- $0.143
- no batch tier listed
- Context
- 262K
- 236K max output
Where to buy it (15)
- StreamLakedefault region$0.713 / $3cached $0.143
- Inceptronint4, int4$0.706 / $3.3cached $0.18
DeepInfrafp4, fp4$0.68 / $3.4cached $0.136
CoreWeaveint4, int4$0.71 / $3.5cached $0.15
Veniceint4, int4$0.75 / $3.5cached $0.16
- ModelRunfp4, fp4$0.85 / $3.75cached $0.16
SiliconFlowfp8, fp8$0.859 / $3.8cached $0.18
Novita AIint4, int4$0.912 / $3.84cached $0.182
Basetenfp4, fp4$0.95 / $4cached $0.16
Cloudflare Workers AIdefault region$0.95 / $4cached $0.19
Fireworks AIdefault region$0.95 / $4cached $0.19
- GMICloudfp8, fp8$0.95 / $4cached $0.19
Moonshot AIint4, int4$0.95 / $4cached $0.19
Qwen (Alibaba)fp8, fp8$0.95 / $4cached $0.19
Moonshot AIhighspeed, int4$1.9 / $8cached $0.38
Through a gateway
Your own numbers100M input and 20M output tokens a month: $131.25 direct.
Helicone$131.25+0%
Kong AI Gateway$131.25+0%
LiteLLM$131.25+0%
Vercel AI Gateway$131.25+0%
AWS Bedrock$131.25+0%
Azure AI Foundry$131.25+0%
Google Vertex AI$131.25+0%
Databricks Mosaic AI$131.25+0%
Hugging Face Inference$131.25+0%
Cloudflare AI Gateway$137.81+5%
Requesty$137.81+5%
Eden AI$138.47+5.5%
OpenRouter$138.47+5.5%
Snowflake Cortex AI$157.50+20%
Martian Gatewayn/a
Portkeyn/a
TrueFoundry AI Gatewayn/a
IBM watsonx.ain/a
OCI Generative AIn/a
BigQuery MLn/a
Cloudflare Workers AIn/a
NVIDIA NIMn/a
Related models
Kimi K3Moonshot AI · via InferenceNet (fp4) · 1M$1.4 / $10.8in / out per 1M$1.4$10.8$0.31MJul 16, 2026
Kimi K2.6Moonshot AI · via DigitalOcean · 262K$0.57 / $2.4in / out per 1M$0.57$2.4$0.114262KApr 20, 2026
Kimi K2.5Moonshot AI · via SiliconFlow (int4) · 262K$0.45 / $2.25in / out per 1M$0.45$2.25$0.07262KJan 27, 2026
Kimi K2 ThinkingMoonshot AI · via Google Vertex AI · 262K$0.6 / $2.5in / out per 1M$0.6$2.5n/a262KNov 6, 2025
Muse Spark 1.3Meta · 1M$1.25 / $4.25in / out per 1M$1.25$4.25$0.151MSep 2, 2026
Gemini 3.8 FlashGoogle Gemini API · 1M$0.75 / $3.75in / out per 1M$0.75$3.75$0.0751MSep 2, 2026
Muse Spark 1.1Meta · 1M$1.25 / $4.25in / out per 1M$1.25$4.25$0.151MJul 16, 2026
GLM 5.3Z.ai · via DeepInfra (fp4) · 1.31M$0.563 / $2.5in / out per 1M$0.563$2.5$0.1251.31MAug 18, 2026
About Kimi K2.7 Code
MoonshotAI: Kimi K2.7 Code is a coding-focused model in Moonshot AI's Kimi K2 family, built to complete end-to-end programming tasks reliably over long contexts.
Takes text, image in and returns text. First listed Sep 23, 2026. Blended price $1.28 per 1M tokens at 3 input to 1 output.
Questions
How much does Kimi K2.7 Code cost?
$0.713 per million input tokens and $3 per million output tokens, with cached input at $0.143.
What is the context window of Kimi K2.7 Code?
262K tokens, with up to 236K tokens of output.
Where is Kimi K2.7 Code cheapest?
Of 15 routes tracked, StreamLake is cheapest at $0.713 input and $3 output per million tokens.
List prices from providers' pages on the date shown; your contract may differ. Logos via logo.dev; trademarks belong to their owners.