Skip to content

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 IDdashscope/kimi-k2.7-code
Input
Chat messages
Output
Text
Endpoint
POST /v1/chat/completions

Best for

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

  • messages
  • max_completion_tokens
  • stream
  • temperature
  • tools

Additional parameters

  • max_tokens
  • parallel_tool_calls
  • presence_penalty
  • preserve_thinking
  • seed
  • stop
  • stream_options
  • thinking_budget
  • tool_choice
  • top_p

Pricing

Billable unit and optionsRate (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