Home / moonshotai / MoonshotAI: Kimi K2.7 Code
MoonshotAI: Kimi K2.7 Code API Pricing & Cost Calculator
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...
ReasoningCachingVisionOpen-Weight moonshotai/kimi-k2.7-code
Input / 1M
$0.630
Output / 1M
$3.50
Cache Read / 1M
$0.150
Blended 3:1 / 1M
$1.35
Agent Cached / 1M
$0.897
Context Window
262.1K
Monthly Workload Cost Calculator
Daily
$3.10
Monthly
$93.00
Cache Saved
$54.00
Annual
$1,131.50
Benchmarks & Capabilities
| Intelligence Index | — |
|---|---|
| Coding / Engineering | — / — |
| Agentic Index | — |
| Design Arena Avg ELO | 1177.8 |
| Value Score | — |
| Modality | text+image->text |
| Max Output | 235.9K |
5 Cheaper Alternatives to MoonshotAI: Kimi K2.7 Code
| Alternative Model | Blended / 1M | Input / 1M | Output / 1M | Intel | Side-by-Side |
|---|---|---|---|---|---|
| OpenAI: GPT-6.1 Terra (batch) openai/gpt-6.1-terra:batch |
$1.00 | $0.500 | $2.50 | 51 | Compare → |
| Anthropic: Claude Haiku 5.5 (batch) anthropic/claude-haiku-5.5:batch |
$0.100 | $0.050 | $0.250 | 37 | Compare → |
| Anthropic: Claude Haiku 5.5 anthropic/claude-haiku-5.5 |
$0.200 | $0.100 | $0.500 | 37 | Compare → |
| Meta: Muse Ember meta/muse-ember |
$0.200 | $0.100 | $0.500 | 36 | Compare → |
| DeepSeek: DeepSeek V4.1 Flash 1017 (batch) deepseek/deepseek-v4.1-flash-1017:batch |
$0.064 | $0.035 | $0.149 | 32 | Compare → |
Frequently Asked Questions
How much does MoonshotAI: Kimi K2.7 Code API cost per 1M tokens?
MoonshotAI: Kimi K2.7 Code (moonshotai/kimi-k2.7-code) costs $0.630 per 1M input tokens and $3.50 per 1M output tokens (3:1 blended price: $1.35 per 1M tokens).
Does MoonshotAI: Kimi K2.7 Code support prompt caching and how much does it save?
Yes. Cached input reads cost $0.150 per 1M tokens, bringing realistic 80%-cached agent loop cost down to $0.897 per 1M tokens.
What is the context window and maximum output of MoonshotAI: Kimi K2.7 Code?
MoonshotAI: Kimi K2.7 Code supports a 262.1K token context window (262,144 tokens) and up to 235.9K output tokens per completion.
Fetch Live JSON via API
curl -s "https://llm.lhblabs.com/api/v1/models/moonshotai-kimi-k2-7-code"
Recommended Stack: DigitalOcean
Predictable Droplets, managed databases, and GPU nodes for production AI workloads.
Try DigitalOcean →
Self-Serve Placement
Building an LLM API, GPU Cloud, or AI Dev Tool?
Book Sponsor Slot →
Feature your product across 1,500+ LLM pricing & comparison pages starting at $49/mo.