Sociaro Docs
View Markdown

dashscope/kimi-k2.7-code

Kimi K2.7 Code (Moonshot AI): coding model, 229K input tokens, 16K output, tools.

It always thinks (thinking cannot be turned off; cap it with thinking_budget), so tool_choice takes only auto or none. top_k is not supported.

Slugdashscope/kimi-k2.7-code
Kindchat
Vendormoonshot
EndpointPOST /v1/chat/completions

View pricing and billing conditions

Example request

curl https://api.sociaro.com/v1/chat/completions \
  -H "Authorization: Bearer $SOCIARO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
        "model": "dashscope/kimi-k2.7-code",
        "messages": [{"role": "user", "content": "hello"}]
      }'

Parameters

  • messages
  • temperature
  • top_p
  • max_tokens
  • max_completion_tokens
  • stream
  • stream_options
  • tools
  • tool_choice
  • parallel_tool_calls
  • thinking_budget
  • preserve_thinking
  • seed
  • stop
  • presence_penalty

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

View this model in the pricing catalogue. Your billing logs show the actual charge for each request.