kimi-k2.6 API
Call kimi-k2.6 through a single OpenAI-compatible endpoint — one key, no separate vendor account, no multi-provider wiring.
Moonshot AIChatReasoningCodingVision27.0
Intelligence index
61.8
Coding index
20.5
Agentic index
Pricing
Input$1.00 / 1M tokens (¥6.50)
Output$4.15 / 1M tokens (¥27.00)
Output multiplier×4.15
Context window256K tokens
Max output32K tokens
Prices are per 1M tokens in USD · ¥6.5 = $1 · Billed in CNY
Moonshot AI
Kimi models target long-context reading and code generation, with dedicated coding variants tuned for repository-scale tasks.
When to use it
At $1.00 per 1M input tokens it sits above the catalogue median of $0.69 — a capability-first choice. Best for coding agents and repository-scale edits. Every model here is reachable with the same API key, so trialling it against a stronger sibling costs one line of code.
Code
from openai import OpenAI
client = OpenAI(
base_url="https://starseaapi.com/v1",
api_key="sk-your-key"
)
r = client.chat.completions.create(
model="kimi-k2.6",
messages=[{"role": "user", "content": "Explain prefix caching in one paragraph"}]
)
print(r.choices[0].message.content)Other models from this provider
| Models | Input $/M | Output $/M | Intelligence index | Coding index |
|---|---|---|---|---|
| kimi-k2.7-code | $1.00 | $4.15 | 25.8 | 60.8 |
| kimi-k2.8-preview | $1.00 | $4.15 | — | — |
| kimi-k3 | $3.08 | $15.38 | 43.6 | 76.2 |