kimi-k2.6
Moonshot AI logo

Kimi K2.6

kimi-k2.6
Moonshot AI
Kimi K2.6 is Kimi's latest and most intelligent model, with stronger and more stable long-range code-writing capabilities, significantly improved instruction-following and self-correction abilities, and support for text, image, and video inputs, thinking and non-thinking modes, as well as dialogue and Agent tasks.The model has a context length of 256k, supports long-form thinking, and excels at deep reasoning.

Pricing

  • Input Tokens: $0.950 /M tokens
  • Output Tokens: $3.999 /M tokens
  • Cache Read: $0.161 /M tokens

Input Modalities

  • Text
  • Vision
  • Video

Output Modalities

  • Text

Capabilities

  • Thinking
  • Tool calling
  • Structured outputs

Try this model

Python
import os
from openai import OpenAI

client = OpenAI(
    api_key=os.environ["AIHUBMIX_API_KEY"],
    base_url="https://aihubmix.com/v1",
)

response = client.chat.completions.create(
    model="kimi-k2.6",
    messages=[
      {
        "role": "user",
        "content": "Hello, how are you?"
      }
    ],
    max_tokens=1024,
    stream=False,
)

print(response.choices[0].message.content)

Frequently asked questions

What is kimi-k2.6?

Kimi K2.6 is Kimi's latest and most intelligent model, with stronger and more stable long-range code-writing capabilities, significantly improved instruction-following and self-correction abilities, and support for text, image, and video inputs, thinking and non-thinking modes, as well as dialogue and Agent tasks.The model has a context length of 256k, supports long-form thinking, and excels at deep reasoning.