| kimi-k2.6 | kimi-k2.7-code | |
|---|---|---|
| Providers | Moonshot AI | Moonshot AI |
| Input $/M | $0.98 | $0.98 |
| Output $/M | $4.09 | $4.09 |
| Output multiplier | ×4.15 | ×4.15 |
| Context window | 256K tokens | 256K tokens |
| Intelligence index | — | — |
| Coding index | 61.8 | 60.8 |
Input pricing is close — 1.00× apart — so the decision should come down to measured quality on your own evaluation set rather than headline cost.
Tags: kimi-k2.6 — Chat, Reasoning, Coding, Vision · kimi-k2.7-code — Chat, Reasoning, Coding, Vision
from openai import OpenAI
client = OpenAI(base_url="https://starseaapi.com/v1", api_key="sk-...")
# kimi-k2.6
client.chat.completions.create(model="kimi-k2.6", messages=[{"role":"user","content":"Hi"}])
# kimi-k2.7-code
client.chat.completions.create(model="kimi-k2.7-code", messages=[{"role": "user", "content": "Hi"}])