Skip to main content

Overview

kimi-k2.6 is Moonshot’s newest agentic flagship (April 2026). It handles tool calls, long sessions, and image-aware workflows more naturally than the rest of the catalog. Beats K2.5 on internal agentic evals per Moonshot’s release notes. This is the model the agent and best-agent aliases resolve to.

Specs

FieldValue
Model IDkimi-k2.6
Best forAgentic coding, tool use, multimodal workflows
Context window262,144 tokens
Max output tokens32,768
Input modalitiesText, image
Output modalitiesText
Tool callingYes
Structured outputsYes
Prompt cachingNo
SpeedMedium
Cost bandPremium
Release stageStable

Pricing

Per 1M tokens
Input$1.28
Output$5.40

Use this when

  • Your coding agent uses lots of tool calls.
  • You need long context for large repos or multi-step tasks.
  • You want one model for text plus screenshots or diagrams.
  • You care more about reliable agent behavior than lowest latency.

Pick something else when

  • You want the best general-purpose default: use qwen-3.6-plus.
  • You only need deep reasoning, not agent behavior: use deepseek-r1.
  • You need a cheaper long-context option: use gemini-2.5-flash.
  • You need the previous-gen agentic model: use kimi-k2.5.

Example

from openai import OpenAI

client = OpenAI(base_url="https://kymaapi.com/v1", api_key="ky-...")

response = client.chat.completions.create(
    model="kimi-k2.6",
    messages=[
        {"role": "user", "content": "Plan the refactor, then call tools to inspect the relevant files."}
    ],
    tools=[
        {
            "type": "function",
            "function": {
                "name": "read_file",
                "description": "Read a file from the repo",
                "parameters": {
                    "type": "object",
                    "properties": {"path": {"type": "string"}},
                    "required": ["path"]
                }
            }
        }
    ]
)
Or use the agent alias to always get the latest agentic flagship:
response = client.chat.completions.create(
    model="agent",  # → kimi-k2.6
    messages=[{"role": "user", "content": "Plan the refactor, then call tools to inspect the relevant files."}],
    tools=[...]
)

Agent query example

curl "https://kymaapi.com/v1/models?recommended_for=agent&tools=true&input_modalities=text,image"
AliasResolves to
agentkimi-k2.6
best-agentkimi-k2.6