Moonshot AI Kimi K2.6 API parameters
These are the API parameters modelparams.dev tracks for Moonshot AI Kimi K2.6 on Chat Completions with an API key — the settings you send in a request. Each row gives the type, default, valid range or values, and the conditions that gate it. It's the same data the JSON API serves.
After the parameter count instead — how many weights Kimi K2.6 has? That's a different number, and we don't track it. Here's the difference.
Length
2 params
| Parameter | Type | Default | Description | Condition |
|---|---|---|---|---|
|
Max completion tokens
max_completion_tokens
|
integer (1…+∞) | — | Maximum number of tokens to generate in the chat completion. | — |
|
Stop sequence
stop
|
string | — | Stops generation when this sequence is produced. Moonshot accepts up to 5 sequences of at most 32 bytes each. | — |
Reasoning
2 params
| Parameter | Type | Default | Description | Condition |
|---|---|---|---|---|
|
Thinking mode
thinking.type
|
enum (enabled | disabled) | "enabled" | Controls whether Kimi reasons step by step before answering. Thinking is enabled by default; set disabled to respond directly. | — |
|
Keep prior reasoning
thinking.keep
|
enum (all | ) | null | Set to all to carry reasoning content from earlier assistant turns into the request; leave null to send only the final answers. | — |
Tools
1 param
| Parameter | Type | Default | Description | Condition |
|---|---|---|---|---|
|
Tool choice
tool_choice
|
enum (auto | none) | "auto" | Controls tool calling: auto lets the model decide and none blocks tool calls. Moonshot rejects required while thinking is enabled, which is the default on this model. | — |
Output
1 param
| Parameter | Type | Default | Description | Condition |
|---|---|---|---|---|
|
Response format
response_format.type
|
enum (text | json_object) | "text" | Forces the response into plain text or a JSON object. | — |
Observability
2 params
| Parameter | Type | Default | Description | Condition |
|---|---|---|---|---|
|
Log probabilities
logprobs
|
boolean | false | Controls whether the response includes log probabilities for the generated tokens. | — |
|
Top log probabilities
top_logprobs
|
integer (0…20) | — | Number of most likely tokens to return a log probability for at each position. |
Only when logprobs = true
|
Moonshot AI Kimi K2.6 API parameters in brief
Moonshot AI Kimi K2.6 on Chat Completions documents 8 API parameters, grouped by what they control:
-
Length:
max_completion_tokensminimum 1;stop. -
Reasoning:
thinking.typedefaults to "enabled", accepts "enabled", "disabled";thinking.keepdefaults to null, accepts "all", null. -
Tools:
tool_choicedefaults to "auto", accepts "auto", "none". -
Output:
response_format.typedefaults to "text", accepts "text", "json_object". -
Observability:
logprobsdefaults to false;top_logprobsrange 0–20, only when logprobs = true.
Frequently asked questions
- Which API parameters does Moonshot AI Kimi K2.6 support?
- Moonshot AI Kimi K2.6 accepts 8 API parameters in the request body: max_completion_tokens, stop, thinking.type, thinking.keep, response_format.type, tool_choice, and more.
Resources
Other Moonshot AI models
Kimi K2.5
7 params
View
Kimi K2.6
Subscription
4 params
View
Kimi K2.7 Code
7 params
View
Kimi K2.7 Code
Subscription
3 params
View
Kimi K2.7 Code Highspeed
7 params
View
Kimi K2.7 Code Highspeed
Subscription
3 params
View
Kimi K3
6 params
View
Moonshot v1 128K
11 params
View
Moonshot v1 32K
11 params
View
Moonshot v1 8K
11 params
View