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.
| Slug | dashscope/kimi-k2.7-code |
| Kind | chat |
| Vendor | moonshot |
| Endpoint | POST /v1/chat/completions |
Charged per job from what the generator reports it rendered — your Logs show the exact figure for each one; see balance and billing.
Calling it
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
messagestemperaturetop_pmax_tokensmax_completion_tokensstreamstream_optionstoolstool_choiceparallel_tool_callsthinking_budgetpreserve_thinkingseedstoppresence_penalty