Skip to content
ModelCap

Head-to-head comparison

Gemini 3.1 Pro Preview vs Kimi K2.7 Code

Gemini 3.1 Pro Preview (Google) and Kimi K2.7 Code (Moonshot AI) compared on the ModelCap Index, API price, context window, provider availability, weight access and every public benchmark board they share. Figures are the same ones shown on the live rankings; nothing here is a hidden score.

Snapshot as of 17 August 2026

As of 17 August 2026, Gemini 3.1 Pro Preview holds the stronger ModelCap Index position (#7 vs #26); Kimi K2.7 Code is 3.4× cheaper per output token ($3.50/1M vs $12.00/1M); and Gemini 3.1 Pro Preview offers the longer context window (1M vs 262K tokens).

Which should you choose?

Choose Gemini 3.1 Pro Preview if…

  • you want the stronger overall ModelCap Index position — #7 against #26 (78.2 vs 63.2 points).
  • you need the longer context window — 1M tokens against 262K.
  • Artificial Analysis Intelligence Index is your yardstick — 47.7 against 43.0.

Choose Kimi K2.7 Code if…

  • API cost matters — $3.50/1M output tokens against $12.00/1M, about 3.4× cheaper.
  • your workload is prompt-heavy — input tokens cost $0.71/1M against $2.00/1M.
  • you want provider choice — 14 listed API providers against 2.
  • LMArena Agent is your yardstick — 1.1% against -0.4%.
  • you want the more recently listed model — Kimi K2.7 Code was listed 12 June 2026, Gemini 3.1 Pro Preview 19 February 2026.

Gemini 3.1 Pro Preview vs Kimi K2.7 Code: specs, pricing and context

Specification comparison of Gemini 3.1 Pro Preview and Kimi K2.7 Code
FieldGemini 3.1 Pro PreviewGoogleKimi K2.7 CodeMoonshot AI
ModelCap Index position#7#26
Index score78.263.2
EvidenceMeasuredMeasured
Input price / 1M tokens$2.00$0.71
Output price / 1M tokens$12.00$3.50
Context window1M tokens262K tokens
Max output tokens66K262K
API providers listed214
Weight accessAPI onlyRestricted license
Input modalitiesAudio, File, Image, Text, VideoText, Image
First listed19 February 202612 June 2026
PublisherGoogleMoonshot AI

Evidence: 4 public benchmark observations across 4 boards · 2 public benchmark observations across 2 boards. Prices are the lowest listed API offer per million tokens observed on the OpenRouter catalogue.

Benchmark scores: Gemini 3.1 Pro Preview vs Kimi K2.7 Code

Public benchmark boards where Gemini 3.1 Pro Preview or Kimi K2.7 Code has a published result
BoardGemini 3.1 Pro PreviewKimi K2.7 CodeLeads
Arena codingArena (LMArena)15211516–1526Only one result
LMArena AgentLMArena-0.4%-1.2%–0.3%1.1%-1.1%–3.2%Kimi K2.7 Code
Artificial Analysis Intelligence IndexArtificial Analysis47.7intelligence-index43.0intelligence-indexGemini 3.1 Pro Preview

Scores are the sources' own published figures for each model's best evaluated configuration; ModelCap never re-runs a benchmark.

Want a different pairing? Open the interactive comparison tool to swap either model for any current ranked language model.

Gemini 3.1 Pro Preview vs Kimi K2.7 Code: common questions

Is Gemini 3.1 Pro Preview better than Kimi K2.7 Code?

Gemini 3.1 Pro Preview ranks higher on the ModelCap Index as of 17 August 2026: #7 against #26. That is a capability ranking built from public benchmark evidence with published uncertainty; whether it is "better" for you also depends on price, context and where you can run it.

Is Gemini 3.1 Pro Preview cheaper than Kimi K2.7 Code?

Kimi K2.7 Code is cheaper on output tokens: $3.50/1M against $12.00/1M. Input tokens are $2.00/1M for Gemini 3.1 Pro Preview and $0.71/1M for Kimi K2.7 Code. Prices are the lowest listed API offer ModelCap observed, in USD per million tokens.

Which has the bigger context window, Gemini 3.1 Pro Preview or Kimi K2.7 Code?

Gemini 3.1 Pro Preview has the larger context window: 1M tokens against 262K.

Which is better for coding, Gemini 3.1 Pro Preview or Kimi K2.7 Code?

The two models do not share a coding benchmark board on ModelCap yet, so no head-to-head coding score is published; the ModelCap Index position is the closest overall signal.

Are Gemini 3.1 Pro Preview and Kimi K2.7 Code open-weight models?

Gemini 3.1 Pro Preview: API only. Kimi K2.7 Code: Restricted license. Open weights mean the checkpoint can be downloaded and self-hosted under its licence; API-only models are available solely through hosted endpoints.

Where can I run Gemini 3.1 Pro Preview and Kimi K2.7 Code?

ModelCap currently lists 2 API providers for Gemini 3.1 Pro Preview and 14 for Kimi K2.7 Code, from the OpenRouter catalogue snapshot the site serves; each model page lists the providers and their prices.

How current is this Gemini 3.1 Pro Preview vs Kimi K2.7 Code comparison?

Every figure comes from the sealed ModelCap dataset published 17 August 2026; the page re-renders within a minute of each data refresh, and the ModelCap Index positions are the same ones shown on the live rankings.

Explore further