Kimi K2.7 Code API
LLMKimi K2.7 Code is Moonshot's coding-tuned route, with a 256K context, tool use, and rates well below K3.
- Input · USD / 1M tokens$0.76 USDOfficial price
$0.95 USD - Output · USD / 1M tokens$3.2 USDOfficial price
$4 USD - Savings20%
- Context256K
- Last verified2026-09-04
- View tool pricing and billing rules
What are we making today?
Bring an idea, a question, or a first draft.
01
Where it fits
Kimi K2.7 Code is Moonshot's coding-tuned route, with a 256K context, tool use, and rates well below K3.
Choose it for day-to-day repository work where the coding route is enough and per-token cost matters.
02
Model capabilities
Tool use
Can select and call tools in agent workflows that support structured tool use.
03
OpenAI-compatible API
Keep your client and change the base URL, API key, and model ID.
curl https://api.omniakey.com/v1/chat/completions \
-H "Authorization: Bearer $OMNIAKEY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "kimi-k2.7-code",
"messages": [{"role": "user", "content": "Explain this codebase"}],
"stream": true
}'04
Compatible coding tools
More Moonshot AI models
Frequently asked questions
How much does Kimi K2.7 Code cost on OmniaKey?
OmniaKey charges $0.76 USD per 1M input tokens and $3.2 USD per 1M output tokens, in USD. Official prices are $0.95 USD and $4 USD; you save 20%.
What is the context window for Kimi K2.7 Code?
The listed context window is 256K. Actual usable limits can also depend on the client and upstream request format.
Which coding tools work with Kimi K2.7 Code?
The current catalog lists compatibility with Claude Code, Codex, Cursor, Cline, Aider. Use the model ID shown on this page when the client supports model selection.