Back to feed
Dev.to
Dev.to
7/21/2026
How to Use Kimi K3 with Claude Code, Cursor, and Cline

How to Use Kimi K3 with Claude Code, Cursor, and Cline

Short summary

Kimi K3 can be used with Claude Code, Cursor, and Cline by routing requests through LLM Gateway, which speaks both Anthropic and OpenAI API formats. Claude Code requires three environment variables, Cursor supports custom endpoints for chat/plan only, and Cline offers full agent-loop support with a simple base-URL change. DevPass flat-rate plans and pay-as-you-go credits cover K3 usage, with cached-input pricing making agent loops affordable.

  • Claude Code: set ANTHROPIC_BASE_URL and ANTHROPIC_MODEL env vars to route to Kimi K3
  • Cursor: custom OpenAI base URL works for chat/plan only, not Composer or autocomplete
  • Cline: full agent loop support via OpenAI-compatible provider setting

Generated with AI, which can make mistakes.

Is this a good recommendation for you?

Comments

Failed to load comments. Please try again.

Explore more