Skip to main content
AI Choice Engine

Model comparison

Gemini 3.8 Flash vs Kimi K2.7 Code

Google against Moonshot AI, compared on context, price, and verified benchmark results.

Catalog record checked September 26, 2026Individual provider fields may changeEvidence confidence: High — see receipts below

Google

Gemini 3.8 Flash

Balanced

vs

Moonshot AI

Kimi K2.7 Code

Balanced · Open weights

AI model capability comparison
SpecificationGemini 3.8 FlashKimi K2.7 Code
ProviderGoogleMoonshot AI
TierBalancedBalanced
Context windowWinner: 1.05M262K
Max output66KNot verifiedUnverified
Input / 1M tokensWinner: $0.75$0.95
Output / 1M tokensWinner: $3.75$4
WeightsClosedOpen
ParametersNot disclosedUnverified1T total / 32B active (MoE)
Reasoning levelslow, medium, highNot verifiedUnverified
Modalitiestext, image, video, audio, pdftext, image, video
LicenseNot disclosedUnverifiedModified MIT
API model idgemini-3.8-flashkimi-k2.7-code
ReleasedSeptember 2, 2026June 12, 2026
Artificial Analysis Intelligence Index [high] (2026-09-26)40.9Not verifiedUnverified
Artificial Analysis Intelligence Index (2026-09-26)Not verifiedUnverified25.8
Terminal-Bench 2.1 (2026-09-02)89.4Not verifiedUnverified
Humanity's Last Exam (2026-09-02)54.9Not verifiedUnverified

Prices are USD per million tokens at standard rates, excluding batch and caching discounts. Bold indicates the better figure where one is objectively better. Values we could not confirm from the provider are shown as “Not verified” rather than estimated.

Benchmark receipts

Where each score comes from, and how far it can be compared across models.

  • 2026-09-26
    Artificial Analysis

    Composite index blending reasoning, knowledge, and coding evals into one 0–100 score.

    Comparable with caveatOnly same-version scores are comparable. v4.3.2 was rebaselined (the top score fell from 66 on v4.1.1 to ~58), so v4.1.1 figures must not be compared with v4.3.2 figures — check measuredAt.

  • 2026-09-02
    Google official blog (vendor, HLE-Verified full set)

    Frontier-knowledge ceiling: extremely hard multi-domain questions written to be near-impossible without deep expertise.

    Comparable with caveatSubset/tool configurations (text-only vs with-tools) differ between vendors and materially change scores; must match configuration to compare.

  • 2026-09-02
    Google launch eval table (transcribed by Vellum)

    Agentic terminal work: multi-step tasks executed in a sandboxed shell environment.

    Comparable with caveatNot comparable with Terminal-Bench 3.0 or 4.0 (different task sets) or v1; harness configuration (container, time limits) also shifts results.

Pricing tiers

Gemini 3.8 Flash: Intro $0.75/$3.75 per MTok through 2026-12-31, rising to $1.50/$7.50 from 2027-01-01; batch/Flex half price. Free tier available. Companion Gemini 3.8 Flash Cyber (defensive security) is restricted to the Fairwind Program with no public pricing.

Kimi K2.7 Code: $0.95/$4.00 per MTok — same rates as K2.6; cached input $0.19. Coding-focused build of the K2.6 recipe (1T total / 32B active).

BalancedRecord checked September 26, 2026

Gemini 3.8 Flash

Gemini 3.8 Flash is Google's most capable workhorse Flash — within a point of the top of DeepSWE 1.1 at a fraction of frontier cost per task.

Best for

  • Agentic coding at scale
  • Mid-difficulty engineering
  • Multimodal pipelines

Watch out

Intro pricing doubles on 2027-01-01, and Google says it can consume more tokens than 3.7 Flash — 3.7 Flash stays available for efficiency-first workloads.

BalancedOpen weightsRecord checked September 26, 2026

Kimi K2.7 Code

Kimi K2.7 Code is Moonshot's coding-specialised build of K2.6 — same 1T MoE and 256K context, tuned for agentic coding workflows.

Best for

  • Agentic coding on open weights
  • Kimi ecosystem teams
  • Repo-scale refactors at K2.6 rates

Watch out

256K context matches K2.6, not K3's 1M; appears on the DeepSWE and CursorBench boards at mid-table scores.

Benchmark

DeepSWE 1.1 in context

Only Gemini 3.8 Flash has a published DeepSWE 1.1 result. It is shown against the wider field, with cost per completed task alongside the score.

Local leader

GPT-6 Astra [xhigh]

74%

Rows shown

28

Best published Pass@1 per model (Datacurve's default view)

Snapshot date

2026-09-26

Mirrored from deepswe.datacurve.ai

DeepSWE 1.1 pass@10%16%32%48%64%80%$0$4.50$9.00$13.50$18.00$22.50$27.00Avg cost per taskGPT-6 Astra [xhigh]: 74% · $4.43 · 30k tokens · 29 stepsGemini 3.8 Flash [high]: 74% · $2.36 · 143k tokens · 166 stepsClaude Opus 5 [max]: 74% · $11.84 · 118k tokens · 99 stepsGPT-5.6 Sol [max]: 73% · $8.39 · 60k tokens · 61 stepsClaude Fable 5 [xhigh]: 70% · $13.41 · 80k tokens · 68 stepsGPT-5.6 Terra [max]: 70% · $4.95 · 72k tokens · 76 stepsGLM 5.3 [max]: 69% · $3.99 · 80k tokens · 124 stepsKimi K3 [max]: 69% · $4.65 · 82k tokens · 98 stepsGrok 4.6 [medium]: 68% · $3.45 · 50k tokens · 70 stepsGPT-5.6 Luna [max]: 67% · $3.03 · 73k tokens · 102 stepsGPT-5.5 [xhigh]: 67% · $7.23 · 46k tokens · 82 stepsGemini 3.7 Flash [medium]: 66% · $2.03 · 94k tokens · 117 stepsGLM 5.3 Flash [max]: 63% · $0.48 · 73k tokens · 123 stepsDeepSeek V4-Pro [max]: 63% · $0.24 · 106k tokens · 155 stepsClaude Opus 4.8 [max]: 59% · $13.22 · 135k tokens · 120 stepsQwen3.8-Max [xhigh]: 58% · $3.73 · 95k tokens · 111 stepsMuse Spark 1.2 [xhigh]: 55% · $3.70 · 99k tokens · 101 stepsClaude Sonnet 5 [max]: 54% · $26.40 · 214k tokens · 268 stepsGrok 4.5 [high]: 54% · $2.42 · 36k tokens · 61 stepsDeepSeek V4-Flash [max]: 53% · $0.10 · 108k tokens · 153 stepsMuse Spark 1.1 [xhigh]: 53% · $2.36 · 74k tokens · 96 stepsGPT-5.4 [xhigh]: 52% · $5.65 · 71k tokens · 70 stepsGemini 3.6 Flash [high]: 47% · $4.42 · 96k tokens · 117 stepsGLM 5.2 [max]: 44% · $3.92 · 78k tokens · 129 stepsGemini 3.5 Flash [high]: 36% · $3.45 · 76k tokens · 105 stepsKimi K2.7 Code: 31% · $2.82 · 59k tokens · 149 stepsClaude Sonnet 4.6 [high]: 30% · $5.52 · 76k tokens · 134 stepsGemini 3.1 Pro [high]: 12% · $2.14 · 28k tokens · 76 steps

Better is toward the top-right (higher pass rate, lower cost). X-axis is reversed to match DeepSWE’s public chart. v1.1 uses average cost / tokens / steps; v1 uses published medians.

DeepSWE 1.1 leaderboard with pass rate, cost, tokens, and steps per task
#ModelPass@1Cost / taskTokens / taskSteps / task
1GPT-6 Astra [xhigh]74%$4.4330k29
2Gemini 3.8 Flash [high]74%$2.36143k166
3Claude Opus 5 [max]74%$11.84118k99
4GPT-5.6 Sol [max]73%$8.3960k61
5Claude Fable 5 [xhigh]70%$13.4180k68
6GPT-5.6 Terra [max]70%$4.9572k76
7GLM 5.3 [max]69%$3.9980k124
8Kimi K3 [max]69%$4.6582k98
9Grok 4.6 [medium]68%$3.4550k70
10GPT-5.6 Luna [max]67%$3.0373k102
11GPT-5.5 [xhigh]67%$7.2346k82
12Gemini 3.7 Flash [medium]66%$2.0394k117
13GLM 5.3 Flash [max]63%$0.4873k123
14DeepSeek V4-Pro [max]63%$0.24106k155
15Claude Opus 4.8 [max]59%$13.22135k120
16Qwen3.8-Max [xhigh]58%$3.7395k111
17Muse Spark 1.2 [xhigh]55%$3.7099k101
18Claude Sonnet 5 [max]54%$26.40214k268
19Grok 4.5 [high]54%$2.4236k61
20DeepSeek V4-Flash [max]53%$0.10108k153
21Muse Spark 1.1 [xhigh]53%$2.3674k96
22GPT-5.4 [xhigh]52%$5.6571k70
23Gemini 3.6 Flash [high]47%$4.4296k117
24GLM 5.2 [max]44%$3.9278k129
25Gemini 3.5 Flash [high]36%$3.4576k105
26Kimi K2.7 Code31%$2.8259k149
27Claude Sonnet 4.6 [high]30%$5.5276k134
28Gemini 3.1 Pro [high]12%$2.1428k76

“Best per model” shows each model’s highest published Pass@1, as Datacurve’s own board does; switch to all effort levels to see every configuration. Small gaps may not be statistically meaningful — confirm on deepswe.datacurve.ai.

When the cheaper one wins

Gemini 3.8 Flash is cheaper on output at $3.75 per million tokens against $4 for Kimi K2.7 Code — about 1.1×. Use the cheaper tier for classification, extraction, summarisation, and any task where the expensive model’s extra score does not change the accepted output. The expensive one only pays if your hardest task actually fails on the cheap tier. On DeepSWE 1.1, Gemini 3.8 Flash is 73.8% Pass@1 at $2.36/task versus Kimi K2.7 Code at 30.5% / $2.82/task. These are standard-tier API rates, excluding batch and cache discounts.

Run the model picker

Evidence confidence: High

How strong and complete the evidence behind this comparison is — not a prediction of which model is better.

  • Pricing verified on both sides — Input and output rates are verified for both models.
  • 2/5 core specs verified on both sides — Not published for at least one side: max output, parameter count, reasoning levels.
  • 1 shared named benchmark with differing scores — Measured on: Artificial Analysis Intelligence Index.
  • Verified within the last 90 days — Newest catalog check was 2 days ago.
  • Both models carry source citations — Each side has at least two catalog sources on record.

Source receipts

Each catalog figure was checked against the provider or an independent second source on the date shown.

Common questions

Gemini 3.8 Flash vs Kimi K2.7 Code

Answered from the verified figures on this page rather than general guidance.

Is Gemini 3.8 Flash or Kimi K2.7 Code cheaper for input?
Gemini 3.8 Flash is cheaper at $0.75 per million input tokens, against $0.95 for Kimi K2.7 Code — roughly 1.3× the price. Output tokens usually dominate a real bill, so weigh the output rate more heavily than the input rate. These are base rates; Gemini 3.8 Flash has tiered pricing: Intro $0.75/$3.75 per MTok through 2026-12-31, rising to $1.50/$7.50 from 2027-01-01; batch/Flex half price. Free tier available. Companion Gemini 3.8 Flash Cyber (defensive security) is restricted to the Fairwind Program with no public pricing. Kimi K2.7 Code has tiered pricing: $0.95/$4.00 per MTok — same rates as K2.6; cached input $0.19. Coding-focused build of the K2.6 recipe (1T total / 32B active).
Is Gemini 3.8 Flash or Kimi K2.7 Code cheaper for output?
Gemini 3.8 Flash is cheaper at $3.75 per million output tokens, against $4 for Kimi K2.7 Code — roughly 1.1× the price. Output tokens usually dominate a real bill, so weigh the output rate more heavily than the input rate. These are base rates; Gemini 3.8 Flash has tiered pricing: Intro $0.75/$3.75 per MTok through 2026-12-31, rising to $1.50/$7.50 from 2027-01-01; batch/Flex half price. Free tier available. Companion Gemini 3.8 Flash Cyber (defensive security) is restricted to the Fairwind Program with no public pricing. Kimi K2.7 Code has tiered pricing: $0.95/$4.00 per MTok — same rates as K2.6; cached input $0.19. Coding-focused build of the K2.6 recipe (1T total / 32B active).
Which has the larger context window, Gemini 3.8 Flash or Kimi K2.7 Code?
Gemini 3.8 Flash accepts 1.05M tokens against 262K for Kimi K2.7 Code. This only matters if you routinely send very long documents or large codebases.
Should I use Gemini 3.8 Flash or Kimi K2.7 Code?
Both sit in the balanced tier, so the choice usually comes down to price and context rather than capability. Gemini 3.8 Flash suits agentic coding at scale; Kimi K2.7 Code suits agentic coding on open weights.
Can I self-host Gemini 3.8 Flash or Kimi K2.7 Code?
Kimi K2.7 Code publishes open weights, but self-hosting and third-party provider access depend on the licence, hardware, serving support, and availability. Gemini 3.8 Flash is a closed model whose supported access paths are controlled by its provider.

Next step

Choosing between them

The verified figures that separate this pair, computed from the catalog rather than restated boilerplate.

  • Input price: Gemini 3.8 Flash costs $0.75 per 1M tokens versus $0.95 for Kimi K2.7 Code — a 1.3x difference at the headline tier.
  • Context: Gemini 3.8 Flash takes 1.05M against 262K for Kimi K2.7 Code — only decisive if your prompts approach the smaller window.
  • Measured capability: Gemini 3.8 Flash leads Artificial Analysis Intelligence Index 40.9 to 25.8 (measured 2026-09-26).
  • Deployment: Kimi K2.7 Code publishes weights you can self-host; the other is API-only.

Choosing a harness rather than a model — Cursor, Copilot, Claude Code, Windsurf, or Lovable? Compare agentic harnesses · Latest releases.