# Gemini 3.1 Pro Preview vs Kimi K2.7 Code

Canonical: https://weaveos.com/models/compare/google--gemini-3.1-pro-preview-vs-moonshotai--kimi-k2.7-code

Catalog checked: Nov 27, 2026.

Methodology: https://weaveos.com/models/methodology.

## Routing trade-offs

- **Benchmark results.** Gemini 3.1 Pro Preview and Kimi K2.7 Code scored 78.261% and 76.087%, respectively, on Code Completion. Use the test setup below to check whether it matches your workload.
- **Token cost.** For 1 million input tokens and 250,000 output tokens, the listed rates estimate $5.00 for Gemini 3.1 Pro Preview and $1.35 for Kimi K2.7 Code.
- **Context window.** Gemini 3.1 Pro Preview lists 1,048,576 tokens of context. Kimi K2.7 Code lists 262,144 tokens. Reserve space for the output before routing long inputs.

## Model specifications

| Specification | Gemini 3.1 Pro Preview | Kimi K2.7 Code |
| --- | --- | --- |
| Catalog status | Listed | Listed |
| Catalog model ID | google/gemini-3.1-pro-preview | moonshotai/kimi-k2.7-code |
| Provider | Google | Moonshot AI |
| Context window | 1,048,576 tokens | 262,144 tokens |
| Max output | 65,536 tokens | 235,929 tokens |
| Input modalities | Audio, File, Image, Text, Video | Text, Image |
| Output modalities | Text | Text |
| Reasoning controls | Listed | Listed |
| Tool calling | Listed | Listed |
| Structured outputs | Listed | Listed |
| Serving endpoints | /api/v1/chat/completions, /api/v1/completions, /api/v1/messages, /api/v1/responses | /api/v1/chat/completions, /api/v1/completions, /api/v1/messages, /api/v1/responses |
| Catalog listing date | Feb 19, 2026 | Jun 12, 2026 |

## Token pricing

OpenRouter snapshot rates in USD per million tokens. Rates and billing can vary with API endpoint, volume, tier, tools, and cache settings. Prices do not represent Weave plans. Catalog source: https://openrouter.ai/api/v1/models.

| USD per million tokens | Gemini 3.1 Pro Preview | Kimi K2.7 Code |
| --- | --- | --- |
| Uncached input | $2.00 | $0.60 |
| Output | $12.00 | $3.00 |
| Cache read | $0.20 | $0.12 |
| Cache write | $0.375 | Unavailable |

Cost estimate formula: ((input tokens × uncached input USD per million) + (output tokens × output USD per million)) ÷ 1,000,000. The overview uses 1,000,000 input tokens and 250,000 output tokens.

## Shared benchmark results

Shared rows require the same benchmark source snapshot, metric, score unit, and evaluation group. Reasoning settings and test configurations can differ. Benchmarks describe the published runs.

| Benchmark | Gemini 3.1 Pro Preview | Kimi K2.7 Code | Evaluation group | Gemini 3.1 Pro Preview date or snapshot | Kimi K2.7 Code date or snapshot | Gemini 3.1 Pro Preview configuration | Kimi K2.7 Code configuration | Result source | Methodology |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| Code Completion | 78.261% | 76.087% | livebench:v1:20260625:code\_completion:% | Suite release Jun 25, 2026 · run date unavailable | Suite release Jun 25, 2026 · run date unavailable | gemini-3.1-pro-preview-high | kimi-k2.7-code | https://livebench.ai/v1/table\_2026\_06\_25.csv | https://github.com/LiveBench/LiveBench |
| Code Generation | 74.648% | 71.831% | livebench:v1:20260625:code\_generation:% | Suite release Jun 25, 2026 · run date unavailable | Suite release Jun 25, 2026 · run date unavailable | gemini-3.1-pro-preview-high | kimi-k2.7-code | https://livebench.ai/v1/table\_2026\_06\_25.csv | https://github.com/LiveBench/LiveBench |
| Javascript | 59.091% | 63.636% | livebench:v1:20260625:javascript:% | Suite release Jun 25, 2026 · run date unavailable | Suite release Jun 25, 2026 · run date unavailable | gemini-3.1-pro-preview-high | kimi-k2.7-code | https://livebench.ai/v1/table\_2026\_06\_25.csv | https://github.com/LiveBench/LiveBench |
| Python | 50% | 50% | livebench:v1:20260625:python:% | Suite release Jun 25, 2026 · run date unavailable | Suite release Jun 25, 2026 · run date unavailable | gemini-3.1-pro-preview-high | kimi-k2.7-code | https://livebench.ai/v1/table\_2026\_06\_25.csv | https://github.com/LiveBench/LiveBench |
| Typescript | 23.333% | 23.333% | livebench:v1:20260625:typescript:% | Suite release Jun 25, 2026 · run date unavailable | Suite release Jun 25, 2026 · run date unavailable | gemini-3.1-pro-preview-high | kimi-k2.7-code | https://livebench.ai/v1/table\_2026\_06\_25.csv | https://github.com/LiveBench/LiveBench |
| Amps Hard | 98% | 97% | livebench:v1:20260625:AMPS\_Hard:% | Suite release Jun 25, 2026 · run date unavailable | Suite release Jun 25, 2026 · run date unavailable | gemini-3.1-pro-preview-high | kimi-k2.7-code | https://livebench.ai/v1/table\_2026\_06\_25.csv | https://github.com/LiveBench/LiveBench |
| Connections | 100% | 98% | livebench:v1:20260625:connections:% | Suite release Jun 25, 2026 · run date unavailable | Suite release Jun 25, 2026 · run date unavailable | gemini-3.1-pro-preview-high | kimi-k2.7-code | https://livebench.ai/v1/table\_2026\_06\_25.csv | https://github.com/LiveBench/LiveBench |
| Consecutive Events | 85.239% | 48.277% | livebench:v1:20260625:consecutive\_events:% | Suite release Jun 25, 2026 · run date unavailable | Suite release Jun 25, 2026 · run date unavailable | gemini-3.1-pro-preview-high | kimi-k2.7-code | https://livebench.ai/v1/table\_2026\_06\_25.csv | https://github.com/LiveBench/LiveBench |
| Integrals With Game | 78% | 37% | livebench:v1:20260625:integrals\_with\_game:% | Suite release Jun 25, 2026 · run date unavailable | Suite release Jun 25, 2026 · run date unavailable | gemini-3.1-pro-preview-high | kimi-k2.7-code | https://livebench.ai/v1/table\_2026\_06\_25.csv | https://github.com/LiveBench/LiveBench |
| Logic With Navigation | 72% | 74% | livebench:v1:20260625:logic\_with\_navigation:% | Suite release Jun 25, 2026 · run date unavailable | Suite release Jun 25, 2026 · run date unavailable | gemini-3.1-pro-preview-high | kimi-k2.7-code | https://livebench.ai/v1/table\_2026\_06\_25.csv | https://github.com/LiveBench/LiveBench |
| Math Comp | 96.078% | 94.118% | livebench:v1:20260625:math\_comp:% | Suite release Jun 25, 2026 · run date unavailable | Suite release Jun 25, 2026 · run date unavailable | gemini-3.1-pro-preview-high | kimi-k2.7-code | https://livebench.ai/v1/table\_2026\_06\_25.csv | https://github.com/LiveBench/LiveBench |
| Olympiad | 92.102% | 90.299% | livebench:v1:20260625:olympiad:% | Suite release Jun 25, 2026 · run date unavailable | Suite release Jun 25, 2026 · run date unavailable | gemini-3.1-pro-preview-high | kimi-k2.7-code | https://livebench.ai/v1/table\_2026\_06\_25.csv | https://github.com/LiveBench/LiveBench |
| Paraphrase | 79.867% | 48.533% | livebench:v1:20260625:paraphrase:% | Suite release Jun 25, 2026 · run date unavailable | Suite release Jun 25, 2026 · run date unavailable | gemini-3.1-pro-preview-high | kimi-k2.7-code | https://livebench.ai/v1/table\_2026\_06\_25.csv | https://github.com/LiveBench/LiveBench |
| Plot Unscrambling | 74.128% | 55.717% | livebench:v1:20260625:plot\_unscrambling:% | Suite release Jun 25, 2026 · run date unavailable | Suite release Jun 25, 2026 · run date unavailable | gemini-3.1-pro-preview-high | kimi-k2.7-code | https://livebench.ai/v1/table\_2026\_06\_25.csv | https://github.com/LiveBench/LiveBench |
| Simplify | 71.05% | 49.75% | livebench:v1:20260625:simplify:% | Suite release Jun 25, 2026 · run date unavailable | Suite release Jun 25, 2026 · run date unavailable | gemini-3.1-pro-preview-high | kimi-k2.7-code | https://livebench.ai/v1/table\_2026\_06\_25.csv | https://github.com/LiveBench/LiveBench |
| Spatial | 98% | 92% | livebench:v1:20260625:spatial:% | Suite release Jun 25, 2026 · run date unavailable | Suite release Jun 25, 2026 · run date unavailable | gemini-3.1-pro-preview-high | kimi-k2.7-code | https://livebench.ai/v1/table\_2026\_06\_25.csv | https://github.com/LiveBench/LiveBench |
| Story Generation | 77.25% | 68.567% | livebench:v1:20260625:story\_generation:% | Suite release Jun 25, 2026 · run date unavailable | Suite release Jun 25, 2026 · run date unavailable | gemini-3.1-pro-preview-high | kimi-k2.7-code | https://livebench.ai/v1/table\_2026\_06\_25.csv | https://github.com/LiveBench/LiveBench |
| Summarize | 88.233% | 58.317% | livebench:v1:20260625:summarize:% | Suite release Jun 25, 2026 · run date unavailable | Suite release Jun 25, 2026 · run date unavailable | gemini-3.1-pro-preview-high | kimi-k2.7-code | https://livebench.ai/v1/table\_2026\_06\_25.csv | https://github.com/LiveBench/LiveBench |
| Tablejoin | 52.346% | 47.538% | livebench:v1:20260625:tablejoin:% | Suite release Jun 25, 2026 · run date unavailable | Suite release Jun 25, 2026 · run date unavailable | gemini-3.1-pro-preview-high | kimi-k2.7-code | https://livebench.ai/v1/table\_2026\_06\_25.csv | https://github.com/LiveBench/LiveBench |
| Tablereformat | 98.039% | 92.157% | livebench:v1:20260625:tablereformat:% | Suite release Jun 25, 2026 · run date unavailable | Suite release Jun 25, 2026 · run date unavailable | gemini-3.1-pro-preview-high | kimi-k2.7-code | https://livebench.ai/v1/table\_2026\_06\_25.csv | https://github.com/LiveBench/LiveBench |
| Theory Of Mind | 80.769% | 69.231% | livebench:v1:20260625:theory\_of\_mind:% | Suite release Jun 25, 2026 · run date unavailable | Suite release Jun 25, 2026 · run date unavailable | gemini-3.1-pro-preview-high | kimi-k2.7-code | https://livebench.ai/v1/table\_2026\_06\_25.csv | https://github.com/LiveBench/LiveBench |
| Typos | 82% | 80% | livebench:v1:20260625:typos:% | Suite release Jun 25, 2026 · run date unavailable | Suite release Jun 25, 2026 · run date unavailable | gemini-3.1-pro-preview-high | kimi-k2.7-code | https://livebench.ai/v1/table\_2026\_06\_25.csv | https://github.com/LiveBench/LiveBench |
| Zebra Puzzle | 85.25% | 96% | livebench:v1:20260625:zebra\_puzzle:% | Suite release Jun 25, 2026 · run date unavailable | Suite release Jun 25, 2026 · run date unavailable | gemini-3.1-pro-preview-high | kimi-k2.7-code | https://livebench.ai/v1/table\_2026\_06\_25.csv | https://github.com/LiveBench/LiveBench |

## Individual benchmark evidence

### Gemini 3.1 Pro Preview

No additional benchmark rows are available for this model ID.

### Kimi K2.7 Code

No additional benchmark rows are available for this model ID.

## Weave Router catalog

| Model | Exact public catalog status | Router model ID |
| --- | --- | --- |
| Gemini 3.1 Pro Preview | Unverified | Unavailable |
| Kimi K2.7 Code | Unverified | Unavailable |

Public catalog source: https://router.weaveos.com/v1/router/models?scope=catalog. Checked Nov 27, 2026. Catalog presence does not determine plan or account eligibility.

## Visual assets

- Summary image (1200x630 PNG): https://weaveos.com/models/compare/google--gemini-3.1-pro-preview-vs-moonshotai--kimi-k2.7-code/opengraph-image
- Google logo: https://weaveos.com/models/logos/google-color.svg
- Gemini 3.1 Pro Preview product mark: https://weaveos.com/models/logos/gemini.svg
- Moonshot AI logo: https://weaveos.com/models/logos/moonshot.svg
- Kimi K2.7 Code product mark: https://weaveos.com/models/logos/kimi.svg

## Model identities and sources

- Gemini 3.1 Pro Preview model ID: google/gemini-3.1-pro-preview.
- Catalog revision ID: google/gemini-3.1-pro-preview-20260219.
- Knowledge cutoff: Unavailable.
- Endpoint variant: Standard model record.
- Advertised API parameters: include\_reasoning, max\_tokens, reasoning, reasoning\_effort, response\_format, seed, stop, structured\_outputs, temperature, tool\_choice, tools, top\_p.
- batch endpoint google/gemini-3.1-pro-preview:batch. Input $1.00 and output $6.00 per million tokens. Source: https://openrouter.ai/api/v1/models
- Source: https://openrouter.ai/google/gemini-3.1-pro-preview

- Kimi K2.7 Code model ID: moonshotai/kimi-k2.7-code.
- Catalog revision ID: moonshotai/kimi-k2.7-code-20260612.
- Knowledge cutoff: Unavailable.
- Endpoint variant: Standard model record.
- Advertised API parameters: frequency\_penalty, include\_reasoning, logit\_bias, logprobs, max\_tokens, parallel\_tool\_calls, presence\_penalty, reasoning, repetition\_penalty, response\_format, seed, stop, structured\_outputs, temperature, tool\_choice, tools, top\_k, top\_logprobs, top\_p.
- Weight repository: moonshotai/Kimi-K2.7-Code. License tag: other. Revision: 74797c9c62378b951a1f6fcf5c4631024e9b8bef.
- Source: https://openrouter.ai/moonshotai/kimi-k2.7-code
- Source: https://huggingface.co/moonshotai/Kimi-K2.7-Code

- Gemini 3.1 Pro Preview profile: https://weaveos.com/models/google--gemini-3.1-pro-preview
- Kimi K2.7 Code profile: https://weaveos.com/models/moonshotai--kimi-k2.7-code
