Claude Code vs Cline
Short answer: if you want to approve each edit and control exactly which model runs and what it costs, Cline; if you want to hand a task over and come back to a result, Claude Code. Both are competent at the work. What decides whether you keep using one is not capability — it is how much supervision you want to be doing at four in the afternoon.
One fact reframes the question. Cline is model-agnostic, so you can point it at Claude and get Claude's output through Cline's approval loop. "Claude Code vs Cline" is not Claude versus not-Claude — it is two postures toward the same models.
On this page
The facts, first
As of 2026-07-31 — the things that don't depend on taste.
| Cline | Claude Code | |
|---|---|---|
| Source | Apache-2.0, cline/cline — 65,286 stars | Closed source |
| Latest release | v4.1.0, published 2026-07-31 | Continuous; native installs auto-update |
| Where it runs | VS Code and its forks, JetBrains (early access), CLI, SDK | Terminal, VS Code, JetBrains, desktop app, web and mobile |
| Models | Any — Anthropic, OpenAI, Google, Bedrock, Vertex, Ollama, OpenRouter, or any OpenAI-compatible endpoint | Claude models only, routable through Bedrock, Vertex, Microsoft Foundry or a gateway |
| How you pay | Your own provider key, or Cline's pay-as-you-go provider / ClinePass | Bundled with a Claude subscription, or a Console API key |
The last row matters in both directions. Claude Code is not sold on its own — if you already pay for Claude it is not a new line item, and if you don't, you are buying a subscription to get it. Cline's extension is free and Apache-licensed; you pay whatever your provider charges, so the bill is yours to shape and yours to watch.
The approval loop, day to day
The correction to make first, because most comparisons get it wrong: both of these ask before they edit files. Claude Code's default permission mode prompts for file modification and for shell commands outside a built-in read-only set. Cline evaluates auto-approve per tool call, and its recommended starting configuration is reads only. Neither silently rewrites your repo out of the box. What differs is where the review happens, and which direction each product is pulling you.
Cline's centre of gravity is the diff. Approval happens in your editor's own diff viewer, with the change laid out in front of you. It snapshots the workspace after every tool use into a shadow Git repository kept separate from your real history, so each edit is independently restorable — and the restore splits three ways: files only, conversation only, or both. That last detail says what the product is for. It assumes you will often want to keep the conversation and throw away the code, which is the behaviour of someone reading closely.
Claude Code's centre of gravity is the outcome. Approval happens in a terminal, and the design gradient runs toward widening the gate so the agent can keep going: acceptEdits to stop confirming writes, plan to think before touching anything, bypassPermissions for isolated containers. It assumes you will start something and go do something else.
Both can be pushed toward the other's posture — Cline has a mode its own docs call "Auto Approve on steroids" and, plainly, "This is dangerous"; Claude Code has ask rules that will make it check in constantly. But defaults and ergonomics are what you live in.
Open source and your own key
Cline is Apache-2.0, with 65,286 stars on GitHub as of 2026-07-31. The licence is the real feature, not the star count: you can read what the agent sends, fork it, run it where an audit matters, and you are not negotiating with a vendor about which model you may use.
That point dissolves the framing of this comparison. Anthropic is one of Cline's supported providers, alongside the rest. You can run Cline against Claude models. If you arrived thinking the choice was "Claude quality versus open source," it isn't. You can have both, and what you are choosing is the harness.
Claude Code is the other arrangement: it runs Claude and only Claude. You can route those models through Amazon Bedrock, Google Cloud's Agent Platform, Microsoft Foundry or a self-hosted gateway, so "one vendor" overstates it if your concern is which cloud the inference happens in — but you cannot point it at GPT or Gemini. If model choice is a requirement, that is a clean disqualification and you can stop reading here.
One wrinkle: bring-your-own-key is Cline's default story but not the only one. It also sells inference through its own provider and a flat-rate ClinePass, and the pricing page lists no figures for either — so check it yourself rather than trusting a number from a blog.
Surface area
Cline covers more editors than most people realise: the extension installs into VS Code, Cursor, Windsurf, VSCodium and Antigravity, and there is a JetBrains plugin, labelled early access on Cline's own site as of today. Beyond the editor there is a CLI (npm i -g cline) and an SDK (@cline/sdk).
The SDK is the underrated piece. If you want to build something that contains a coding agent rather than something you sit in front of, an Apache-2.0 runtime with a published SDK is a different starting position. Claude Code has an Agent SDK too, but you build on someone else's terms of service rather than someone else's source.
Claude Code spreads along a different axis, its surfaces sharing one engine and one CLAUDE.md. That spread is about session continuity — start at your desk, check from your phone. Cline's is about meeting you in the editor you already use.
The accounting problem
The thing to know before you commit — a documented, still-open issue class, not a rumour. Cline has recurring bugs in how it counts tokens and context, and because the displayed number is what you steer by, the failure mode is money and dead-ended tasks rather than a crash. Issue #7383 is the clearest case: the UI showed roughly 50% context usage while the request that actually went out carried 200,926 tokens, over a 200,000-token limit, so the task failed with no warning. Filed 2025-11-09, still open. A newer one, #12703, filed 2026-07-29 against v4.0, reports context compaction increasing the token count from 2.8K to 3.4K while the message count stayed put — the cleanup step making the thing it cleans up bigger.
They are not isolated. Open issues on token counts arrive steadily across providers and years — doubled counts against llama.cpp, inflated counts through OpenAI-compatible endpoints, a percentage bar capping at the wrong number. Different causes, one symptom: the meter disagrees with reality.
In fairness, a busy tracker on a repo that shipped a release this morning signals use, not neglect. Being open is also why we can cite a numbered issue at all — the same bug in a closed product is one you hit and can never point at.
Where Claude Code pulls ahead
If you are going to delegate, you need a way to constrain the agent that doesn't depend on the agent agreeing to be constrained. Claude Code's answer is hooks: shell commands that run before or after tool calls, enforced by the harness rather than the model. The docs are direct about why that matters — instructions in CLAUDE.md shape what Claude tries to do, but they don't change what is allowed. That is a real policy mechanism, with one sharp edge that defeats most first attempts.
The second piece is subagents: farming parts of a task out to separate contexts running in parallel. It is the natural move once you have stopped watching, and where costs stop being intuitive — token consumption rises faster than the agent count suggests, for reasons set out in the subagents guide. Set a budget before you turn on fan-out.
Cline has comparable machinery — .clinerules, skills, coordinator agents that delegate to specialists, lifecycle hooks through the SDK. The difference is emphasis, not presence. Claude Code's extension surface is built for people who are not looking; Cline's for people who are.
Picking one
The cases where this isn't a matter of taste:
- You need a model other than Claude. Cline. Nothing else on this page matters.
- You need to read the source, or ship the agent inside your own product. Cline — Apache-2.0 with a published SDK.
- You already pay for Claude. Claude Code costs nothing further to try, which is reason enough to try it first.
- You want work to continue while you're away from the machine. Claude Code, by design.
- You are introducing an agent to a nervous team. Cline, starting with reads only. Per-tool toggles and a three-way restore are easier to defend in a room than "we set it to accept edits."
Absent one of those, run both for a week against the same repo. They are not exclusive — they edit the same files through the same filesystem — and a week of your own diffs will tell you more about your temperament than any comparison will, including this one.
Where we fit, briefly
We build UFO, so weigh this accordingly — and the answer to this page's question is not us. If you want an approval loop in your editor, that is Cline; if you want to delegate from a terminal, that is Claude Code. Both are on this page and both are reasonable.
UFO is the layer after: a team chat where AI agents are members of channels alongside people, each running on a machine you have paired, with task cards for work that outlives a session. Either tool on this page is something you can run inside that.
The question it answers starts once this one is settled — when there are several agents, on several models, and other people need to see what they did.
Sources
Read from the GitHub API and the vendors' own documentation on 2026-07-31. Star counts and versions move; both issues cited were open on that date.
- github.com/cline/cline · Apache-2.0 licence · v4.1.0 release
- cline.bot · Cline pricing · Cline — auto-approve · Cline — checkpoints
- Cline #7383 — context window usage mismatch · Cline #12703 — compaction increases token count
- code.claude.com/docs — overview · permissions · third-party providers
Not affiliated with Cline or Anthropic. If something here is wrong or has gone stale, tell us and we'll fix it.