All models
Kimi

Kimi K2.8 Preview Agent

moonshotai/kimi-k2.8-preview-agent

Kimi K2.8 Preview Agent is Moonshot AI's Kimi K2.8 Preview coding model served through Kimi's agent gateway, with a 256K-token context window, native tool calling and adjustable reasoning effort.

Pricing

Input$1.00per 1M tokens
Output$4.00per 1M tokens
Cached input$0.16per 1M tokens read from cache

Specifications

Context window262Ktokens
Max output66Ktokens
ProviderKimi
CapabilitiesVision · Reasoning · Function calling
Input typestext, image

Use Kimi K2.8 Preview Agent

Point your existing OpenAI SDK at xKiro and pass moonshotai/kimi-k2.8-preview-agent as the model. Nothing else in your code changes.

from openai import OpenAI

client = OpenAI(
    base_url="https://api.xkiro.com/v1",
    api_key="YOUR_XKIRO_KEY",
)

response = client.chat.completions.create(
    model="moonshotai/kimi-k2.8-preview-agent",
    messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)

Supported parameters

max_tokens · temperature · top_p · stop · frequency_penalty · presence_penalty · seed · stream · tools · tool_choice · response_format · structured_outputs · reasoning · include_reasoning

Related models

Call Kimi K2.8 Preview Agent through the same endpoints you already use.

Get an API key