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 window | 262Ktokens |
|---|---|
| Max output | 66Ktokens |
| Provider | Kimi |
| Capabilities | Vision · Reasoning · Function calling |
| Input types | text, 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
- Kimi K2.7 Code HighSpeed$0.38
- Kimi K2.8 Preview$0.2
- Kimi K3$0.6
- Kimi K3 256K$0.6
- Kimi K3 Agent$3.00
- Qwen3 Max (Free)Free
Call Kimi K2.8 Preview Agent through the same endpoints you already use.
Get an API key