Kimi K2.7 Code

Language Moonshot AI Partly verified Deprecated Released Jun 2026
  • In Input modalities: TextImageVideo Out Output modalities: Text
  • Reasoning
  • Tool use
  • Structured output
  • Open weights

Prices

11 offerings · prices as listed
Moonshot AI Platform (opens in a new tab) Official Global · USD kimi-k2.7-code
Conditions/ 1M tokensInputCache readOutput
Standard $0.95$0.19$4.00

Prices from Moonshot AI platform pricing (opens in a new tab) (checked Nov 8, 2026)

Moonshot AI Platform (opens in a new tab) Official China · CNY kimi-k2.7-code
Conditions/ 1M tokensInputCache readOutput
Standard ¥6.50¥1.30¥27.00

Prices from Kimi API 开放平台:模型推理价格 (opens in a new tab) (checked Nov 8, 2026)

Alibaba Cloud Model Studio (opens in a new tab) Official Available on this channel since Jun 25, 2026 Global · USD Max output: 16.38KInput modalities: Text, Image, VideoOutput modalities: TextTool use: YesStructured output: YesContext: 262.14KReasoning: Yes kimi-k2.7-code
Conditions/ 1M tokensInputCache readCache writeOutput
Standard $0.8939$0.1788—$3.7131
Explicit cache —$0.0894$1.1174—

Prices from Kimi K2.7 Code model (opens in a new tab) (checked Nov 9, 2026)

Alibaba Cloud Model Studio (opens in a new tab) Official Available on this channel since Jun 25, 2026 International · USD Max output: 16.38KInput modalities: Text, Image, VideoOutput modalities: TextTool use: YesStructured output: YesContext: 262.14KReasoning: Yes kimi-k2.7-code
Conditions/ 1M tokensInputCache readOutput
Standard $0.95$0.19$4.00

Prices from Alibaba Cloud Model Studio pricing (opens in a new tab) (checked Nov 9, 2026) · Kimi K2.7 Code model (opens in a new tab) (checked Nov 9, 2026)

Alibaba Cloud Model Studio (opens in a new tab) Official Available on this channel since Jun 15, 2026 China · CNY kimi-k2.7-code
Conditions/ 1M tokensInputOutput
Standard ¥6.50¥27.00

Prices from 阿里云百炼:模型价格 (opens in a new tab) (checked Nov 9, 2026)

Alibaba Cloud Model Studio (opens in a new tab) Official Available on this channel since Jun 15, 2026 China · CNY kimi/kimi-k2.7-code
Conditions/ 1M tokensInputOutput
Standard ¥6.50¥27.00

Prices from 阿里云百炼:模型价格 (opens in a new tab) (checked Nov 9, 2026)

Alibaba Cloud Model Studio (opens in a new tab) Official Available on this channel since Jun 25, 2026 Germany (global scope) · US (global scope) · Japan (global scope) · USD Input modalities: Text, Image, VideoOutput modalities: TextTool use: YesStructured output: YesContext: 262.14KMax output: 16.38KReasoning: Yes kimi-k2.7-code
Conditions/ 1M tokensInputOutput
Standard no longer listed since Oct 23, 2026 $0.894$3.713

Prices from Alibaba Cloud Model Studio pricing (opens in a new tab) (checked Nov 8, 2026)

Standard: the price a request with no conditions pays (the headline price elsewhere on the site).

Details

Reasoning can be off
—
Knowledge cutoff
Jan 2025
Licence
Modified MIT License
Family
kimi-k-code
Model ID

Not stated on Moonshot AI’s pages: max input, reasoning efforts, max thinking budget, built-in tools, aliases.

Run locally

Weights: moonshotai/Kimi-K2.7-Code
  • Parameters 1.03T
  • Active 32B · 384 experts, 8 per token
  • Native precision BF16
  • Layers 61
  • KV cache per token 69 KB
  • Config positions 256K (config.json max_position_embeddings)
  • API context 256K (maker’s API)
My hardware GeForce RTX 4090 24 GB · 1008 GB/s · 64 GB DDR5 dual channel · 89.6 GB/s
On your hardware · GeForce RTX 4090
Doesn’t fit IQ4_XS (automatic) 8K context
WeightsKV cacheOverheadUsable
Needs
≈ 534.0 GB (weights 508.1 + KV cache 0.5 + overhead 25.4)
Usable
21.6 GB (90% of its memory)
Try
it’s too large for this hardware; see the smallest that runs it below
PrecisionWeightsNeeds at 8KOn your hardwareLongest context
BF16 (native)maker’s file554.3 GB≈ 582.6Doesn’t fit—
Q8_01016.1 GB≈ 1067.5Doesn’t fit—
FP8956.4 GB≈ 1004.7Doesn’t fit—
Q6_K785.4 GB≈ 825.2Doesn’t fit—
Q5_K_M680.2 GB≈ 714.8Doesn’t fit—
Q5_0657.5 GB≈ 690.9Doesn’t fit—
Q4_K_M581.0 GB≈ 610.6Doesn’t fit—
Q4_0538.0 GB≈ 565.4Doesn’t fit—
IQ4_XS508.1 GB≈ 534.0Doesn’t fit—
Q3_K_Mquality drops467.4 GB≈ 491.3Doesn’t fit—
IQ3_XXSquality drops365.8 GB≈ 384.6Doesn’t fit—
Q2_Kquality drops358.6 GB≈ 377.1Doesn’t fit—
IQ2_XXSquality drops246.3 GB≈ 259.1Doesn’t fit—

Click a row to choose a precision. “Maker’s file” sizes are the maker’s own files; others are parameters × bits per weight.

Compared with other hardware

Each at the highest precision it runs. Click one for details.

Smallest that runs it (Q4_K_M, 8K): no single listed machine; about 9 × 80 GB GPUs.

Run commands

The maker publishes no files at this precision. Choose its native precision or one of its own builds, or quantise it yourself with llama.cpp.

Memory to fine-tune
Full≈ 15305.6 GBDoesn’t fit your hardware
LoRA≈ 1917.4 GBDoesn’t fit your hardware
QLoRA≈ 542.7 GBDoesn’t fit your hardware

Batch 1, 2,048-token sequences, gradient checkpointing; LoRA and QLoRA train rank-16 adapters on the attention projections.

Estimates; facts from the maker’s Hugging Face repositories, as of 2026-11-11. How it’s estimated

Cited scores

From third-party leaderboards, not measured by us
  • Epoch Capabilities Index 151.2

    #55 of 118 listed models · CI 149.1–153.3

  • Epoch AI · Chess Puzzles 14%

    #72 of 85 listed models · ±3.49

  • Epoch AI · FrontierMath Tier 4 v2 12.2%

    #53 of 65 listed models · ±5.17

  • Epoch AI · FrontierMath Tiers 1–3 54%

    #49 of 84 listed models · ±2.96

  • Epoch AI, 'Capabilities & benchmarking'. Published online at epoch.ai. Retrieved from 'https://epoch.ai/benchmarks'. Licensed CC BY 4.0. · License · as of Oct 28 – Nov 5, 2026
  • LiveBench (White et al.), release 2026-06-25, livebench.ai, licensed CC BY-SA 4.0. This board, adapted from it, is shared under CC BY-SA 4.0. · License · as of Jun 25, 2026
  • LMArena (Arena), leaderboard-dataset on Hugging Face, licensed CC BY 4.0 · License · as of Nov 8, 2026
  • changes we made

Provider-reported scores

Published by Moonshot AI, under the conditions it states
BenchmarkSettingScore
MCP-Atlasofficial config, 100 tool-call budget, 32k max tokens per step, avg of 3 runs, thinking76%
  1. Available → Deprecated
  2. Now priced on Alibaba Cloud Model Studio, China Input ¥6.50 · Output ¥27.00
  3. Now priced on Alibaba Cloud Model Studio, China Input ¥6.50 · Output ¥27.00
  4. Now priced on Cloudflare Workers AI Input $0.95 · Cache read $0.19 · Output $4.00
  5. Output price raised 0% $3.713 → $3.7131 / 1M tokens · Alibaba Cloud Model Studio
  6. Input price cut 0% $0.894 → $0.8939 / 1M tokens · Alibaba Cloud Model Studio
  7. 1 new price on Alibaba Cloud Model Studio, International Cache read $0.19

Sources

Moonshot AI’s official policies: data use, privacy, terms →

Some values on this page are still waiting to be checked against official pages: a filled dot is verified, a hollow one is not yet (with or without a source on file). How we verify data

Moonshot AI · China · moonshot.ai

Snapshots, the same family and other models from this provider