实现SOTA的代码、长程任务执行和 Agent 集群能力
Model ID: kimi-k2.6 · Type: chat · Provider: Kimi
| Input (per 1M tokens) | $0.53634 USD |
| Output (per 1M tokens) | $2.22786 USD |
| Cache read implicit (per 1M tokens) | $0.10728 USD |
| Cache read explicit (per 1M tokens) | $0.05364 USD |
| Cache write 5m (per 1M tokens) | $0.67044 USD |
import os
from openai import OpenAI
client = OpenAI(api_key=os.environ["ROUTER_API_KEY"], base_url="https://api.router.ai/v1")
resp = client.chat.completions.create(
model="kimi-k2.6",
messages=[{"role": "user", "content": "Hello"}],
)
print(resp.choices[0].message.content)Kimi K2.6 (`kimi-k2.6`) is billed per usage at $0.53634/1M in · $2.22786/1M out, in USD. Current pricing is always listed at https://370.ai/models/kimi-k2.6.
Send a request to https://api.router.ai/v1/chat/completions with the header `Authorization: Bearer <your API key>` and `"model": "kimi-k2.6"`. The API is OpenAI-compatible, so any OpenAI SDK works by changing base_url to https://api.router.ai/v1 — no other code change.
Kimi K2.6 accepts up to 256,000 input tokens and can return up to 32,768 output tokens. Requests exceeding the input limit are rejected before reaching the model.
Kimi K2.6 supports: vision, function_calling, prompt_caching, reasoning.
Kimi K2.6 is a chat model from Kimi, available through the 370.AI gateway with the same API key as every other model.
Call it through the 370.AI OpenAI-compatible endpoint (API base: https://api.router.ai/v1). AI agents can browse the catalog and call any text model through MCP (https://mcp.router.ai/mcp); for image, video and other modalities use the API above.