Guide · Updated November 2026

Run Kimi-K2.7-Code inside Cursor and Cline — whole-repo refactors on your own key

When a refactor touches ten files, the model needs the whole picture. Kimi-K2.7-Code brings 262K context and tool-call training to Cursor, Cline and any OpenAI-compatible agent — through NovaToken, paid by card, no Chinese platform.

The three values:
Base URL: https://api.novatoken.dev/v1
API key: your sk-... key from the dashboard
Model: moonshotai/Kimi-K2.7-Code

Cursor setup

  1. Settings → Models (Cmd/Ctrl + Shift + J).
  2. Paste your key into OpenAI API Key.
  3. Enable Override OpenAI Base URL → https://api.novatoken.dev/v1.
  4. Add model: moonshotai/Kimi-K2.7-Code — copy the id character-for-character.

Cline setup (VS Code)

  1. Cline panel → gear icon → API Configuration.
  2. API Provider: OpenAI Compatible.
  3. Base URL: https://api.novatoken.dev/v1 · API Key: your sk- key.
  4. Model ID: moonshotai/Kimi-K2.7-Code.

Long agent sessions and input cost

Agentic runs resend context every turn. Two things keep that affordable here:

  1. Model choice per job: reserve Kimi for the runs that need 262K context; Qwen (~2s first token, $0.10 / $0.30 per 1M) handles quick turns.
  2. Cache pricing on DeepSeek: if your agent loop is on DeepSeek-V4-Flash, cached input bills at $0.006 per million instead of $0.30 — a 50× cut on the repeated parts.

Typical usage: most customers top up $5 and run for weeks, watching the dashboard show exactly which model consumed what.

FAQ

Why Kimi over the default Cursor models?

Cost control and privacy of choice. You pay per token from your own $5+ balance instead of per-request premium billing, and you can switch models anytime. For long agent runs, seeing the exact per-model rate matters.

Does it work with Cline's agentic mode?

Yes — Kimi-K2.7-Code is trained for tool use, and NovaToken supports SSE streaming, function calling and JSON mode, which is what Cline, Roo Code and Kilo Code rely on.

Can I mix Kimi with cheaper models?

Yes, on the same key. Many people select Kimi for big refactors and GLM-5.3-Flash or Qwen for quick fixes — the balance is shared.

Point your agent at Kimi today

One key for DeepSeek, Kimi, Qwen and GLM. Card payment, USD, $5 to start.

Buy $5 of usage