Moonshot AI: Kimi K2.6
moonshotai/kimi-k2.6Moonshot AI open-source MoE model with 1T total parameters, 32B activated parameters, 256K context, and text input on Gonka; focused on long-horizon coding, coding-driven design, and agentic workflows
- Modalities
- text -> text
- Network cost
- $0.000307/1M tokens
- Platform fee
- $0.000031/1M tokens
- Total price
- $0.000337/1M tokens
- Context
- 262K
- Released
- Apr 20, 2026
Performance for Kimi K2.6
Gonka Network throughput, latency, and reliability metrics are coming soon.
Latency
E2E Latency
Tool call error rate
Structured output error rate
Pricing history for Kimi K2.6
SoonHistorical Gonka Network pricing for this model is coming soon.
Current pricing
Total price
$0.000337
per 1M tokens
History preview
Total price
Sample code and API for Kimi K2.6
GonkaGate accepts OpenAI-compatible requests and sends them to Gonka Network.
Get your API key
Create an API key from your GonkaGate dashboard and set it as an environment variable:
Create API keyexport GONKAGATE_API_KEY=gp-your-api-keyMake your first request
Use moonshotai/kimi-k2.6.
GonkaGate provides an OpenAI-compatible chat completions API for Gonka Network models. You can call it directly or use common OpenAI SDKs.
Set the base URL to https://api.gonkagate.com/v1 and pass your GonkaGate API key in the Authorization header.
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api.gonkagate.com/v1",
apiKey: process.env.GONKAGATE_API_KEY
});
const response = await client.chat.completions.create({
model: "moonshotai/kimi-k2.6",
messages: [
{ role: "user", content: "What is the meaning of life?" }
]
});
console.log(response.choices[0].message.content);Using third-party SDKs
For SDK and framework setup examples, see SDK documentation and integrations.
Enable streaming
Add "stream": true to your request body to receive responses as server-sent events:
curl -N https://api.gonkagate.com/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $GONKAGATE_API_KEY" \
-d '{
"model": "moonshotai/kimi-k2.6",
"stream": true,
"messages": [
{"role": "user", "content": "Hello"}
]
}'Endpoint
- Authorization
- Bearer $GONKAGATE_API_KEY
- Content-Type
- application/json
- Model
- moonshotai/kimi-k2.6
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| reasoning | map | — | Controls reasoning behavior for models that support thinking tokens, including reasoning effort and whether reasoning is included in the response. |
| max_tokens | integer | — | Sets the upper limit for the number of tokens the model can generate in response. |
| temperature | float | 1 | Influences the variety of the model's responses. |
| top_p | float | 1 | Limits choices to the smallest set of likely tokens whose probabilities add up to this value. |
| seed | integer | — | Samples deterministically when supported, so repeated requests with the same seed and parameters can return the same result. |
| presence_penalty | float | 0 | Adjusts how often the model repeats specific tokens already used in the input. |
| response_format | map | — | Requests a specific output format when the model supports it. |
| tools | array | — | Tool calling parameter following OpenAI's tool calling request shape. |
| tool_choice | string or object | — | Controls which tool, if any, is called by the model. |
| logprobs | boolean | — | Requests output-token log probabilities when supported. |
| top_logprobs | integer | — | Specifies how many most likely tokens to return at each token position, each with an associated log probability. |