Run Cline and Roo Code on GLM, Kimi & DeepSeek via NovAI (2026)

Published 2026-09-13 · NovAI Team

Cline (and its fork Roo Code) is the most popular open-source coding agent for VSCode: it plans, edits files, runs terminal commands, and iterates — with any model you point it at. That flexibility makes it the easiest way to run agentic coding on Chinese models through NovAI.

Why Cline + NovAI?

Setup (Cline)

  1. Install the Cline extension from the VSCode marketplace.
  2. Open Cline settings → API Provider: choose OpenAI Compatible.
  3. Base URL: https://aiapi-pro.com/v1
  4. API Key: your NovAI key (create one in the dashboard).
  5. Model ID: type any NovAI model, e.g. kimi-k2.7-code or glm-5.3.

Setup (Roo Code)

Roo Code is a Cline fork with per-mode model routing (Architect / Code / Ask). The provider setup is identical: OpenAI Compatible → base URL https://aiapi-pro.com/v1 → NovAI key. A useful pattern: Architect mode on glm-5.3 (1M context for repo-wide planning), Code mode on kimi-k2.7-code (agent-tuned edits), Ask mode on free glm-4.7-flash.

Recommended settings

Best NovAI models for coding agents

ModelInput $/1MOutput $/1M
kimi-k2.7-code (agent-tuned)$0.67$3.40
glm-5.3 (1M context flagship)$1.25$4.00
deepseek-v4-pro$0.57$1.15
doubao-seed-2.0-code$0.448$2.24
glm-4.7-flash (free forever)$0$0

For long agent loops, kimi-k2.7-code and deepseek-v4-pro give the best cost-per-task; for repo-wide refactors that need the full codebase in context, glm-5.3's 1M window is unmatched. Use free glm-4.7-flash for planning and lightweight edits.

Agentic coding in VSCode from $0.57/1M tokens — $2 free credit to start.

Get $2 Free Credit — No Credit Card →

Frequently Asked Questions

How do I connect Cline to NovAI?

In Cline settings choose API Provider 'OpenAI Compatible', set Base URL to https://aiapi-pro.com/v1, paste your NovAI API key, and type the model ID (e.g. kimi-k2.7-code, glm-5.3, deepseek-v4-pro).

Does Roo Code work the same way?

Yes. Roo Code is a Cline fork with the same OpenAI-Compatible provider option. You can additionally assign different NovAI models to Architect, Code, and Ask modes.

What is the cheapest model for Cline agent sessions?

deepseek-v4-pro at $0.57 per 1M input tokens is the cheapest strong coder on NovAI; glm-4.7-flash is completely free and fine for planning and small edits.

Related guides: Codex CLI setup · Claude Code · Cline / Roo Code · Cursor · Chatbox · Cherry Studio