Polarison

Open-source Cursor alternatives

The most-starred open-source alternatives to Cursor are Zed (91.9k GitHub stars), Cline (70.5k) and Kilo Code (27.7k). They are free to install; instead of a subscription you pay your model provider per token. Regular use, about 1,500 agent steps a month, costs roughly $74 on Claude Sonnet 5.5 or $9.25 on DeepSeek V4.1 Flash, against $8 to $200 a month for Cursor.

GitHub data updated October 18, 2026. Model prices from official pricing pages.

3 open-source alternatives compared

ProjectRuns inModelsLicenseGitHub starsLast commit
Zed
Zed Industries
Desktop editorAny provider
Local models
GPL-3.091.9kOctober 18, 2026
Cline
Cline
VS Code, JetBrains, Terminal, SDKAny provider
Local models
Apache-2.070.5kOctober 18, 2026
Kilo Code
Kilo Code
VS Code, JetBrains, TerminalAny providerMIT27.7kOctober 18, 2026

What it costs to run them on your own API key

Open-source agents are free; you pay the model provider for every token the agent reads and writes. Estimated monthly API fees:

Model on your API keyLight
300 steps/mo
Regular
1,500 steps/mo
Heavy
6,000 steps/mo
Claude Opus 5.5$28$140$562
Claude Sonnet 5.5$15$74$298
GPT-6.1 Sol$14$70$281
Gemini 3.8 Flash$5.58$28$112
DeepSeek V4.1 Flash$1.85$9.25$37
Claude Haiku 5.5$0.74$3.72$15

For comparison, Cursor: Plus $8/mo; Premium $30/mo; Super $100/mo; Ultra $200/mo.

Each agent step is assumed to send about 40,000 input tokens (70% read from the prompt cache) and return about 2,000 output tokens, as in our cost calculator’s coding-agent scenario. Light is about one short task a day, regular is several tasks every working day, heavy is agents running most of the day. Real usage varies with the size of your codebase and how each tool manages context, so treat these as orders of magnitude. A local model costs nothing per token but needs hardware that can run it.

Want a precise break-even for your own usage? Use the subscription vs API calculator.

The alternatives one by one

Zed

Zed Industries · GPL-3.0 · 91.9k stars

A fast open-source code editor written in Rust by the creators of Atom and Tree-sitter, with a built-in agent panel and edit predictions.

Models: Your own API keys for Anthropic, OpenAI-compatible and other providers, gateways, local models, or an existing ChatGPT, Claude or Copilot subscription.

Runs in: Desktop editor.

Licensed mainly under GPL-3.0-or-later, with some Apache-2.0 components.

GitHub ↗Docs ↗Zed vs Cursor

Cline

Cline · Apache-2.0 · 70.5k stars

An autonomous coding agent that runs as a VS Code extension, a JetBrains plugin, a CLI or an SDK, and asks before it edits files or runs commands.

Models: Anthropic, OpenAI, Google, AWS Bedrock, OpenRouter, the Vercel AI Gateway, any OpenAI-compatible API, and local models through Ollama or LM Studio.

Runs in: VS Code, JetBrains, Terminal, SDK.

GitHub ↗Cline vs Cursor

Kilo Code

Kilo Code · MIT · 27.7k stars

An open-source coding agent for VS Code, JetBrains IDEs and the terminal. Through a Kilo account you pick from 500+ models at the provider’s own rate with no markup, or you bring your own API keys.

Models: 500+ models through a Kilo account, or your own provider API keys.

Runs in: VS Code, JetBrains, Terminal.

GitHub ↗Docs ↗

No longer maintained

These projects still show up in searches for Cursor alternatives but have stopped development:

  • Void — The repository was archived on GitHub after its last commit in June 2026.
  • Roo Code — The repository was archived on GitHub after its final release in May 2026.
  • Continue — No longer actively maintained: the repository is read-only after a final 2.0.0 release in June 2026.

Frequently asked questions

Is there a free alternative to Cursor?
Yes. Zed, Cline and Kilo Code are free and open source. You still pay for the AI model per token, unless you run a local model. Zed and Cline can run local models.
What is the most popular open-source alternative to Cursor?
By GitHub stars, Zed (91,891 stars), followed by Cline and Kilo Code. Stars measure popularity, not quality, so try the two or three that fit how you work.
How much does it cost to run an open-source Cursor alternative?
The tools are free; the model is not. At about 1,500 agent steps a month, API fees come to roughly $140 on Claude Opus 5.5, $74 on Claude Sonnet 5.5, $9.25 on DeepSeek V4.1 Flash and $3.72 on Claude Haiku 5.5. Cursor costs $8 to $200 a month.
Can I use Claude or GPT models with these tools?
Zed, Cline and Kilo Code work with several providers’ APIs, including Anthropic and OpenAI, so you can run Claude or GPT models on your own API key.
Which Cursor alternatives are no longer maintained?
Void: The repository was archived on GitHub after its last commit in June 2026. Roo Code: The repository was archived on GitHub after its final release in May 2026. Continue: No longer actively maintained: the repository is read-only after a final 2.0.0 release in June 2026.

Head to head: Cline vs Cursor, Zed vs Cursor.

Cursor plans and prices: Cursor pricing. More alternatives: Claude Code, GitHub Copilot.