kimi-k2.6 vs kimi-k2.7-code: API Pricing & Capabilities
Unit prices, a monthly cost example and capabilities of kimi-k2.6 and kimi-k2.7-code, side by side, from the build-time price snapshot. Both models work with the same OpenLux API key and base URL — switch by changing the model parameter.
kimi-k2.6: Kimi K2.6 is Kimi's latest and most intelligent model, featuring stronger and more stable long-range code writing, significantly improved instruction following and self-correction, with support for text, image, and video input, thinking and non-thinking modes, and both dialogue and Agent tasks.
kimi-k2.7-code: Kimi K2.7 Code is Kimi's most capable coding model to date. It follows instructions more reliably in long contexts and completes programming tasks at a higher success rate. Supports text, image, and video input; thinking mode only; suitable for conversation and Agent tasks.
Price overview
For each model, the lowest-priced group available to visitors; input, output and monthly cost all use that group.
| Item | kimi-k2.6 | kimi-k2.7-code |
|---|---|---|
| Provider | Moonshot | Moonshot |
| Group | Self-Deployed-1 | Self-Deployed-1 |
| Input (USD / 1M tokens) | $0.285 | $0.285 |
| Output (USD / 1M tokens) | $1.20 | $1.20 |
| Cache read (USD / 1M tokens) | $0.048 | $0.057 |
| Monthly cost example | $52.50 | $52.50 |
Monthly cost example: 100M input tokens + 20M output tokens per month, using the input and output prices of the same group, excluding cache.
Prices by group
USD per 1M tokens. Price = base price × group ratio.
kimi-k2.6 by group
| Group | Input | Output | Cache read | Monthly example |
|---|---|---|---|---|
| Self-Deployed-1 | $0.285 | $1.20 | $0.048 | $52.50 |
| Self-Deployed-2 | $0.475 | $2.00 | $0.08 | $87.50 |
| Self-Deployed-3 | $0.7125 | $3.00 | $0.12 | $131.25 |
| Kimi-2 | $1.045 | $4.40 | $0.176 | $192.50 |
kimi-k2.7-code by group
| Group | Input | Output | Cache read | Monthly example |
|---|---|---|---|---|
| Self-Deployed-1 | $0.285 | $1.20 | $0.057 | $52.50 |
| Self-Deployed-2 | $0.475 | $2.00 | $0.095 | $87.50 |
| Self-Deployed-3 | $0.7125 | $3.00 | $0.1425 | $131.25 |
| Kimi-2 | $1.045 | $4.40 | $0.209 | $192.50 |
Same-group comparison
Groups available to both models, with the monthly cost example in the same group:
| Group | kimi-k2.6 | kimi-k2.7-code |
|---|---|---|
| Self-Deployed-1 | $52.50 | $52.50 |
| Self-Deployed-2 | $87.50 | $87.50 |
| Self-Deployed-3 | $131.25 | $131.25 |
| Kimi-2 | $192.50 | $192.50 |
Snapshot taken at build time on 2026-11-26. Actual charges follow the live price table on each model page and your console.
Capabilities
| Item | kimi-k2.6 | kimi-k2.7-code |
|---|---|---|
| Provider | Moonshot | Moonshot |
| Context | — | — |
| Features | Dialogue | Conversation · Tools |
| API formats | OpenAI Chat Completions | OpenAI Chat Completions |
| Long-context tiers | No | No |
Which one to choose
- kimi-k2.6 and kimi-k2.7-code cost about the same in the monthly example; choose by output quality and API format.
- Need Dialogue: kimi-k2.6 supports it.
- Need Conversation, Tools: kimi-k2.7-code supports it.
- Not sure? Send a small share of real traffic to each and compare quality and cost — switching only changes the model parameter.
Quick start
Base URL: https://api.openlux.ai/v1. The example uses kimi-k2.6; change model to kimi-k2.7-code to call the other model.
curl https://api.openlux.ai/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "kimi-k2.6",
"messages": [{"role": "user", "content": "Hello"}]
}'Full parameters in the API docs
FAQ
Which is cheaper, kimi-k2.6 or kimi-k2.7-code?
At build time, the lowest public prices were: kimi-k2.6 (Self-Deployed-1 group) input $0.285, output $1.20 per 1M tokens; kimi-k2.7-code (Self-Deployed-1 group) input $0.285, output $1.20 per 1M tokens. For 100M input + 20M output tokens a month, kimi-k2.6 costs about $52.50 and kimi-k2.7-code about $52.50.
Can I use one API key for both kimi-k2.6 and kimi-k2.7-code?
Yes. Sign up for OpenLux, create an API key in the console, set the base URL to https://api.openlux.ai/v1 and set model to kimi-k2.6 or kimi-k2.7-code. Usage of both models is billed from the same balance.
Which API formats do kimi-k2.6 and kimi-k2.7-code support?
kimi-k2.6: OpenAI Chat Completions. kimi-k2.7-code: OpenAI Chat Completions.
Is there a Batch API?
Not at the moment. OpenLux has no Batch API; all requests are real-time calls billed as such. For bulk jobs, send concurrent requests to the regular endpoints.