Cline Logo
EnterpriseMCP ServersPromptsBlogCareersDocs
EnterpriseMCP ServersPromptsBlogCareersDocs
Account
Cline Logo
EnterpriseMCP ServersPromptsBlogCareersDocs
EnterpriseMCP ServersPromptsBlogCareersDocs
Account
Moonshot's Kimi K2 for Coding: Our First Impressions in Cline

Moonshot's Kimi K2 for Coding: Our First Impressions in Cline

Test Kimi K2, the open-source model achieving 65.8% on SWE-bench. Available now in Cline.

Nick Baumann
Nick Baumann • @nickbaumann_
July 14, 2025

Moonshot AI's Kimi K2 is now available in Cline. This 1T parameter open-source model has been making waves with its benchmark results, particularly in coding tasks. For developers curious about whether these benchmarks translate to real-world performance, Cline offers the perfect environment to find out.

0:00
/0:19

Kimi K2's Impressive Benchmark Performance

Let's start with what the benchmarks tell us. Kimi K2's coding performance is genuinely impressive and SOTA for open-source models:

The model achieves 65.8% single-attempt accuracy on SWE-bench Verified, which tests a model's ability to solve real GitHub issues. To put that in perspective, this outperforms GPT-4.1 (54.6%) and trails only Claude Sonnet 4 among the top models. On the multilingual version of SWE-bench, Kimi K2 leads the pack with 47.3% accuracy.

On LiveCodeBench, Kimi K2 scores 53.7%, positioning it at the top of open-source models. The EvalPlus benchmark shows a state-of-the-art score of 80.3, significantly outperforming comparable models like DeepSeek-V3 and Qwen 2.5.

Kimi K2 Benchmarks
via https://moonshotai.github.io/Kimi-K2/
We're running ongoing evaluations to see how Kimi K2 handles diff edits against frontier models. We'll update this post with our findings as we gather more data.

Kimi K2 was Trained for Tool-Calling Agents


Behind these impressive benchmarks is a unique training approach. Kimi K2's agentic capabilities come from large-scale synthetic data generation that simulates real-world tool use across thousands of scenarios. This includes training on MCP (Model Context Protocol) tools – the same protocol Cline uses for its tool ecosystem. This means Kimi K2 isn't just good at writing code; it's specifically optimized for the kind of tool-calling and multi-step execution that makes Cline a powerful agent.

via https://moonshotai.github.io/Kimi-K2/

Getting the Most from Kimi K2 in Cline

Testing confirms that Kimi K2 excels at tool calling and execution – critical capabilities for agentic coding. As an open-source model competing directly with the best proprietary options, it represents a significant step forward for accessible AI coding, priced at a fraction of the cost of Sonnet-4 ($0.14/$2.49 per million input/output tokens).

One note: Kimi K2 is currently experiencing a lot of usage and you might experience high-latency as it reaches more providers.

Based on our testing and community feedback, we see Kimi K2 as a strong model in Act Mode. While Kimi K2 has strong reasoning capabilities, its real strength appears to be in executing well-defined plans. Let a planning-optimized model (like Gemini 2.5 Pro with its massive context window) map out the strategy, then let Kimi K2 execute with its strong coding abilities.

That said, we encourage you to play with Kimi K2 in Cline and reach your own conclusions for how it's useful for you!

How to Use Kimi K2 in Cline

Option 1: The Official Cline Provider (Easiest Method)

For the most seamless experience, you can use the official Cline provider. This is the recommended approach.

Simply select cline:moonshotai/kimi-k2 from the model dropdown menu.

Option 2: The Free OpenRouter Endpoint (Great for Testing)

OpenRouter provides a free, rate-limited endpoint. This is perfect for trying out the model, but be aware that you may experience higher latency due to high demand.

Select openrouter/moonshotai/kimi-k2 from the model dropdown.

Option 3: Custom Anthropic Endpoint (Using Your Moonshot API Key)

If you have a direct API key from Moonshot AI, you can configure Cline to use it via the Anthropic-compatible endpoint. This gives you direct access using your own key.

  1. In Cline's settings, select Anthropic as the API Provider.
  2. For the API Key, paste the key you obtained from the Kimi open platform.
  3. Check Use custom base URL and enter: https://api.moonshot.ai/anthropic
  4. Any model is fine
  5. Check 'Disable browser tool usage' under Browser settings
  6. Click Done to save.

Ready to try Kimi K2? Download Cline and experience the latest in open-source coding AI.

Related Posts

How I Learned to Stop Course-Correcting and Start Using Message Checkpoints

How I Learned to Stop Course-Correcting and Start Using Message Checkpoints

July 2, 2025
How to Use Your Claude Max Subscription in Cline

How to Use Your Claude Max Subscription in Cline

June 24, 2025
Why Cline Doesn't Index Your Codebase (And Why That's a Good Thing)

Why Cline Doesn't Index Your Codebase (And Why That's a Good Thing)

May 27, 2025
Cline Logo

Transform your engineering team with a fully collaborative AI partner. Open source, fully extensible, and built to amplify developer impact.

Product

  • Docs
  • Blog
  • Enterprise
  • Releases

Community

  • Discord
  • Discussions

Support

  • Issues
  • Feature Requests
  • FAQ

Company

  • Careers
  • Terms of Service
  • Privacy Policy
  • Contact
DiscordX/TwitterLinkedInReddit

© 2025 Cline Bot Inc. All rights reserved.