# Kimi K2.7 Code vs Step 5 Preview

As of November 23, 2026, Step 5 Preview is cheaper at 3 input tokens per output token, though it costs 5% more per input token than Kimi K2.7 Code ($1.00 vs $0.95 per 1M) and has a 1M-token context window versus 256K.

- Page: https://models.litellm.ai/compare/kimi-k2.7-code-vs-step-5-preview
- Kimi K2.7 Code: https://models.litellm.ai/models/kimi-k2.7-code
- Step 5 Preview: https://models.litellm.ai/models/step-5-preview

## Side by side

| | Kimi K2.7 Code | Step 5 Preview |
|---|---|---|
| Input, per 1M tokens | $0.95 | $1.00 |
| Output, per 1M tokens | $4.00 | $2.70 |
| Cache read, per 1M tokens | $0.19 | $0.10 |
| Cache write, per 1M tokens | – | – |
| Context window | 262,144 tokens | 1,024,000 tokens |
| Max output | 262,144 tokens | 131,072 tokens |
| Image input | Yes | Yes |
| Tool calling | Yes | Yes |
| Structured output (JSON) | Yes | Yes |
| Prompt caching | Yes | Yes |
| Reasoning | Yes | Yes |
| Providers on LiteLLM | 23 | 5 |
| Price shown is from | Moonshot AI | EmpirioLabs AI |
| Added to LiteLLM | June 2026 | October 24, 2026 |

Headline prices in USD per 1M tokens, from LiteLLM's model price file.

## Cheapest provider for each

- Kimi K2.7 Code: CLF AI Gateway at $0.38 input per 1M tokens (`clf_ai_gateway/kimi-k2.7-code`)
- Step 5 Preview: EmpirioLabs AI at $1.00 input per 1M tokens (`empiriolabs/step-5-preview`)

## When to pick which

- Kimi K2.7 Code: Costs 5% less per input token: $0.95 vs $1.00 per 1M.
- Kimi K2.7 Code: Returns up to 262,144 tokens per response, vs 131,072.
- Step 5 Preview: Costs 32% less per output token: $2.70 vs $4.00 per 1M.
- Step 5 Preview: Larger context window: 1,024,000 vs 262,144 tokens.

## FAQ

### Which is cheaper, Kimi K2.7 Code or Step 5 Preview?

Step 5 Preview is cheaper at 3 input tokens per output token: $1.425 per 1M tokens blended ($1.00 input, $2.70 output), versus $1.712 ($0.95 and $4.00) for Kimi K2.7 Code, as of November 23, 2026.

### Which has the larger context window, Kimi K2.7 Code or Step 5 Preview?

Step 5 Preview has the larger context window: 1,024,000 tokens, versus 262,144 for Kimi K2.7 Code.

### Can I switch from Kimi K2.7 Code to Step 5 Preview without changing my code?

Yes. Through LiteLLM both use the OpenAI format, so switching means changing the model name from "moonshot/kimi-k2.7-code" to "empiriolabs/step-5-preview", or pointing a LiteLLM gateway model alias at the other model. You can also use one as a fallback for the other.
