Cursor

This tutorial walks you through configuring Cursor to use an OpenAI-compatible API to access LLMs hosted by Kimchi in Chat, inline edits, and Agent mode. You'll point Cursor at the Kimchi base URL so that all built-in AI features run through Kimchi infrastructure.

Overview

By the end of this tutorial, you'll be able to:

  • Use Kimi K2.6, Kimi K2.5, or MiniMax M2.7 through Cursor's native Chat and Agent modes
  • Route all Cursor AI requests to Kimchi
  • Switch between available models directly from Cursor's model selector

This tutorial is intended for developers who have a Cursor Pro subscription or higher. The free tier does not allow configuring custom API keys.

πŸ“˜

The Kimchi base URL works with any OpenAI-compatible client. This tutorial covers Cursor, but the same base URL and API key work with OpenCode and other compatible tools.

Prerequisites

Before starting, ensure you have:

  1. A Kimchi API key β€” Generate one from app.kimchi.dev/settings
  2. Cursor IDE β€” Download from cursor.com
  3. A Cursor Pro subscription or higher

Configure Cursor

Troubleshooting

"Model not found" after the integration was working

Cursor occasionally resets the OpenAI API Key toggle to OFF in the Models settings. If requests that previously worked start returning a "model not found" error, check that the OpenAI API Key toggle is still enabled. Re-enable it if needed β€” no other settings should be affected.

Next steps