Cline logo

Cline

Free open source AI coding agent for VS Code that plans, writes, and runs code with your approval, using any model you choose.

★ 4.5 / 5FreemiumCoding
Visit Cline →
Free planYes, the open source agent is free for individual developers, Apache 2.0. You pay only for model inference.
Paid plans fromClinePass from $9.99/month. Enterprise is custom priced.
Runs onVS Code extension, CLI, desktop app, and SDK; JetBrains plugin is available on Enterprise plans.
Websitecline.bot

Cline is an open source AI coding agent that lives inside your editor. You describe a task in plain language, and Cline reads your files, writes code across multiple files, runs terminal commands, and fixes its own errors, asking for approval at each step. It started as a VS Code extension and now also runs as a CLI, a desktop app, and an SDK you can embed in your own products.

The idea behind Cline is open choice. It works with Claude, GPT, Gemini, local models through Ollama or LM Studio, or any OpenAI compatible endpoint, and you bring your own API key or buy inference through Cline at cost. There is no vendor lock in: if a better model appears tomorrow, you switch the model, not the tool. The Plan mode lets you agree a strategy before Cline acts, and checkpoints with one click undo mean a bad change is easy to roll back.

Cline itself is free for individual developers. The real cost is the model usage behind it, which you pay to your provider or through Cline credits. An optional ClinePass subscription at $9.99 a month bundles curated open models with higher usage limits, for people who do not want to manage API keys.

Features

Plan and Act modes

Toggle Plan mode to agree a strategy with Cline before it touches your code, then switch to Act to execute. Approve every step, or flip on auto approve for autopilot.

Multi file edits with checkpoints

Cline makes coordinated changes across your whole project, with linter aware fixes, visible diffs, checkpoints, and one click undo on every step.

Every model, your choice

Use Claude, GPT, Gemini, local Ollama or LM Studio models, or any OpenAI compatible endpoint. Bring your own key, buy inference at cost through Cline, or use ClinePass.

Runs terminal commands

Cline executes in your terminal and reacts to output as it appears: dev servers, tests, builds, and deploys, all handled live while you watch.

Rules and Skills

Ship .clinerules files with your repo to teach the agent your coding standards, architecture, and deployment conventions, so it writes code your way.

MCP and integrations

Extend Cline with MCP servers for databases, APIs, and infrastructure, connect it to Slack, Discord, Telegram, or Linear, and run it headlessly in GitHub Actions or GitLab pipelines.

Use cases

  • Solo developers build features, fix bugs, and refactor code faster with an agent that handles the routine work.
  • Teams standardise on .clinerules so the agent follows the same conventions across the whole codebase.
  • Learners ask Cline to explain a codebase, then watch how it structures a fix.
  • DevOps engineers run Cline in CI pipelines to automate recurring tasks on a schedule.
  • Privacy focused developers point Cline at a local Ollama model so code never leaves their machine.

Pros and cons

What’s good

  • Free and open source under Apache 2.0, with no seat fees for individual developers.
  • Works with any model provider, so there is no vendor lock in.
  • Plan mode plus checkpoints and one click undo keep you in control.
  • Runs terminal commands, tests, and builds, not just code edits.
  • MCP support and an SDK make it easy to extend or embed.
  • Local model support through Ollama keeps code private.

What isn’t

  • You pay for model inference separately, so heavy use can cost $50 to $100 a month or more in provider fees.
  • Agent mistakes still happen, so you need to review diffs before accepting them.
  • The JetBrains plugin is not open sourced, unlike the core extension.
  • Setup takes more effort than a closed tool: you manage your own API keys and model choice.

Pricing

  • Open Source, $0, VS Code extension, CLI, desktop app, and SDK. Bring your own API key (Anthropic, OpenAI, Google, and more), MCP Marketplace, multi root workspaces, community support. You pay only for AI inference, either to your provider or through Cline at cost. No subscriptions or seat fees for the open source version.
  • Cline credits (usage billing), pay as you go, buy credits from the Cline dashboard and spend one balance across 100+ supported models, including some free options on a rotating basis.
  • ClinePass, $9.99/month, optional subscription bundling curated open weight models from Z.ai, Moonshot AI, DeepSeek, MiniMax, MiMo, and Qwen, with 2 to 5 times the usage of standard API rates across rolling 5 hour, weekly, and monthly windows. No separate provider accounts or API keys to manage.
  • Enterprise, custom pricing, JetBrains extension, SSO, SCIM, SLA, dedicated support, centralised billing, team management dashboard, role based access control, audit logs, VPC deployments, and controls over which inference providers teams can use.

Typical individual usage runs roughly $5 to $50 a month in provider fees, and heavy agentic work can exceed $100 a month. Prices are from cline.bot/pricing, checked October 2026.

How it works

  1. Install the Cline extension from the VS Code marketplace, or install the CLI with npm.
  2. Connect a model: add your own API key, buy Cline credits, or subscribe to ClinePass.
  3. Describe your task in the Cline panel, and use Plan mode first for bigger jobs.
  4. Review each diff and terminal command as Cline works, approving or rejecting steps.
  5. Use checkpoints to roll back any change you do not like.

Who it’s for

  • Developers who want an open source coding agent with no vendor lock in.
  • Solo developers automating routine coding, testing, and refactoring.
  • Teams that want shared .clinerules conventions enforced by the agent.
  • Privacy focused developers running local models through Ollama.
  • Builders embedding an agent runtime into their own products via the SDK.

Final verdict

Cline is the best open source coding agent for developers who want control. It is free, it works with any model, and its Plan mode and checkpoints make it safer than agents that act first and explain later. The trade off is that you manage your own model costs and review its work.

Choose Cline if you want a free, open source agent with no lock in and you are comfortable managing your own API keys or a ClinePass subscription.

Choose something else if you want a fully managed, one price coding assistant with no setup (Cursor or GitHub Copilot), or if you never want to think about per token costs.

Related reading: Best AI Coding Tools for Beginners (Free vs Paid)

Questions people ask

Is Cline free?
Yes, the Cline agent itself is free and open source under Apache 2.0 for individual developers. The catch is the model: Cline does nothing without one, and unless you run a free or local model, you pay for every token the agent spends.
How much does Cline cost in practice?
The software is $0. Typical individual usage runs roughly $5 to $50 a month in model provider fees, and heavy agentic work can exceed $100 a month. ClinePass at $9.99 a month is the cheapest fixed price option for curated open models.
What is ClinePass?
ClinePass is an optional $9.99 a month subscription that bundles 12 curated open weight coding models with 2 to 5 times the usage of standard API rates. It is for people who do not want to manage their own model API keys.
Does Cline work with local models?
Yes. Cline supports local models through Ollama and LM Studio, so you can run the agent with code that never leaves your machine. Quality depends on your hardware and the model you choose.
Which editors does Cline support?
Cline is a VS Code extension first, with a CLI and desktop app alongside it. A JetBrains plugin exists but is not open sourced, and it is included on Enterprise plans.
Cline vs Cursor, which should I pick?
Cline is free and open source with any model you choose, but you pay inference costs yourself. Cursor is a closed, managed product with a fixed subscription and a polished editor. Pick Cline for openness and control, Cursor for convenience.

More Coding tools

Cursor logo

Cursor

Coding
★ 4.8

AI-first code editor — a fork of VS Code with an AI agent built in.

GitHub Copilot logo

GitHub Copilot

Coding
★ 4.8

AI pair programmer that lives inside your code editor.

Ollama logo

Ollama

Coding
★ 4.7

Free open source tool that downloads and runs large language models locally on your Mac, Windows, or Linux computer.

Windsurf logo

Windsurf

Coding
★ 4.7

AI-first code editor (now Devin Desktop) with an agent that edits files, runs commands, and fixes its own errors

Prices change — always check the vendor’s site before buying. Found a price that’s out of date? Tell us and we’ll fix it.