modelgrep

Longest-Context MoonshotAI Models

Quick answer · Updated June 2026

Kimi K2.7 Code has the largest context window of any MoonshotAI model, at 262K tokens. Kimi K2.6 (262K) and Kimi K2.5 (262K) round out the top three.

262KContext
63 t/sSpeed
$0.750Input /M

AI models with the largest context windows, ranked by token capacity. The best large language models for long documents, codebases and extended conversations.

  1. 1M
    kimi-k2.7-code
    ReasoningToolsJSON+1$0.750/M · 63 t/s · 378ms ttft
    262K
    Context
  2. 2M
    kimi-k2.6
    ReasoningToolsJSON+142.9 intel · $0.680/M · 162 t/s
    262K
    Context
  3. 3M
    kimi-k2.5
    ReasoningToolsJSON+137.3 intel · $0.375/M · 89 t/s
    262K
    Context
  4. 4M
    kimi-k2-thinking
    ReasoningToolsJSON24.1 intel · $0.600/M · 103 t/s
    262K
    Context
  5. 5M
    kimi-k2-0905
    ToolsJSON30.9 intel · $0.600/M · 139 t/s
    262K
    Context

Frequently asked

Which MoonshotAI model has the largest context window?

Kimi K2.7 Code has the largest context window of any MoonshotAI model, at 262K tokens. Kimi K2.6 (262K) and Kimi K2.5 (262K) round out the top three.

What's a good alternative to Kimi K2.7 Code?

Kimi K2.6 (262K) is the closest alternative on this metric, followed by Kimi K2.5 (262K). See the full ranking above for the tradeoffs.

How many MoonshotAI models are there?

modelgrep tracks 6 MoonshotAI models with live benchmarks, speed, latency and per-provider pricing, led on intelligence by Kimi K2.6. 5 of them qualify for this ranking.

More MoonshotAI rankings

All rankings