---
title: "Moonshot AI's Kimi K2 Tops Open-Source Rankings With 1-Trillion-Parameter Coding Agent"
subtitle: "Moonshot AI's 1-trillion-parameter open-weight model tops the LMSYS leaderboard for open-source models, rivaling Claude and GPT on coding and agentic tasks"
url: "https://alphasignal.ai/news/moonshot-ai-s-kimi-k2-tops-open-source-rankings-with-1-trillion-parameter"
author: "AlphaSignal Newsroom"
author_url: "https://alphasignal.ai/editorial-team"
company: "Kimi.ai"
company_url: "https://alphasignal.ai/company/kimi_moonshot"
published: "2026-07-10T05:57:09.000Z"
updated: "2026-07-10T06:04:23.534Z"
type: "Model"
topics:
  - "Llms"
  - "Open Source"
subtopics:
  - "Mixture Of Experts"
  - "Long Context"
upvotes: 4005
source_url: "https://huggingface.co/moonshotai/Kimi-K2-Instruct"
comments: 0
truncated: true
---

# Moonshot AI's Kimi K2 Tops Open-Source Rankings With 1-Trillion-Parameter Coding Agent

> Moonshot AI's 1-trillion-parameter open-weight model tops the LMSYS leaderboard for open-source models, rivaling Claude and GPT on coding and agentic tasks

[Kimi K2](https://huggingface.co/moonshotai/Kimi-K2-Instruct) is Moonshot AI's open-weight, 1-trillion-parameter Mixture-of-Experts model built specifically for agentic tasks. It has racked up over 312,000 downloads on Hugging Face and nearly 4,000 likes since launch, and it currently sits at the top of the LMSYS Arena leaderboard among open-source models. The model is available now under a Modified MIT license, meaning you can download the weights, fine-tune them, and deploy them commercially.

## A trillion parameters, 32 billion active

Kimi K2 is a state-of-the-art Mixture-of-Experts (MoE) language model with 32 billion activated parameters and 1 trillion total parameters. The key insight behind MoE is that you don't pay the cost of all 1T parameters on every token. Rather than activating all one trillion parameters for every token, K2 uses sparse activation: only 32 billion parameters engage for any given token. This makes inference dramatically cheaper than a dense 1T model while retaining the knowledge capacity of one.

The architecture is closely related to DeepSeek-V3, but Moonshot made deliberate changes. The model has 384 experts with 8 selected per token, 61 layers, 64 attention heads, and a 128K context window. Compared to DeepSeek-V3's 256 experts, K2's 50% increase in expert count is a direct result of Moonshot's sparsity scaling law experiments, which showed that more experts at the same compute budget consistently lowers validation loss.

## The real innovation: MuonClip

The headline technical contribution is not the architecture, it is the optimizer. Training a 1T-parameter MoE model is notoriously unstable. Attention logits (the raw scores that determine how much each token attends to others) tend to explode during training, causing loss spikes that can derail an entire run and waste millions in GPU hours.

The team presents MuonClip, a novel optimizer that integrates the token-efficient Muon algorithm with a stability-enhancing mechanism called QK-Clip. Here is what each piece does:

* **Muon**: A recently proposed optimizer that is more token-efficient than AdamW. It produces weight updates where all singular values are equal (full effective rank), which leads to better learning per token but also makes attention logit explosion more likely at scale.
* **QK-Clip**: A per-head weight-clipping rule applied to the query and key projection matrices. During each training step, if the maximum attention logit for a given head exceeds a threshold (set to 100), the corresponding query and key weights are rescaled down. Crucially, this happens after the gradient update, so it does not interfere with the forward or backward pass.

_Preview only. Full text requires an AlphaSignal Pro account._

## Sources

- [Kimi K2 Instruct - Hugging Face Model Card](https://huggingface.co/moonshotai/Kimi-K2-Instruct)
- [Kimi K2: Open Agentic Intelligence (arXiv technical report)](https://arxiv.org/html/2507.20534v1)
- [Moonshot AI - Wikipedia](https://en.wikipedia.org/wiki/Moonshot_AI)
- [Kimi K2.6 Explained: Open-Source Model Tying GPT-5.5 on Coding](https://miraflow.ai/blog/kimi-k2-6-explained-moonshot-ai-open-source-model-ties-gpt-5-5-coding)
- [Moonshot Kimi Model Lineage 2026](https://presenc.ai/research/moonshot-kimi-model-lineage-2026)
