Moonshot AI
Kimi K2.7 Code
Kimi K2.7 Code reasons through software changes and can call development tools. You can cap the reasoning budget for each request.
Model interface
API model ID
dashscope/kimi-k2.7-code- Input
- Chat messages
- Output
- Text
- Endpoint
POST /v1/chat/completions
Best for
- Diagnose a regression from code and test output
- Add tests for a newly implemented feature
Technical details
Read the model documentation- API model ID
dashscope/kimi-k2.7-code- Provider
- Moonshot AI
- Modality
- Text
- Input
- Chat messages
- Output
- Text
- Endpoint
POST /v1/chat/completions
Request parameters
messagesmax_completion_tokensstreamtemperaturetools
Additional parameters
max_tokensparallel_tool_callspresence_penaltypreserve_thinkingseedstopstream_optionsthinking_budgettool_choicetop_p
Pricing
| Billable unit and options | Rate (USD) |
|---|---|
| Per 1M input tokens | $1.14 |
| Per 1M output tokens | $4.80 |
| Per 1M cached input tokens | $0.228 |
Catalogue rates on 21 Nov 2026. Prices exclude VAT.
View in pricing catalogue