Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.kymaapi.com/llms.txt

Use this file to discover all available pages before exploring further.

Active models

Model IDGenerationContextSpeedBest For
kimi-k2.6Current flagship262KMediumAgentic coding, multimodal
kimi-k2.5Previous-gen262KMediumAgentic coding, multimodal

Recommendation

Use kimi-k2.6 for AI agents — Moonshot’s newest agentic flagship (April 2026) with reasoning + vision, 262K context, and improved agentic evals over K2.5. Maps to the agent and best-agent aliases.
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": "Build a web scraper that..."}],
    tools=[{
        "type": "function",
        "function": {
            "name": "scrape_url",
            "description": "Scrape a URL and return its content",
            "parameters": {"type": "object", "properties": {"url": {"type": "string"}}}
        }
    }]
)

Previous-gen

kimi-k2.5 is still active and available for existing integrations. No behavior change — it remains stable. If you’re on K2.5 and want the latest, update your model ID to kimi-k2.6 or switch to the agent alias.

Model aliases

AliasResolves to
agentkimi-k2.6
best-agentkimi-k2.6
model="agent"  # → kimi-k2.6