Kimi-K2.7-Code Tops Hugging Face With 696K Downloads
Editor's note: This article summarizes a Hugging Face model listing and model card attributed to Moonshot AI for a release identified as
Researched and drafted with AI assistance, then screened by automated editorial checks before publishing. How we work.

Editor's note: This article summarizes a Hugging Face model listing and model card attributed to Moonshot AI for a release identified as moonshotai/Kimi-K2.7-Code. All version numbers, download counts, benchmark scores, architecture specifications, and competitor comparisons below are as presented in that listing/model card and have not been independently verified by AIBites. Treat figures — including download totals and any comparisons to third-party proprietary models — as vendor-reported claims, not confirmed facts. Where a claim could not be corroborated against a primary source, we say so explicitly.
Moonshot AI's moonshotai/Kimi-K2.7-Code is, according to its Hugging Face listing, trending strongly on the platform, with the listing reporting on the order of 696,000 downloads (as displayed at time of writing) as developers test the Chinese AI lab's latest coding-focused agentic model. Per the model card, the release is built on the previous coding checkpoint and is positioned to improve real-world software-engineering benchmark scores while reducing thinking-token usage by roughly 30% — a combination Moonshot frames as important for long-horizon agentic coding workflows in production. AIBites has not been able to independently confirm the download total or the benchmark claims below against a second source.
What Kimi-K2.7-Code Is Said to Be, and Where It Fits in the Kimi Family
Moonshot AI's publicly documented Kimi K2 lineage includes moonshotai/Kimi-K2-Base and moonshotai/Kimi-K2-Instruct — text-generation models the lab describes as carrying roughly 1 trillion total parameters — followed by instruction-tuned checkpoints such as moonshotai/Kimi-K2-Instruct-0905 and the extended-reasoning variant moonshotai/Kimi-K2-Thinking. These are the checkpoints we can point to with confidence.
The listing under review also references additional point releases whose existence and figures we could not independently verify at time of writing: moonshotai/Kimi-K2.5 (the listing reports on the order of 973,000 downloads) described as emphasising visual agentic intelligence, moonshotai/Kimi-K2.6 (roughly 907,000 downloads reported) described as broadening general coding competence, and now moonshotai/Kimi-K2.7-Code, which the model card frames as doubling down on the agentic dimension — long-horizon tasks that require sustained, multi-step reasoning inside complex software repositories. Readers should treat the K2.5/K2.6/K2.7 naming and the associated download counts as vendor-reported until confirmed on the official Moonshot channels.
The material under review further references a model it calls Kimi K3, described as a 2.8-trillion-parameter flagship, said to feature components named "Kimi Delta Attention" and "Stable LatentMoE." AIBites could not verify the existence of K3, its parameter count, or these components, and the reported figure of operating "at 2.5× the scaling efficiency of the K2 series" is a Moonshot-attributed claim we have not been able to corroborate. We present it here only to characterise how the K2.7-Code listing positions itself: as a specialist coding workhorse distinct from any larger general-purpose model.
Architecture: Roughly One Trillion Parameters, 32 Billion Activated (as documented)
Despite the ".7" version bump suggesting only an incremental change, the model card describes K2.7-Code as carrying a heavyweight architecture. At its core is a Mixture-of-Experts (MoE) design consistent with the documented Kimi K2 family, which gives the model its distinctive cost-vs-capability profile. The specifications in the table below are transcribed from the model card and have not been independently benchmarked by AIBites.
| Architectural Component | Specification (per model card) |
|---|---|
| Total Parameters | ~1 trillion (~1.1T in serialised weights) |
| Activated Parameters per Token | 32 billion |
| Number of Layers | 61 (including 1 dense layer) |
| Attention Mechanism | MLA (Multi-head Latent Attention) |
| Attention Hidden Dimension | 7,168 |
| Attention Heads | 64 |
| Number of Experts | 384 |
| Experts Selected per Token | 8 (plus 1 shared expert) |
| MoE Hidden Dimension per Expert | 2,048 |
| Activation Function | SwiGLU |
| Vocabulary Size | 160,000 tokens |
| Context Length | 256,000 tokens |
| Vision Encoder | MoonViT (~400M parameters, per model card) |
The MoE design means that while the documented full parameter count reaches roughly one trillion, only 32 billion parameters are said to be active during any given forward pass — the same fundamental efficiency principle used across the documented K2 series. In principle this lets an MoE model deliver quality beyond what a comparably sized dense network could achieve. The 256K-token context window described in the card is long enough to hold substantial codebases in memory, which is relevant to the repository-scale tasks the model card explicitly targets.
Multi-head Latent Attention (MLA)
The attention mechanism deserves a brief note. Unlike standard Multi-Head Attention (MHA) or Grouped-Query Attention (GQA), MLA compresses the key-value cache into a low-rank latent representation before expanding it back for each attention head. This significantly reduces KV-cache memory footprint during inference — a real advantage when serving a model with a 256K-token context window at scale, because KV-cache size grows linearly with both sequence length and batch size. MLA was first introduced in DeepSeek-V2 and has since been adopted across several Chinese MoE architectures, including the documented Kimi K2 family.
The model card states that multimodality is supported via the MoonViT vision encoder, making K2.7-Code an image-text-to-text model — potentially useful for reading UI screenshots, architecture diagrams, or visual test outputs inside an agentic coding loop. The card also references native INT4 quantisation (the same approach described for moonshotai/Kimi-K2-Thinking) underpinning the quantised model variants in the Hugging Face model tree, which would give self-hosting teams flexibility in trading off VRAM against inference speed. AIBites has not verified the quantisation or variant counts.
The Headline Improvements: Benchmarks and Token Efficiency (vendor-reported)
Moonshot AI's model card positions K2.7-Code against its direct predecessor and against two proprietary coding agents that the card refers to as "GPT-5.5" (evaluated via Codex CLI in xhigh mode) and "Claude Opus 4.8" (evaluated via Claude Code CLI in xhigh mode). AIBites cannot confirm that products under those exact names and configurations exist publicly, nor that the reported scores for them are accurate. These competitor names, configurations, and every score attributed to them below are reproduced solely as they appear on the model card and should be read as unverified vendor claims — not as confirmed comparisons. Per the card, all Kimi models were evaluated with thinking mode enabled through the Kimi Code CLI, at temperature 1.0, top-p 0.95, and a 262,144-token context.
The six benchmarks used are described by the card as spanning different dimensions of software-engineering competence — from multi-language production coding to binary reverse-engineering to ML research automation. Brief definitions appear beneath the table.
| Benchmark | Kimi K2.6 | Kimi K2.7 Code | Δ vs K2.6 | "GPT-5.5"† | "Claude Opus 4.8"† |
|---|---|---|---|---|---|
| Kimi Code Bench v2 | 50.9 | 62.0 | +11.1 | 69.0 | 67.4 |
| Program Bench | 48.3 | 53.6 | +5.3 | 69.1 | 63.8 |
| MLS-Bench Lite | 26.7 | 35.1 | +8.4 | 35.5 | 42.8 |
| Kimi Claw 24/7 Bench | 42.9 | 46.9 | +4.0 | 52.8 | 50.4 |
| MCP Atlas | 69.4 | 76.0 | +6.6 | 79.4 | 81.3 |
| MCP Mark Verified | 72.8 | 81.1 | +8.3 | 92.9 | 76.4 |
† Competitor names, evaluation modes, and all scores in these two columns are reproduced from Moonshot AI's model card. AIBites has not verified that these models or scores are real; do not treat them as confirmed benchmark results.

As reported, the gains over K2.6 are consistent across all six benchmarks. Here is a closer look at each, with the caveat that all figures are vendor-reported:
Kimi Code Bench v2 (+11.1 points, reported)
The card describes this in-house benchmark as covering more than ten mainstream programming languages and production tech stacks — including backend services, cloud infrastructure, security tooling, frontend development, and ML/data engineering pipelines. The reported 11.1-point jump from 50.9 to 62.0 is the single largest absolute improvement in the table. If accurate, it would suggest that post-training on agentic coding trajectories produced broad gains across language and domain diversity rather than narrow optimisation for one task type.
MLS-Bench Lite (+8.4 points, reported)
The card describes MLS-Bench Lite as testing ML research engineering tasks spanning LLM pre-training and post-training, robotics, world models, and AI for Science, with each agent given five hours of autonomous exploration before a final submission is scored. K2.7-Code is reported to rise from 26.7 to 35.1. The card places this near the figure it attributes to "GPT-5.5" (35.5); because we cannot verify that competitor figure, we present the K2.7-Code delta over K2.6 as the more meaningful, if still unverified, data point.
MCP Mark Verified (+8.3 points, reported)
The card describes this benchmark as testing real-world tool-use through the Model Context Protocol, with a reported K2.7-Code score of 81.1 versus K2.6's 72.8. The card also lists figures for the two proprietary agents (76.4 and 92.9), but since AIBites cannot confirm those models or scores, we do not present any head-to-head win over a competitor as established. The verifiable-within-the-card claim is the +8.3 improvement over the model's own predecessor.
Kimi Claw 24/7 Bench (+4.0 points, reported)
The card describes this benchmark as simulating a continuous, multi-day software development scenario — a "coworking" environment where the agent must handle interruptions, context switches, and compounding task state across an extended horizon. The reported +4.0 gain (42.9 → 46.9) is the smallest improvement in the table, which — if accurate — would suggest that sustained autonomy over very long horizons remains an open challenge for the field.
Program Bench (+5.3 points, reported)
The card describes Program Bench as the most technically demanding benchmark in the set: agents must reconstruct a program's observable behaviour from only a compiled binary and its official documentation — no source code, no decompilation, no internet access — across 200 tasks ranging from small CLI utilities to large systems such as FFmpeg and SQLite, with each submission evaluated against more than 248,000 fuzz-generated behavioural tests. K2.7-Code is reported to score 53.6 versus K2.6's 48.3, a 5.3-point improvement. We could not independently verify the benchmark or the scores.
Token Efficiency: The Quiet Win (reported)
Benchmark scores tell only part of the story. The model card highlights a roughly 30% reduction in thinking-token usage compared with the previous coding checkpoint. For agentic tasks that can run for hours — or simulate multi-day coworking scenarios as in the Kimi Claw 24/7 Bench — token economy has a direct impact on cost and latency. If the reduction holds in practice, less internal deliberation to reach a correct answer would mean faster wall-clock responses and cheaper API bills. This matters most for teams integrating the model into CI/CD pipelines or autonomous code-review loops where thousands of completions per day are the norm. As with the other figures here, the 30% claim is Moonshot's own and has not been independently reproduced by AIBites.
Thinking Mode, MCP Tooling, and the Agentic Design Philosophy
One of the design choices the model card emphasises is that thinking mode is permanently enabled and cannot be disabled. According to the card, both the thinking and preserve_thinking flags are hardcoded to True, and there is no "instant mode." The card frames this as deliberate: for the long-horizon software engineering tasks the model targets, the chain-of-thought reasoning trace is treated as integral to output reliability and correctness rather than optional.
The preserve_thinking flag is described as significant for multi-turn interactions. In a conventional chat loop, reasoning content is typically discarded between turns to reduce memory overhead. The card states that K2.7-Code retains it, passing reasoning_content through assistant messages across the full conversation, so the model can build on its own earlier analysis — remembering which files it already inspected and which hypotheses it ruled out — rather than re-deriving context at every step. This is described as the same interleaved-thinking approach that characterises moonshotai/Kimi-K2-Thinking.
The model's reasoning trace is described as accessible via response.choices[0].message.reasoning in the OpenAI-compatible API. One caveat noted in the model card: some backends, including certain vLLM versions, may expect the field name reasoning rather than reasoning_content in the raw response object, so teams self-hosting should verify field mapping against their specific inference-engine version.
MCP Tool Integration
Per the card, K2.7-Code ships with native support for the Model Context Protocol (MCP), enabling it to interact with a curated set of real-world services out of the box:

- GitHub — repository browsing, pull request creation, issue management, and code review
- Filesystem — reading, writing, and navigating local or remote file trees
- Postgres — direct database querying, schema inspection, and data validation
- Playwright — browser automation for frontend testing, screenshot capture, and web scraping
- Notion — reading and updating documentation workspaces and project trackers
If accurate, this integration set positions K2.7-Code as an end-to-end software engineering agent rather than a code-completion tool. In a single agentic loop, the card's description implies the model could read a GitHub issue, query a database to understand data shapes, write and commit a fix, execute browser tests against the frontend, and document the change in Notion. The interleaved thinking and multi-step tool-call design — described as shared with moonshotai/Kimi-K2-Thinking — is what the card credits for keeping such compound workflows coherent across many tool invocations.
Moonshot recommends pairing the model with the Kimi Code CLI agent framework, referenced at kimi.com/code. The card states all official benchmark scores were produced in that environment, which means results may differ when using alternative agent harnesses.
Deployment: How to Run K2.7-Code Yourself (per the model card)
The card states the model is released under a modified MIT License covering both weights and code, which would make it broadly permissive for commercial use. Prospective users should consult the full licence text on the Hugging Face repository for the precise terms, as "modified MIT" may carry additional restrictions compared with a standard MIT grant. The model card lists three supported inference backends:
- vLLM — a widely used open-source LLM serving framework, with strong multi-GPU tensor-parallelism support
- SGLang — optimised for structured generation, multi-step reasoning chains, and constrained decoding
- KTransformers — described as Moonshot's own inference library, tuned for the K2 MoE architecture and quantisation pipeline
The minimum required Transformers library version listed is >=4.57.1, <5.0.0. The SGLang deployment example in the model card invokes Docker with --gpus all and --shm-size 32g:
docker run --gpus all \
--shm-size 32g \
--network host \
-v /path/to/model:/model \
lmsysorg/sglang:latest \
python -m sglang.launch_server \
--model-path /model \
--tp 8 \
--trust-remote-code
The --shm-size 32g flag and --tp 8 tensor-parallelism setting signal that multi-GPU infrastructure — eight GPUs in the reference configuration — with at least 32 GB of shared memory is expected. With roughly 1.1 trillion total parameters stored across BF16, F32, and I32 tensors (as the card describes the weight layout), this is emphatically not a laptop model. The quantised variants (using the native INT4 approach the card also attributes to moonshotai/Kimi-K2-Thinking) are described as letting teams find the right point on the accuracy-versus-VRAM trade-off curve, potentially making single-node or consumer-grade multi-GPU deployment feasible for acceptable quality tiers.
For teams not yet ready to self-host, the card indicates the official Moonshot API exposes the model through an OpenAI-compatible interface, which would make migration from existing GPT- or Claude-compatible integrations straightforward. A basic multi-turn chat completion call with reasoning access is illustrated below:
import openai
client = openai.OpenAI(
base_url="https://api.moonshot.cn/v1",
api_key="YOUR_API_KEY"
)
response = client.chat.completions.create(
model="kimi-k2.7-code", # verify exact slug against Moonshot API docs
messages=[
{
"role": "system",
"content": "You are Kimi, an AI assistant created by Moonshot AI."
},
{
"role": "user",
"content": [
{
"type": "text",
"text": "Refactor this function for performance and add type hints."
}
]
}
],
max_tokens=8192
)
# Access the chain-of-thought reasoning trace
print(response.choices[0].message.reasoning)
# Access the final code output
print(response.choices[0].message.content)
Note: The model slug"kimi-k2.7-code"is illustrative; confirm the exact API identifier and base URL in the official Moonshot documentation before deploying to production. Additionally, some self-hosted backends may surface the reasoning trace under the field namereasoning_contentrather thanreasoning— check your inference engine's response schema.
Competitive Context: Where K2.7-Code Would Stand in the Open-Weight Market
The open-weight coding model landscape has become intensely competitive, with strong offerings from Chinese and Western labs alike. The Hugging Face download figures the listing displays across the referenced K2 checkpoints — K2.5 (~973K), K2.6 (~907K), and the documented moonshotai/Kimi-K2-Instruct family including moonshotai/Kimi-K2-Instruct-0905 — would, if accurate, indicate substantial user bases, with K2.7-Code's reported ~696K downloads suggesting strong early momentum for a newly listed checkpoint. AIBites has not independently confirmed any of these download totals; they are reported here as displayed on the listing at time of writing.
Because the "GPT-5.5" and "Claude Opus 4.8" comparisons in Moonshot's own materials could not be verified, we deliberately avoid drawing any confirmed head-to-head conclusion against those products. The verifiable-within-the-card story is that K2.7-Code is reported to improve on its own predecessor across all six listed benchmarks — most notably on the tool-use (MCP) evaluations — and to cut thinking-token overhead by about 30%. For teams that need a self-hostable, permissively licensed alternative to subscription-based coding agents, that profile — if it holds up in independent testing — would make it a candidate worth evaluating rather than a proven winner over any specific proprietary model.
It is also worth noting the broader context. As other reporting on large open MoE releases has described, several Chinese AI labs have moved quickly to put frontier-class MoE models under permissive licences, turning what was once an exclusively proprietary capability tier into a more open ecosystem. moonshotai/Kimi-K2.7-Code, alongside the documented moonshotai/Kimi-K2 family — including moonshotai/Kimi-K2-Instruct and moonshotai/Kimi-K2-Thinking — represents Moonshot's contribution to that shift, at least as far as the currently confirmable checkpoints go.
Key Takeaways
- moonshotai/Kimi-K2.7-Code is presented on its Hugging Face listing as a coding-specialist agentic model with ~1T total parameters and 32B activated per token via a 384-expert MoE architecture with MLA attention. These specs are vendor-reported and unverified by AIBites.
- The model card claims a ~30% reduction in thinking-token usage over its predecessor, which would lower inference cost on long-horizon tasks; this figure has not been independently reproduced.
- Reported benchmark gains over K2.6 are consistent across all six card evaluations: +11.1 on Kimi Code Bench v2, +8.4 on MLS-Bench Lite, +8.3 on MCP Mark Verified, +6.6 on MCP Atlas, +5.3 on Program Bench, and +4.0 on Kimi Claw 24/7 Bench — all as reported on the model card.
- The card lists comparisons to products it calls "GPT-5.5" and "Claude Opus 4.8," but AIBites could not verify those models or their scores; no head-to-head win over a named competitor should be treated as confirmed.
- Per the card, thinking mode is permanently on, with preservation of
reasoning_contentacross multi-turn conversations — a deliberate design choice for agentic coherence. - The card describes native MCP support covering GitHub, Filesystem, Postgres, Playwright, and Notion, enabling full software-engineering workflows inside a single agent loop.
- The listing states a modified MIT License (verify full terms on Hugging Face), with quantised variants and support for vLLM, SGLang, and KTransformers inference backends.
- The listing reports on the order of 696,000 downloads at time of writing; this figure is displayed by the source and has not been independently confirmed.
What Comes Next for the Kimi Codebase
The documented trajectory of the K2 series — multiple named public releases in succession, each tightening a specific capability cluster — suggests Moonshot AI is running a fast, targeted iteration loop rather than waiting for large quarterly drops. The moonshotai/Kimi-K2-Instruct and moonshotai/Kimi-K2-Instruct-0905 checkpoints show the lab is willing to ship dated snapshots alongside version-bumped releases, giving the community access to intermediate training states for research and comparison. Materials associated with the listing also reference a next-generation model the lab reportedly calls Kimi K3, described with a 2.8-trillion-parameter architecture and novel components ("Kimi Delta Attention" replacing MLA at that scale, and "Stable LatentMoE" for expert routing); AIBites cannot verify that K3 exists, its parameter count, or those components, and we flag the associated download figure as unconfirmed. If the pattern the listing implies holds, a future "K3-Code" specialist could eventually succeed K2.7-Code much as K2.7-Code is presented as succeeding K2.6. For now, on the strength of its own model card, K2.7-Code is positioned as the most capable open-weight coding agent Moonshot has listed — and its claimed combination of near-frontier benchmark scores, a permissive licence, token-efficiency gains, and deep MCP integration gives developers a reason to evaluate it, provided those claims are validated in independent testing.
Topics
Sources
Comments(0)
No comments yet. Be the first to share your thoughts.
Join the conversation
Your email stays private and comments are reviewed before appearing.


