# Kimi K2.7 Code vs Claude Sonnet 5

On provider list prices, Kimi K2.7 Code costs $0.95 per million input tokens against $3 for Claude Sonnet 5: 3.2x apart. Output is $4 against $15 (3.8x). On Allocate both bill at list plus the 7% transaction fee.

## Specifications

| | Kimi K2.7 Code | Claude Sonnet 5 |
| --- | --- | --- |
| Lab | Moonshot AI | Anthropic |
| Access | Open weights | API only |
| Context window | 256K tokens | 1M tokens |
| List price, input | $0.95 / M tokens | $3 / M tokens |
| List price, output | $4 / M tokens | $15 / M tokens |
| Cached input | $0.19 / M tokens | n/a |
| License | Not listed | Proprietary API |
| Fine-tunable | Yes | No |

Specifications and provider list prices from the Allocate catalog, checked 2026-07-08. Billed price is list plus the 7% transaction fee.

## What the numbers say

Take 1,000,000 requests a month at 1,200 input and 350 output tokens each. That workload costs $2,540 a month on Kimi K2.7 Code and $8,850 on Claude Sonnet 5 at list: a gap of $6,310, or 3.5x.

Claude Sonnet 5 reads 1M tokens per request against 256K for Kimi K2.7 Code, 3.8x the window. That decides which one can take whole documents without splitting them.

## Choose Kimi K2.7 Code for

- The lower list price ($0.95 in / $4 out per M tokens)
- Open weights you can fine-tune and own
- Published cached-input pricing ($0.19 per M tokens)

## Choose Claude Sonnet 5 for

- Judgment calls with policy context
- Customer-facing writing
- Review and escalation flows

## Common questions

### Which is cheaper, Kimi K2.7 Code or Claude Sonnet 5?

Kimi K2.7 Code, on this workload shape. At list prices it is $0.95/$4 per million tokens in and out against $3/$15 for Claude Sonnet 5. Billed on Allocate: $1.02/$4.28 against $3.21/$16.05, list plus 7%.

### Which has the bigger context window?

Claude Sonnet 5: 1,000,000 tokens (1M) against 262,144 (256K) for Kimi K2.7 Code.

### Can I fine-tune Kimi K2.7 Code or Claude Sonnet 5?

Kimi K2.7 Code publishes open weights (Not listed) and can be fine-tuned on your own data. Claude Sonnet 5 is a closed model served over API; its weights are not available.

---

[HTML page](https://allocate.network/compare/moonshotai-kimi-k2-7-code-vs-sonnet-5) · [Kimi K2.7 Code](https://allocate.network/models/moonshotai-kimi-k2-7-code.md) · [Claude Sonnet 5](https://allocate.network/models/sonnet-5.md) · [Machine-readable catalog](https://allocate.network/catalog.json)
