MoonshotAI: Kimi K2.7 Code API Pricing & Cost Breakdown
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. It uses a native multimodal mixture-of-experts...
moonshotai/kimi-k2.7-code
Technical Specifications
| Canonical ID | moonshotai/kimi-k2.7-code |
| Provider | Moonshotai |
| Input Modalities | text, image |
| Output Modalities | text |
| Open-Weight | No (Proprietary API) |
| Reasoning Optimized | Standard |
| Vision Support | Yes |
Estimated Monthly API Spend
| Stage | Monthly Tokens | Est. Cost |
|---|---|---|
| Prototype / MVP 500 req/day |
22.5M in / 6.0M out | $31.50/mo |
| Growing SaaS 10,000 req/day |
600.0M in / 150.0M out | $810.00/mo |
| Scale Production 100,000 req/day |
7500.0M in / 1800.0M out | $9,900/mo |
Deploy or Route MoonshotAI: Kimi K2.7 Code
OpenRouter
Unified API gateway for 300+ LLMs with automatic fallbacks and unified billing.
Together AI
High-throughput serverless inference & fine-tuning for Llama, DeepSeek, and Qwen.
GroqCloud
LPU-accelerated inference delivering hundreds of tokens per second for real-time voice & agents.
Some outbound infrastructure and API gateway links on KostoZero are partner referrals that help keep this observatory free and independent at no extra cost to you.
Cheaper Alternatives to MoonshotAI: Kimi K2.7 Code
| Model | Provider | Input / 1M | Output / 1M | Blended | Context |
|---|---|---|---|---|---|
| Google: Gemini 3 Flash Preview | $0.50 | $3.00 | $1.13 | 1.05M | |
| Google: Nano Banana 2 (Gemini 3.1 Flash Image Preview) | $0.50 | $3.00 | $1.13 | 66K | |
| Google: Nano Banana 2 (Gemini 3.1 Flash Image) | $0.50 | $3.00 | $1.13 | 131K | |
| Qwen: Qwen3.5 397B A17B | Qwen | $0.45 | $3.00 | $1.09 | 262K |
| Mistral: Mistral Large 4 | Mistral AI | $0.70 | $2.10 | $1.05 | 1.05M |
| Qwen: Qwen3.6 27B | Qwen | $0.32 | $3.20 | $1.04 | 262K |
Frequently Asked Questions
How much does MoonshotAI: Kimi K2.7 Code API cost per 1M tokens?
MoonshotAI: Kimi K2.7 Code costs $0.60 per 1M input tokens and $3.00 per 1M output tokens ($1.20 blended at a 3:1 ratio).
What is the maximum context window of MoonshotAI: Kimi K2.7 Code?
MoonshotAI: Kimi K2.7 Code supports up to 262,144 tokens (262K) of input context and up to 235,929 output completion tokens.
What are cheaper alternatives to MoonshotAI: Kimi K2.7 Code?
Lower-cost options tracked right now include Google: Gemini 3 Flash Preview ($1.13/1M), Google: Nano Banana 2 (Gemini 3.1 Flash Image Preview) ($1.13/1M), Google: Nano Banana 2 (Gemini 3.1 Flash Image) ($1.13/1M).
Get Instant Price-Drop (>10%), New AI Bot & SaaS Cliff Alerts
Every 6 hours our autonomous sync checks 40+ LLMs, AI crawlers, and SaaS pricing cliffs—alerting you when prices drop >10% or new scrapers appear.