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|
| 5 |
+
base_model:
|
| 6 |
+
- moonshotai/Kimi-K2-Instruct-BF16
|
| 7 |
+
license: other
|
| 8 |
+
license_name: modified-mit
|
| 9 |
+
library_name: transformers
|
| 10 |
+
---
|
| 11 |
+
> [!NOTE]
|
| 12 |
+
> Includes our **chat template fixes**! <br> For `llama.cpp`, use `--jinja`
|
| 13 |
+
>
|
| 14 |
+
|
| 15 |
+
<div>
|
| 16 |
+
<p style="margin-top: 0;margin-bottom: 0;">
|
| 17 |
+
<em><a href="https://docs.unsloth.ai/basics/unsloth-dynamic-v2.0-gguf">Unsloth Dynamic 2.0</a> achieves superior accuracy & outperforms other leading quants.</em>
|
| 18 |
+
</p>
|
| 19 |
+
<div style="display: flex; gap: 5px; align-items: center; ">
|
| 20 |
+
<a href="https://github.com/unslothai/unsloth/">
|
| 21 |
+
<img src="https://github.com/unslothai/unsloth/raw/main/images/unsloth%20new%20logo.png" width="133">
|
| 22 |
+
</a>
|
| 23 |
+
<a href="https://discord.gg/unsloth">
|
| 24 |
+
<img src="https://github.com/unslothai/unsloth/raw/main/images/Discord%20button.png" width="173">
|
| 25 |
+
</a>
|
| 26 |
+
<a href="https://docs.unsloth.ai/">
|
| 27 |
+
<img src="https://raw.githubusercontent.com/unslothai/unsloth/refs/heads/main/images/documentation%20green%20button.png" width="143">
|
| 28 |
+
</a>
|
| 29 |
+
</div>
|
| 30 |
+
</div>
|
| 31 |
+
|
| 32 |
+
> [!NOTE]
|
| 33 |
+
> Includes our **chat template fixes**! <br> For `llama.cpp`, use `--jinja`
|
| 34 |
+
>
|
| 35 |
+
|
| 36 |
+
<div>
|
| 37 |
+
<p style="margin-top: 0;margin-bottom: 0;">
|
| 38 |
+
<em><a href="https://docs.unsloth.ai/basics/unsloth-dynamic-v2.0-gguf">Unsloth Dynamic 2.0</a> achieves superior accuracy & outperforms other leading quants.</em>
|
| 39 |
+
</p>
|
| 40 |
+
<div style="display: flex; gap: 5px; align-items: center; ">
|
| 41 |
+
<a href="https://github.com/unslothai/unsloth/">
|
| 42 |
+
<img src="https://github.com/unslothai/unsloth/raw/main/images/unsloth%20new%20logo.png" width="133">
|
| 43 |
+
</a>
|
| 44 |
+
<a href="https://discord.gg/unsloth">
|
| 45 |
+
<img src="https://github.com/unslothai/unsloth/raw/main/images/Discord%20button.png" width="173">
|
| 46 |
+
</a>
|
| 47 |
+
<a href="https://docs.unsloth.ai/">
|
| 48 |
+
<img src="https://raw.githubusercontent.com/unslothai/unsloth/refs/heads/main/images/documentation%20green%20button.png" width="143">
|
| 49 |
+
</a>
|
| 50 |
+
</div>
|
| 51 |
+
</div>
|
| 52 |
+
|
| 53 |
+
<div align="center">
|
| 54 |
+
<picture>
|
| 55 |
+
<img src="figures/kimi-logo.png" width="30%" alt="Kimi K2: Open Agentic Intellignece">
|
| 56 |
+
</picture>
|
| 57 |
+
</div>
|
| 58 |
+
|
| 59 |
+
<hr>
|
| 60 |
+
|
| 61 |
+
<div align="center" style="line-height:1">
|
| 62 |
+
<a href="https://www.kimi.com" target="_blank"><img alt="Chat" src="https://img.shields.io/badge/🤖%20Chat-Kimi%20K2-ff6b6b?color=1783ff&logoColor=white"/></a>
|
| 63 |
+
<a href="https://www.moonshot.ai" target="_blank"><img alt="Homepage" src="https://img.shields.io/badge/Homepage-Moonshot%20AI-white?logo=Kimi&logoColor=white"/></a>
|
| 64 |
+
</div>
|
| 65 |
+
|
| 66 |
+
<div align="center" style="line-height: 1;">
|
| 67 |
+
<a href="https://huggingface.co/moonshotai" target="_blank"><img alt="Hugging Face" src="https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-Moonshot%20AI-ffc107?color=ffc107&logoColor=white"/></a>
|
| 68 |
+
<a href="https://twitter.com/kimi_moonshot" target="_blank"><img alt="Twitter Follow" src="https://img.shields.io/badge/Twitter-Kimi.ai-white?logo=x&logoColor=white"/></a>
|
| 69 |
+
<a href="https://discord.gg/TYU2fdJykW" target="_blank"><img alt="Discord" src="https://img.shields.io/badge/Discord-Kimi.ai-white?logo=discord&logoColor=white"/></a>
|
| 70 |
+
</div>
|
| 71 |
+
|
| 72 |
+
<div align="center" style="line-height: 1;">
|
| 73 |
+
<a href="https://github.com/moonshotai/Kimi-K2/blob/main/LICENSE"><img alt="License" src="https://img.shields.io/badge/License-Modified_MIT-f5de53?&color=f5de53"/></a>
|
| 74 |
+
</div>
|
| 75 |
+
|
| 76 |
+
<p align="center">
|
| 77 |
+
<b>📰 <a href="https://moonshotai.github.io/Kimi-K2/">Tech Blog</a></b> | <b>📄 Paper Link (comming soon)</b>
|
| 78 |
+
</p>
|
| 79 |
+
|
| 80 |
+
## 1. Model Introduction
|
| 81 |
+
|
| 82 |
+
Kimi K2 is a state-of-the-art mixture-of-experts (MoE) language model with 32 billion activated parameters and 1 trillion total parameters. Trained with the Muon optimizer, Kimi K2 achieves exceptional performance across frontier knowledge, reasoning, and coding tasks while being meticulously optimized for agentic capabilities.
|
| 83 |
+
|
| 84 |
+
### Key Features
|
| 85 |
+
- Large-Scale Training: Pre-trained a 1T parameter MoE model on 15.5T tokens with zero training instability.
|
| 86 |
+
- MuonClip Optimizer: We apply the Muon optimizer to an unprecedented scale, and develop novel optimization techniques to resolve instabilities while scaling up.
|
| 87 |
+
- Agentic Intelligence: Specifically designed for tool use, reasoning, and autonomous problem-solving.
|
| 88 |
+
|
| 89 |
+
### Model Variants
|
| 90 |
+
- **Kimi-K2-Base**: The foundation model, a strong start for researchers and builders who want full control for fine-tuning and custom solutions.
|
| 91 |
+
- **Kimi-K2-Instruct**: The post-trained model best for drop-in, general-purpose chat and agentic experiences. It is a reflex-grade model without long thinking.
|
| 92 |
+
|
| 93 |
+
<div align="center">
|
| 94 |
+
<picture>
|
| 95 |
+
<img src="figures/banner.png" width="80%" alt="Evaluation Results">
|
| 96 |
+
</picture>
|
| 97 |
+
</div>
|
| 98 |
+
|
| 99 |
+
## 2. Model Summary
|
| 100 |
+
|
| 101 |
+
<div align="center">
|
| 102 |
+
|
| 103 |
+
|
| 104 |
+
| | |
|
| 105 |
+
|:---:|:---:|
|
| 106 |
+
| **Architecture** | Mixture-of-Experts (MoE) |
|
| 107 |
+
| **Total Parameters** | 1T |
|
| 108 |
+
| **Activated Parameters** | 32B |
|
| 109 |
+
| **Number of Layers** (Dense layer included) | 61 |
|
| 110 |
+
| **Number of Dense Layers** | 1 |
|
| 111 |
+
| **Attention Hidden Dimension** | 7168 |
|
| 112 |
+
| **MoE Hidden Dimension** (per Expert) | 2048 |
|
| 113 |
+
| **Number of Attention Heads** | 64 |
|
| 114 |
+
| **Number of Experts** | 384 |
|
| 115 |
+
| **Selected Experts per Token** | 8 |
|
| 116 |
+
| **Number of Shared Experts** | 1 |
|
| 117 |
+
| **Vocabulary Size** | 160K |
|
| 118 |
+
| **Context Length** | 128K |
|
| 119 |
+
| **Attention Mechanism** | MLA |
|
| 120 |
+
| **Activation Function** | SwiGLU |
|
| 121 |
+
</div>
|
| 122 |
+
|
| 123 |
+
## 3. Evaluation Results
|
| 124 |
+
|
| 125 |
+
#### Instruction model evaluation results
|
| 126 |
+
|
| 127 |
+
<div align="center">
|
| 128 |
+
<table>
|
| 129 |
+
<thead>
|
| 130 |
+
<tr>
|
| 131 |
+
<th align="center">Benchmark</th>
|
| 132 |
+
<th align="center">Metric</th>
|
| 133 |
+
<th align="center"><sup>Kimi K2 Instruct</sup></th>
|
| 134 |
+
<th align="center"><sup>DeepSeek-V3-0324</sup></th>
|
| 135 |
+
<th align="center"><sup>Qwen3-235B-A22B <br><sup>(non-thinking)</sup></sup></th>
|
| 136 |
+
<th align="center"><sup>Claude Sonnet 4 <br><sup>(w/o extended thinking)</sup></sup></th>
|
| 137 |
+
<th align="center"><sup>Claude Opus 4 <br><sup>(w/o extended thinking)</sup></sup></th>
|
| 138 |
+
<th align="center"><sup>GPT-4.1</sup></th>
|
| 139 |
+
<th align="center"><sup>Gemini 2.5 Flash <br> Preview (05-20)</sup></th>
|
| 140 |
+
</tr>
|
| 141 |
+
</thead>
|
| 142 |
+
<tbody>
|
| 143 |
+
<tr>
|
| 144 |
+
<td align="center" colspan=9><strong>Coding Tasks</strong></td>
|
| 145 |
+
</tr>
|
| 146 |
+
<tr>
|
| 147 |
+
<td align="center">LiveCodeBench v6<br><sup>(Aug 24 - May 25)</sup></td>
|
| 148 |
+
<td align="center">Pass@1</td>
|
| 149 |
+
<td align="center"><strong>53.7</strong></td>
|
| 150 |
+
<td align="center">46.9</td>
|
| 151 |
+
<td align="center">37.0</td>
|
| 152 |
+
<td align="center">48.5</td>
|
| 153 |
+
<td align="center">47.4</td>
|
| 154 |
+
<td align="center">44.7</td>
|
| 155 |
+
<td align="center">44.7</td>
|
| 156 |
+
</tr>
|
| 157 |
+
<tr>
|
| 158 |
+
<td align="center">OJBench</td>
|
| 159 |
+
<td align="center">Pass@1</td>
|
| 160 |
+
<td align="center"><strong>27.1</strong></td>
|
| 161 |
+
<td align="center">24.0</td>
|
| 162 |
+
<td align="center">11.3</td>
|
| 163 |
+
<td align="center">15.3</td>
|
| 164 |
+
<td align="center">19.6</td>
|
| 165 |
+
<td align="center">19.5</td>
|
| 166 |
+
<td align="center">19.5</td>
|
| 167 |
+
</tr>
|
| 168 |
+
|
| 169 |
+
<tr>
|
| 170 |
+
<td align="center">MultiPL-E</td>
|
| 171 |
+
<td align="center">Pass@1</td>
|
| 172 |
+
<td align="center"><ins><strong>85.7</strong></ins></td>
|
| 173 |
+
<td align="center">83.1</td>
|
| 174 |
+
<td align="center">78.2</td>
|
| 175 |
+
<td align="center">88.6</td>
|
| 176 |
+
<td align="center"><strong>89.6</strong></td>
|
| 177 |
+
<td align="center">86.7</td>
|
| 178 |
+
<td align="center">85.6</td>
|
| 179 |
+
</tr>
|
| 180 |
+
|
| 181 |
+
<tr>
|
| 182 |
+
<td align="center">SWE-bench Verified <br/><sup>(Agentless Coding)</sup></td>
|
| 183 |
+
<td align="center">Single Patch w/o Test (Acc)</td>
|
| 184 |
+
<td align="center"><ins><strong>51.8</strong></ins></td>
|
| 185 |
+
<td align="center">36.6</td>
|
| 186 |
+
<td align="center">39.4</td>
|
| 187 |
+
<td align="center">50.2</td>
|
| 188 |
+
<td align="center"><strong>53.0</strong></td>
|
| 189 |
+
<td align="center">40.8</td>
|
| 190 |
+
<td align="center">32.6</td>
|
| 191 |
+
</tr>
|
| 192 |
+
|
| 193 |
+
<tr>
|
| 194 |
+
<td align="center" rowspan="2">SWE-bench Verified <br/> <sup>(Agentic Coding)</sup></td>
|
| 195 |
+
<td align="center">Single Attempt (Acc)</td>
|
| 196 |
+
<td align="center"><ins><strong>65.8</strong></ins></td>
|
| 197 |
+
<td align="center">38.8</td>
|
| 198 |
+
<td align="center">34.4</td>
|
| 199 |
+
<td align="center"><strong>72.7</strong><sup>*</sup></td>
|
| 200 |
+
<td align="center">72.5<sup>*</sup></td>
|
| 201 |
+
<td align="center">54.6</td>
|
| 202 |
+
<td align="center">—</td>
|
| 203 |
+
</tr>
|
| 204 |
+
|
| 205 |
+
<tr>
|
| 206 |
+
<!--<td align="center">(Agentic Coding)</td>-->
|
| 207 |
+
<td align="center">Multiple Attempts (Acc)</td>
|
| 208 |
+
<td align="center"><ins><strong>71.6</strong></ins></td>
|
| 209 |
+
<td align="center">—</td>
|
| 210 |
+
<td align="center">—</td>
|
| 211 |
+
<td align="center"><strong>80.2</strong></td>
|
| 212 |
+
<td align="center">79.4<sup>*</sup></td>
|
| 213 |
+
<td align="center">—</td>
|
| 214 |
+
<td align="center">—</td>
|
| 215 |
+
</tr>
|
| 216 |
+
|
| 217 |
+
<tr>
|
| 218 |
+
<td align="center">SWE-bench Multilingual<br /> <sup>(Agentic Coding)</sup></td>
|
| 219 |
+
<td align="center">Single Attempt (Acc)</td>
|
| 220 |
+
<td align="center"><ins><strong>47.3</strong> </ins></td>
|
| 221 |
+
<td align="center">25.8</td>
|
| 222 |
+
<td align="center">20.9</td>
|
| 223 |
+
<td align="center"><strong>51.0</strong></td>
|
| 224 |
+
<td align="center">—</td>
|
| 225 |
+
<td align="center">31.5</td>
|
| 226 |
+
<td align="center">—</td>
|
| 227 |
+
</tr>
|
| 228 |
+
|
| 229 |
+
<tr>
|
| 230 |
+
<td align="center" rowspan="2">TerminalBench</td>
|
| 231 |
+
<td align="center">Inhouse Framework (Acc)</td>
|
| 232 |
+
<td align="center"><ins><strong>30.0</strong></ins></td>
|
| 233 |
+
<td align="center">—</td>
|
| 234 |
+
<td align="center">—</td>
|
| 235 |
+
<td align="center">35.5</td>
|
| 236 |
+
<td align="center"><strong>43.2</strong></td>
|
| 237 |
+
<td align="center">8.3</td>
|
| 238 |
+
<td align="center">—</td>
|
| 239 |
+
</tr>
|
| 240 |
+
|
| 241 |
+
<tr>
|
| 242 |
+
<!--<td align="center">TerminalBench</td>-->
|
| 243 |
+
<td align="center">Terminus (Acc)</td>
|
| 244 |
+
<td align="center"><ins><strong>25.0</strong> </ins></td>
|
| 245 |
+
<td align="center">16.3</td>
|
| 246 |
+
<td align="center">6.6</td>
|
| 247 |
+
<td align="center">—</td>
|
| 248 |
+
<td align="center">—</td>
|
| 249 |
+
<td align="center"><strong>30.3</strong></td>
|
| 250 |
+
<td align="center">16.8</td>
|
| 251 |
+
</tr>
|
| 252 |
+
<tr>
|
| 253 |
+
<td align="center">Aider-Polyglot</td>
|
| 254 |
+
<td align="center">Acc</td>
|
| 255 |
+
<td align="center">60.0</td>
|
| 256 |
+
<td align="center">55.1</td>
|
| 257 |
+
<td align="center"><ins><strong>61.8</strong></ins></td>
|
| 258 |
+
<td align="center">56.4</td>
|
| 259 |
+
<td align="center"><strong>70.7</strong></td>
|
| 260 |
+
<td align="center">52.4</td>
|
| 261 |
+
<td align="center">44.0</td>
|
| 262 |
+
</tr>
|
| 263 |
+
<tr>
|
| 264 |
+
<td align="center" colspan=9><strong>Tool Use Tasks</strong></td>
|
| 265 |
+
</tr>
|
| 266 |
+
<tr>
|
| 267 |
+
<td align="center">Tau2 retail</td>
|
| 268 |
+
<td align="center">Avg@4</td>
|
| 269 |
+
<td align="center"><ins><strong>70.6</strong></ins></td>
|
| 270 |
+
<td align="center">69.1</td>
|
| 271 |
+
<td align="center">57.0</td>
|
| 272 |
+
<td align="center">75.0</td>
|
| 273 |
+
<td align="center"><strong>81.8</strong></td>
|
| 274 |
+
<td align="center">74.8</td>
|
| 275 |
+
<td align="center">64.3</td>
|
| 276 |
+
</tr>
|
| 277 |
+
<tr>
|
| 278 |
+
<td align="center">Tau2 airline</td>
|
| 279 |
+
<td align="center">Avg@4</td>
|
| 280 |
+
<td align="center"><ins><strong>56.5</strong></ins></td>
|
| 281 |
+
<td align="center">39.0</td>
|
| 282 |
+
<td align="center">26.5</td>
|
| 283 |
+
<td align="center">55.5</td>
|
| 284 |
+
<td align="center"><strong>60.0</strong></td>
|
| 285 |
+
<td align="center">54.5</td>
|
| 286 |
+
<td align="center">42.5</td>
|
| 287 |
+
</tr>
|
| 288 |
+
<tr>
|
| 289 |
+
<td align="center">Tau2 telecom</td>
|
| 290 |
+
<td align="center">Avg@4</td>
|
| 291 |
+
<td align="center"><strong>65.8</strong></td>
|
| 292 |
+
<td align="center">32.5</td>
|
| 293 |
+
<td align="center">22.1</td>
|
| 294 |
+
<td align="center">45.2</td>
|
| 295 |
+
<td align="center">57.0</td>
|
| 296 |
+
<td align="center">38.6</td>
|
| 297 |
+
<td align="center">16.9</td>
|
| 298 |
+
</tr>
|
| 299 |
+
<tr>
|
| 300 |
+
<td align="center">AceBench</td>
|
| 301 |
+
<td align="center">Acc</td>
|
| 302 |
+
<td align="center"><ins><strong>76.5</strong></ins></td>
|
| 303 |
+
<td align="center">72.7</td>
|
| 304 |
+
<td align="center">70.5</td>
|
| 305 |
+
<td align="center">76.2</td>
|
| 306 |
+
<td align="center">75.6</td>
|
| 307 |
+
<td align="center"><strong>80.1</strong></td>
|
| 308 |
+
<td align="center">74.5</td>
|
| 309 |
+
</tr>
|
| 310 |
+
<tr>
|
| 311 |
+
<td align="center" colspan=9><strong>Math & STEM Tasks</strong></td>
|
| 312 |
+
</tr>
|
| 313 |
+
<tr>
|
| 314 |
+
<td align="center">AIME 2024</td>
|
| 315 |
+
<td align="center">Avg@64</td>
|
| 316 |
+
<td align="center"><strong>69.6</strong></td>
|
| 317 |
+
<td align="center">59.4<sup>*</sup></td>
|
| 318 |
+
<td align="center">40.1<sup>*</sup></td>
|
| 319 |
+
<td align="center">43.4</td>
|
| 320 |
+
<td align="center">48.2</td>
|
| 321 |
+
<td align="center">46.5</td>
|
| 322 |
+
<td align="center">61.3</td>
|
| 323 |
+
</tr>
|
| 324 |
+
<tr>
|
| 325 |
+
<td align="center">AIME 2025</td>
|
| 326 |
+
<td align="center">Avg@64</td>
|
| 327 |
+
<td align="center"><strong>49.5</strong></td>
|
| 328 |
+
<td align="center">46.7</td>
|
| 329 |
+
<td align="center">24.7<sup>*</sup></td>
|
| 330 |
+
<td align="center">33.1<sup>*</sup></td>
|
| 331 |
+
<td align="center">33.9<sup>*</sup></td>
|
| 332 |
+
<td align="center">37.0</td>
|
| 333 |
+
<td align="center">46.6</td>
|
| 334 |
+
</tr>
|
| 335 |
+
<tr>
|
| 336 |
+
<td align="center">MATH-500</td>
|
| 337 |
+
<td align="center">Acc</td>
|
| 338 |
+
<td align="center"><strong>97.4</strong></td>
|
| 339 |
+
<td align="center">94.0<sup>*</sup></td>
|
| 340 |
+
<td align="center">91.2<sup>*</sup></td>
|
| 341 |
+
<td align="center">94.0</td>
|
| 342 |
+
<td align="center">94.4</td>
|
| 343 |
+
<td align="center">92.4</td>
|
| 344 |
+
<td align="center">95.4</td>
|
| 345 |
+
</tr>
|
| 346 |
+
<tr>
|
| 347 |
+
<td align="center">HMMT 2025</td>
|
| 348 |
+
<td align="center">Avg@32</td>
|
| 349 |
+
<td align="center"><strong>38.8</strong></td>
|
| 350 |
+
<td align="center">27.5</td>
|
| 351 |
+
<td align="center">11.9</td>
|
| 352 |
+
<td align="center">15.9</td>
|
| 353 |
+
<td align="center">15.9</td>
|
| 354 |
+
<td align="center">19.4</td>
|
| 355 |
+
<td align="center">34.7</td>
|
| 356 |
+
</tr>
|
| 357 |
+
<tr>
|
| 358 |
+
<td align="center">CNMO 2024</td>
|
| 359 |
+
<td align="center">Avg@16</td>
|
| 360 |
+
<td align="center">74.3</td>
|
| 361 |
+
<td align="center"><ins><strong>74.7</strong></ins></td>
|
| 362 |
+
<td align="center">48.6</td>
|
| 363 |
+
<td align="center">60.4</td>
|
| 364 |
+
<td align="center">57.6</td>
|
| 365 |
+
<td align="center">56.6</td>
|
| 366 |
+
<td align="center"><strong>75.0</strong></td>
|
| 367 |
+
</tr>
|
| 368 |
+
<tr>
|
| 369 |
+
<td align="center">PolyMath-en</td>
|
| 370 |
+
<td align="center">Avg@4</td>
|
| 371 |
+
<td align="center"><strong>65.1</strong></td>
|
| 372 |
+
<td align="center">59.5</td>
|
| 373 |
+
<td align="center">51.9</td>
|
| 374 |
+
<td align="center">52.8</td>
|
| 375 |
+
<td align="center">49.8</td>
|
| 376 |
+
<td align="center">54.0</td>
|
| 377 |
+
<td align="center">49.9</td>
|
| 378 |
+
</tr>
|
| 379 |
+
|
| 380 |
+
<tr>
|
| 381 |
+
<td align="center">ZebraLogic</td>
|
| 382 |
+
<td align="center">Acc</td>
|
| 383 |
+
<td align="center"><strong>89.0</strong></td>
|
| 384 |
+
<td align="center">84.0</td>
|
| 385 |
+
<td align="center">37.7<sup>*</sup></td>
|
| 386 |
+
<td align="center">73.7</td>
|
| 387 |
+
<td align="center">59.3</td>
|
| 388 |
+
<td align="center">58.5</td>
|
| 389 |
+
<td align="center">57.9</td>
|
| 390 |
+
</tr>
|
| 391 |
+
|
| 392 |
+
<tr>
|
| 393 |
+
<td align="center">AutoLogi</td>
|
| 394 |
+
<td align="center">Acc</td>
|
| 395 |
+
<td align="center"><ins><strong>89.5</strong></ins></td>
|
| 396 |
+
<td align="center">88.9</td>
|
| 397 |
+
<td align="center">83.3</td>
|
| 398 |
+
<td align="center"><strong>89.8</strong></td>
|
| 399 |
+
<td align="center">86.1</td>
|
| 400 |
+
<td align="center">88.2</td>
|
| 401 |
+
<td align="center">84.1</td>
|
| 402 |
+
</tr>
|
| 403 |
+
|
| 404 |
+
<tr>
|
| 405 |
+
<td align="center">GPQA-Diamond</td>
|
| 406 |
+
<td align="center">Avg@8</td>
|
| 407 |
+
<td align="center"><strong>75.1</strong></td>
|
| 408 |
+
<td align="center">68.4<sup>*</sup></td>
|
| 409 |
+
<td align="center">62.9<sup>*</sup></td>
|
| 410 |
+
<td align="center">70.0<sup>*</sup></td>
|
| 411 |
+
<td align="center">74.9<sup>*</sup></td>
|
| 412 |
+
<td align="center">66.3</td>
|
| 413 |
+
<td align="center">68.2</td>
|
| 414 |
+
</tr>
|
| 415 |
+
|
| 416 |
+
<tr>
|
| 417 |
+
<td align="center">SuperGPQA</td>
|
| 418 |
+
<td align="center">Acc</td>
|
| 419 |
+
<td align="center"><strong>57.2</strong></td>
|
| 420 |
+
<td align="center">53.7</td>
|
| 421 |
+
<td align="center">50.2</td>
|
| 422 |
+
<td align="center">55.7</td>
|
| 423 |
+
<td align="center">56.5</td>
|
| 424 |
+
<td align="center">50.8</td>
|
| 425 |
+
<td align="center">49.6</td>
|
| 426 |
+
</tr>
|
| 427 |
+
|
| 428 |
+
<tr>
|
| 429 |
+
<td align="center">Humanity's Last Exam<br><sup>(Text Only)</sup></td>
|
| 430 |
+
<td align="center">-</td>
|
| 431 |
+
<td align="center">4.7</td>
|
| 432 |
+
<td align="center">5.2</td>
|
| 433 |
+
<td align="center"><ins><strong>5.7</strong></ins></td>
|
| 434 |
+
<td align="center">5.8</td>
|
| 435 |
+
<td align="center"><strong>7.1</strong></td>
|
| 436 |
+
<td align="center">3.7</td>
|
| 437 |
+
<td align="center">5.6</td>
|
| 438 |
+
</tr>
|
| 439 |
+
|
| 440 |
+
<tr>
|
| 441 |
+
<td align="center" colspan=9><strong>General Tasks</strong></td>
|
| 442 |
+
</tr>
|
| 443 |
+
|
| 444 |
+
<tr>
|
| 445 |
+
<td align="center">MMLU</td>
|
| 446 |
+
<td align="center">EM</td>
|
| 447 |
+
<td align="center"><ins><strong>89.5</strong></ins></td>
|
| 448 |
+
<td align="center">89.4</td>
|
| 449 |
+
<td align="center">87.0</td>
|
| 450 |
+
<td align="center">91.5</td>
|
| 451 |
+
<td align="center"><strong>92.9</strong></td>
|
| 452 |
+
<td align="center">90.4</td>
|
| 453 |
+
<td align="center">90.1</td>
|
| 454 |
+
</tr>
|
| 455 |
+
|
| 456 |
+
<tr>
|
| 457 |
+
<td align="center">MMLU-Redux</td>
|
| 458 |
+
<td align="center">EM</td>
|
| 459 |
+
<td align="center"><ins><strong>92.7</strong></ins></td>
|
| 460 |
+
<td align="center">90.5</td>
|
| 461 |
+
<td align="center">89.2</td>
|
| 462 |
+
<td align="center">93.6</td>
|
| 463 |
+
<td align="center"><strong>94.2</strong></td>
|
| 464 |
+
<td align="center">92.4</td>
|
| 465 |
+
<td align="center">90.6</td>
|
| 466 |
+
</tr>
|
| 467 |
+
|
| 468 |
+
<tr>
|
| 469 |
+
<td align="center">MMLU-Pro</td>
|
| 470 |
+
<td align="center">EM</td>
|
| 471 |
+
<td align="center">81.1</td>
|
| 472 |
+
<td align="center"><ins><strong>81.2</strong></ins><sup>*</sup></td>
|
| 473 |
+
<td align="center">77.3</td>
|
| 474 |
+
<td align="center">83.7</td>
|
| 475 |
+
<td align="center"><strong>86.6</strong></td>
|
| 476 |
+
<td align="center">81.8</td>
|
| 477 |
+
<td align="center">79.4</td>
|
| 478 |
+
</tr>
|
| 479 |
+
|
| 480 |
+
<tr>
|
| 481 |
+
<td align="center">IFEval</td>
|
| 482 |
+
<td align="center">Prompt Strict</td>
|
| 483 |
+
<td align="center"><strong>89.8</strong></td>
|
| 484 |
+
<td align="center">81.1</td>
|
| 485 |
+
<td align="center">83.2<sup>*</sup></td>
|
| 486 |
+
<td align="center">87.6</td>
|
| 487 |
+
<td align="center">87.4</td>
|
| 488 |
+
<td align="center">88.0</td>
|
| 489 |
+
<td align="center">84.3</td>
|
| 490 |
+
</tr>
|
| 491 |
+
|
| 492 |
+
<tr>
|
| 493 |
+
<td align="center">Multi-Challenge</td>
|
| 494 |
+
<td align="center">Acc</td>
|
| 495 |
+
<td align="center"><strong>54.1</strong></td>
|
| 496 |
+
<td align="center">31.4</td>
|
| 497 |
+
<td align="center">34.0</td>
|
| 498 |
+
<td align="center">46.8</td>
|
| 499 |
+
<td align="center">49.0</td>
|
| 500 |
+
<td align="center">36.4</td>
|
| 501 |
+
<td align="center">39.5</td>
|
| 502 |
+
</tr>
|
| 503 |
+
|
| 504 |
+
<tr>
|
| 505 |
+
<td align="center">SimpleQA</td>
|
| 506 |
+
<td align="center">Correct</td>
|
| 507 |
+
<td align="center"><ins><strong>31.0</strong></ins></td>
|
| 508 |
+
<td align="center">27.7</td>
|
| 509 |
+
<td align="center">13.2</td>
|
| 510 |
+
<td align="center">15.9</td>
|
| 511 |
+
<td align="center">22.8</td>
|
| 512 |
+
<td align="center"><strong>42.3</strong></td>
|
| 513 |
+
<td align="center">23.3</td>
|
| 514 |
+
</tr>
|
| 515 |
+
|
| 516 |
+
<tr>
|
| 517 |
+
<td align="center">Livebench</td>
|
| 518 |
+
<td align="center">Pass@1</td>
|
| 519 |
+
<td align="center"><strong>76.4</strong></td>
|
| 520 |
+
<td align="center">72.4</td>
|
| 521 |
+
<td align="center">67.6</td>
|
| 522 |
+
<td align="center">74.8</td>
|
| 523 |
+
<td align="center">74.6</td>
|
| 524 |
+
<td align="center">69.8</td>
|
| 525 |
+
<td align="center">67.8</td>
|
| 526 |
+
</tr>
|
| 527 |
+
</tbody>
|
| 528 |
+
</table>
|
| 529 |
+
</div>
|
| 530 |
+
<sup>
|
| 531 |
+
• Bold denotes global SOTA, and underlined denotes open-source SOTA.
|
| 532 |
+
</sup><br/><sup>
|
| 533 |
+
• Data points marked with * are taken directly from the model's tech report or blog.
|
| 534 |
+
</sup><br/><sup>
|
| 535 |
+
• All metrics, except for SWE-bench Verified (Agentless), are evaluated with an 8k output token length. SWE-bench Verified (Agentless) is limited to a 16k output token length.
|
| 536 |
+
</sup><br/><sup>
|
| 537 |
+
• Kimi K2 achieves 65.8% pass@1 on the SWE-bench Verified tests with bash/editor tools (single-attempt patches, no test-time compute). It also achieves a 47.3% pass@1 on the SWE-bench Multilingual tests under the same conditions. Additionally, we report results on SWE-bench Verified tests (71.6%) that leverage parallel test-time compute by sampling multiple sequences and selecting the single best via an internal scoring model.
|
| 538 |
+
</sup><br/><sup>
|
| 539 |
+
• To ensure the stability of the evaluation, we employed avg@k on the AIME, HMMT, CNMO, PolyMath-en, GPQA-Diamond, EvalPlus, Tau2.
|
| 540 |
+
</sup><br/><sup>
|
| 541 |
+
• Some data points have been omitted due to prohibitively expensive evaluation costs.
|
| 542 |
+
</sup>
|
| 543 |
+
|
| 544 |
+
---
|
| 545 |
+
|
| 546 |
+
#### Base model evaluation results
|
| 547 |
+
|
| 548 |
+
<div align="center">
|
| 549 |
+
|
| 550 |
+
<table>
|
| 551 |
+
<thead>
|
| 552 |
+
<tr>
|
| 553 |
+
<th align="center">Benchmark</th>
|
| 554 |
+
<th align="center">Metric</th>
|
| 555 |
+
<th align="center">Shot</th>
|
| 556 |
+
<th align="center">Kimi K2 Base</th>
|
| 557 |
+
<th align="center">Deepseek-V3-Base</th>
|
| 558 |
+
<th align="center">Qwen2.5-72B</th>
|
| 559 |
+
<th align="center">Llama 4 Maverick</th>
|
| 560 |
+
</tr>
|
| 561 |
+
</thead>
|
| 562 |
+
<tbody>
|
| 563 |
+
<tr>
|
| 564 |
+
<td align="center" colspan="7"><strong>General Tasks</strong></td>
|
| 565 |
+
</tr>
|
| 566 |
+
<tr>
|
| 567 |
+
<td align="center">MMLU</td>
|
| 568 |
+
<td align="center">EM</td>
|
| 569 |
+
<td align="center">5-shot</td>
|
| 570 |
+
<td align="center"><strong>87.8</strong></td>
|
| 571 |
+
<td align="center">87.1</td>
|
| 572 |
+
<td align="center">86.1</td>
|
| 573 |
+
<td align="center">84.9</td>
|
| 574 |
+
</tr>
|
| 575 |
+
<tr>
|
| 576 |
+
<td align="center">MMLU-pro</td>
|
| 577 |
+
<td align="center">EM</td>
|
| 578 |
+
<td align="center">5-shot</td>
|
| 579 |
+
<td align="center"><strong>69.2</strong></td>
|
| 580 |
+
<td align="center">60.6</td>
|
| 581 |
+
<td align="center">62.8</td>
|
| 582 |
+
<td align="center">63.5</td>
|
| 583 |
+
</tr>
|
| 584 |
+
<tr>
|
| 585 |
+
<td align="center">MMLU-redux-2.0</td>
|
| 586 |
+
<td align="center">EM</td>
|
| 587 |
+
<td align="center">5-shot</td>
|
| 588 |
+
<td align="center"><strong>90.2</strong></td>
|
| 589 |
+
<td align="center">89.5</td>
|
| 590 |
+
<td align="center">87.8</td>
|
| 591 |
+
<td align="center">88.2</td>
|
| 592 |
+
</tr>
|
| 593 |
+
<tr>
|
| 594 |
+
<td align="center">SimpleQA</td>
|
| 595 |
+
<td align="center">Correct</td>
|
| 596 |
+
<td align="center">5-shot</td>
|
| 597 |
+
<td align="center"><strong>35.3</strong></td>
|
| 598 |
+
<td align="center">26.5</td>
|
| 599 |
+
<td align="center">10.3</td>
|
| 600 |
+
<td align="center">23.7</td>
|
| 601 |
+
</tr>
|
| 602 |
+
<tr>
|
| 603 |
+
<td align="center">TriviaQA</td>
|
| 604 |
+
<td align="center">EM</td>
|
| 605 |
+
<td align="center">5-shot</td>
|
| 606 |
+
<td align="center"><strong>85.1</strong></td>
|
| 607 |
+
<td align="center">84.1</td>
|
| 608 |
+
<td align="center">76.0</td>
|
| 609 |
+
<td align="center">79.3</td>
|
| 610 |
+
</tr>
|
| 611 |
+
<tr>
|
| 612 |
+
<td align="center">GPQA-Diamond</td>
|
| 613 |
+
<td align="center">Avg@8</td>
|
| 614 |
+
<td align="center">5-shot</td>
|
| 615 |
+
<td align="center">48.1</td>
|
| 616 |
+
<td align="center"><strong>50.5</strong></td>
|
| 617 |
+
<td align="center">40.8</td>
|
| 618 |
+
<td align="center">49.4</td>
|
| 619 |
+
</tr>
|
| 620 |
+
<tr>
|
| 621 |
+
<td align="center">SuperGPQA</td>
|
| 622 |
+
<td align="center">EM</td>
|
| 623 |
+
<td align="center">5-shot</td>
|
| 624 |
+
<td align="center"><strong>44.7</strong></td>
|
| 625 |
+
<td align="center">39.2</td>
|
| 626 |
+
<td align="center">34.2</td>
|
| 627 |
+
<td align="center">38.8</td>
|
| 628 |
+
</tr>
|
| 629 |
+
<tr>
|
| 630 |
+
<td align="center" colspan="7"><strong>Coding Tasks</strong></td>
|
| 631 |
+
</tr>
|
| 632 |
+
<tr>
|
| 633 |
+
<td align="center">LiveCodeBench v6</td>
|
| 634 |
+
<td align="center">Pass@1</td>
|
| 635 |
+
<td align="center">1-shot</td>
|
| 636 |
+
<td align="center"><strong>26.3</strong></td>
|
| 637 |
+
<td align="center">22.9</td>
|
| 638 |
+
<td align="center">21.1</td>
|
| 639 |
+
<td align="center">25.1</td>
|
| 640 |
+
</tr>
|
| 641 |
+
<tr>
|
| 642 |
+
<td align="center">EvalPlus</td>
|
| 643 |
+
<td align="center">Pass@1</td>
|
| 644 |
+
<td align="center">-</td>
|
| 645 |
+
<td align="center"><strong>80.3</strong></td>
|
| 646 |
+
<td align="center">65.6</td>
|
| 647 |
+
<td align="center">66.0</td>
|
| 648 |
+
<td align="center">65.5</td>
|
| 649 |
+
</tr>
|
| 650 |
+
<tr>
|
| 651 |
+
<td align="center" colspan="7"><strong>Mathematics Tasks</strong></td>
|
| 652 |
+
</tr>
|
| 653 |
+
<tr>
|
| 654 |
+
<td align="center">MATH</td>
|
| 655 |
+
<td align="center">EM</td>
|
| 656 |
+
<td align="center">4-shot</td>
|
| 657 |
+
<td align="center"><strong>70.2</strong></td>
|
| 658 |
+
<td align="center">60.1</td>
|
| 659 |
+
<td align="center">61.0</td>
|
| 660 |
+
<td align="center">63.0</td>
|
| 661 |
+
</tr>
|
| 662 |
+
<tr>
|
| 663 |
+
<td align="center">GSM8k</td>
|
| 664 |
+
<td align="center">EM</td>
|
| 665 |
+
<td align="center">8-shot</td>
|
| 666 |
+
<td align="center"><strong>92.1</strong></td>
|
| 667 |
+
<td align="center">91.7</td>
|
| 668 |
+
<td align="center">90.4</td>
|
| 669 |
+
<td align="center">86.3</td>
|
| 670 |
+
</tr>
|
| 671 |
+
<tr>
|
| 672 |
+
<td align="center" colspan="7"><strong>Chinese Tasks</strong></td>
|
| 673 |
+
</tr>
|
| 674 |
+
<tr>
|
| 675 |
+
<td align="center">C-Eval</td>
|
| 676 |
+
<td align="center">EM</td>
|
| 677 |
+
<td align="center">5-shot</td>
|
| 678 |
+
<td align="center"><strong>92.5</strong></td>
|
| 679 |
+
<td align="center">90.0</td>
|
| 680 |
+
<td align="center">90.9</td>
|
| 681 |
+
<td align="center">80.9</td>
|
| 682 |
+
</tr>
|
| 683 |
+
<tr>
|
| 684 |
+
<td align="center">CSimpleQA</td>
|
| 685 |
+
<td align="center">Correct</td>
|
| 686 |
+
<td align="center">5-shot</td>
|
| 687 |
+
<td align="center"><strong>77.6</strong></td>
|
| 688 |
+
<td align="center">72.1</td>
|
| 689 |
+
<td align="center">50.5</td>
|
| 690 |
+
<td align="center">53.5</td>
|
| 691 |
+
</tr>
|
| 692 |
+
</tbody>
|
| 693 |
+
</table>
|
| 694 |
+
</div>
|
| 695 |
+
<sup>
|
| 696 |
+
• We only evaluate open-source pretrained models in this work. We report results for Qwen2.5-72B because the base checkpoint for Qwen3-235B-A22B was not open-sourced at the time of our study.
|
| 697 |
+
</sup><br/><sup>
|
| 698 |
+
• All models are evaluated using the same evaluation protocol.
|
| 699 |
+
|
| 700 |
+
</sup>
|
| 701 |
+
|
| 702 |
+
|
| 703 |
+
## 4. Deployment
|
| 704 |
+
> [!Note]
|
| 705 |
+
> You can access Kimi K2's API on https://platform.moonshot.ai , we provide OpenAI/Anthropic-compatible API for you.
|
| 706 |
+
>
|
| 707 |
+
> The Anthropic-compatible API maps temperature by `real_temperature = request_temperature * 0.6` for better compatible with existing applications.
|
| 708 |
+
|
| 709 |
+
Our model checkpoints are stored in the block-fp8 format, you can find it on [Huggingface](https://huggingface.co/moonshotai/Kimi-K2-Instruct).
|
| 710 |
+
|
| 711 |
+
Currently, Kimi-K2 is recommended to run on the following inference engines:
|
| 712 |
+
|
| 713 |
+
* vLLM
|
| 714 |
+
* SGLang
|
| 715 |
+
* KTransformers
|
| 716 |
+
* TensorRT-LLM
|
| 717 |
+
|
| 718 |
+
Deployment examples for vLLM and SGLang can be found in the [Model Deployment Guide](docs/deploy_guidance.md).
|
| 719 |
+
|
| 720 |
+
---
|
| 721 |
+
|
| 722 |
+
## 5. Model Usage
|
| 723 |
+
|
| 724 |
+
### Chat Completion
|
| 725 |
+
|
| 726 |
+
Once the local inference service is up, you can interact with it through the chat endpoint:
|
| 727 |
+
|
| 728 |
+
```python
|
| 729 |
+
def simple_chat(client: OpenAI, model_name: str):
|
| 730 |
+
messages = [
|
| 731 |
+
{"role": "system", "content": "You are Kimi, an AI assistant created by Moonshot AI."},
|
| 732 |
+
{"role": "user", "content": [{"type": "text", "text": "Please give a brief self-introduction."}]},
|
| 733 |
+
]
|
| 734 |
+
response = client.chat.completions.create(
|
| 735 |
+
model=model_name,
|
| 736 |
+
messages=messages,
|
| 737 |
+
stream=False,
|
| 738 |
+
temperature=0.6,
|
| 739 |
+
max_tokens=256
|
| 740 |
+
)
|
| 741 |
+
print(response.choices[0].message.content)
|
| 742 |
+
```
|
| 743 |
+
|
| 744 |
+
> [!NOTE]
|
| 745 |
+
> The recommended temperature for Kimi-K2-Instruct is `temperature = 0.6`.
|
| 746 |
+
> If no special instructions are required, the system prompt above is a good default.
|
| 747 |
+
|
| 748 |
+
---
|
| 749 |
+
|
| 750 |
+
### Tool Calling
|
| 751 |
+
|
| 752 |
+
Kimi-K2-Instruct has strong tool-calling capabilities.
|
| 753 |
+
To enable them, you need to pass the list of available tools in each request, then the model will autonomously decide when and how to invoke them.
|
| 754 |
+
|
| 755 |
+
The following example demonstrates calling a weather tool end-to-end:
|
| 756 |
+
|
| 757 |
+
```python
|
| 758 |
+
# Your tool implementation
|
| 759 |
+
def get_weather(city: str) -> dict:
|
| 760 |
+
return {"weather": "Sunny"}
|
| 761 |
+
|
| 762 |
+
# Tool schema definition
|
| 763 |
+
tools = [{
|
| 764 |
+
"type": "function",
|
| 765 |
+
"function": {
|
| 766 |
+
"name": "get_weather",
|
| 767 |
+
"description": "Retrieve current weather information. Call this when the user asks about the weather.",
|
| 768 |
+
"parameters": {
|
| 769 |
+
"type": "object",
|
| 770 |
+
"required": ["city"],
|
| 771 |
+
"properties": {
|
| 772 |
+
"city": {
|
| 773 |
+
"type": "string",
|
| 774 |
+
"description": "Name of the city"
|
| 775 |
+
}
|
| 776 |
+
}
|
| 777 |
+
}
|
| 778 |
+
}
|
| 779 |
+
}]
|
| 780 |
+
|
| 781 |
+
# Map tool names to their implementations
|
| 782 |
+
tool_map = {
|
| 783 |
+
"get_weather": get_weather
|
| 784 |
+
}
|
| 785 |
+
|
| 786 |
+
def tool_call_with_client(client: OpenAI, model_name: str):
|
| 787 |
+
messages = [
|
| 788 |
+
{"role": "system", "content": "You are Kimi, an AI assistant created by Moonshot AI."},
|
| 789 |
+
{"role": "user", "content": "What's the weather like in Beijing today? Use the tool to check."}
|
| 790 |
+
]
|
| 791 |
+
finish_reason = None
|
| 792 |
+
while finish_reason is None or finish_reason == "tool_calls":
|
| 793 |
+
completion = client.chat.completions.create(
|
| 794 |
+
model=model_name,
|
| 795 |
+
messages=messages,
|
| 796 |
+
temperature=0.6,
|
| 797 |
+
tools=tools, # tool list defined above
|
| 798 |
+
tool_choice="auto"
|
| 799 |
+
)
|
| 800 |
+
choice = completion.choices[0]
|
| 801 |
+
finish_reason = choice.finish_reason
|
| 802 |
+
if finish_reason == "tool_calls":
|
| 803 |
+
messages.append(choice.message)
|
| 804 |
+
for tool_call in choice.message.tool_calls:
|
| 805 |
+
tool_call_name = tool_call.function.name
|
| 806 |
+
tool_call_arguments = json.loads(tool_call.function.arguments)
|
| 807 |
+
tool_function = tool_map[tool_call_name]
|
| 808 |
+
tool_result = tool_function(**tool_call_arguments)
|
| 809 |
+
print("tool_result:", tool_result)
|
| 810 |
+
|
| 811 |
+
messages.append({
|
| 812 |
+
"role": "tool",
|
| 813 |
+
"tool_call_id": tool_call.id,
|
| 814 |
+
"name": tool_call_name,
|
| 815 |
+
"content": json.dumps(tool_result)
|
| 816 |
+
})
|
| 817 |
+
print("-" * 100)
|
| 818 |
+
print(choice.message.content)
|
| 819 |
+
```
|
| 820 |
+
|
| 821 |
+
The `tool_call_with_client` function implements the pipeline from user query to tool execution.
|
| 822 |
+
This pipeline requires the inference engine to support Kimi-K2’s native tool-parsing logic.
|
| 823 |
+
For streaming output and manual tool-parsing, see the [Tool Calling Guide](docs/tool_call_guidance.md).
|
| 824 |
+
|
| 825 |
+
---
|
| 826 |
+
|
| 827 |
+
## 6. License
|
| 828 |
+
|
| 829 |
+
Both the code repository and the model weights are released under the [Modified MIT License](LICENSE).
|
| 830 |
+
|
| 831 |
+
---
|
| 832 |
+
|
| 833 |
+
## 7. Contact Us
|
| 834 |
+
|
| 835 |
+
If you have any questions, please reach out at [[email protected]](mailto:[email protected]).
|