跳到正文
北京时间
原文
OpenRouter:Announcements(RSS)· OpenRouter·· 2025-07-14精选AI 评分56

OpenRouter 模型现可在 Cursor 中使用:试试月之暗面 Kimi K2

Use OpenRouter Models in Cursor: Try it with Moonshot AI's Kimi K2

AI 导读

OpenRouter 宣布其灵活模型路由支持在 Cursor 中运行月之暗面的 Kimi K2。用户可直接在 Cursor 中调用 OpenRouter 路由的模型,无需额外配置。

推荐理由

一篇将 OpenRouter 模型接入 Cursor 的实操指南,虽然已过时三百多天,但对想免配置用 Kimi K2 的 Cursor 用户仍有参考价值。

正文

If you’re using Cursor as your AI coding assistant, you can now connect it to OpenRouter to access models like Kimi K2 by Moonshot AI, which is now live on the platform.

Kimi K2 delivers 1 trillion parameters, a 65.8% SWE-Bench Verified score, and leads the open-source charts for code generation and tool use. It is fully accessible in Cursor with just a few configuration steps.

⚙️ How to Use OpenRouter in Cursor

  1. Open Cursor, go to:

Settings → Cursor Settings → Models

Image 1: Preview 1

  1. Scroll down to API Keys and do the following:
*   Turn on **OpenAI API Key**
*   Paste in your **OpenRouter API key**
*   Enable **Override OpenAI Base URL**
*   Set it to: `https://openrouter.ai/api/v1/cursor`
  1. Scroll up to “Add or search model” and enter: moonshotai/kimi-k2 Add it, toggle it on, and you’re set.

Image 2: Preview 2

  1. Now go to the chat pane in Cursor and choose Kimi K2 from the model dropdown.

Image 3: Preview 4

⚠️ Heads up: Cursor may warn that the model has limited agentic support. You can safely ignore this — Kimi K2 is fully capable in assistant-style workflows.

来源:OpenRouter:Announcements(RSS) · openrouter.ai