Skip to content
AI Coding Tools

Claude Code alternatives

16 tools you can use instead of Claude Code, ranked by live GitHub stars and npm downloads. OpenCode, Cline and Open Interpreter are the most used. Stats updated 22 hours ago.

Short answer

Aider is the closest open source alternative: it also runs in the terminal, and you pay your chosen model provider directly. GitHub Copilot and Cursor are the alternatives if you want an agent inside an editor, and both have free tiers.

On this page

When Claude Code is not a good fit

It is a weaker choice for:

  • Developers wanting a standalone Claude Code subscription with no ties to a broader Claude plan
  • Very lightweight, single-line code completion, where a simpler inline autocomplete tool may be enough
  • Teams wanting a graphical, non-terminal-first interface as the primary experience
Claude Code pricing, features and usage

The alternatives

Most used first.

1

OpenCode

Open source AI coding agent for the terminal, IDE and desktop that works with 75+ model providers.

Pricing Open sourceOpen source Yes
View OpenCode
2

Cline

Open source autonomous coding agent for VS Code, JetBrains and the terminal that works with your own model provider.

Pricing Open sourceOpen source YesPaid from Enterprise: custom pricing
View Cline
4

GPT Engineer

Early open source tool for generating an entire codebase from a natural-language prompt.

Pricing Open sourceOpen source Yes
View GPT Engineer
5

Aider

Open source AI pair programming tool that runs in the terminal and edits your codebase with git commits.

Pricing Open sourceOpen source Yes
View Aider
7

Orkas

Open-source desktop app where a lead agent plans work and hands it to specialist agents and your coding CLIs.

Pricing FreemiumOpen source YesPaid from $5.99 a month (Lite)
View Orkas
8

Amazon Q Developer

AWS's AI coding and cloud assistant, successor to Amazon CodeWhisperer, with a free and $19 a month Pro tier.

Pricing FreemiumOpen source NoPaid from $19 per user a month (Pro tier)
View Amazon Q Developer
9

Cody

Sourcegraph's AI coding assistant, built on large-scale code search across an entire codebase.

Pricing PaidOpen source NoPaid from $16,000 minimum annual contract (Enterprise)
View Cody
10

Cursor

AI-powered code editor built on VS Code, made by Anysphere.

Pricing FreemiumOpen source NoPaid from $20 a month for Individual
View Cursor
11

Cursor 3

AI-first code editor with agentic coding features, plans from free to $200 a month, Teams from $30 a user.

Pricing FreemiumOpen source NoPaid from $8 a month (Plus plan)
View Cursor 3
12

GitHub Copilot

GitHub's AI pair programmer, with code completions, chat and coding agents in the editor.

Pricing FreemiumOpen source NoPaid from $10 a month for Copilot Pro
View GitHub Copilot
13

Google Antigravity

Google's agentic development platform for building with AI agents, free for individual developers.

Pricing FreeOpen source NoPaid from Contact Google for Enterprise pricing
View Google Antigravity
14

JetBrains AI

AI coding assistant built into JetBrains IDEs, priced through a monthly AI Credit system.

Pricing FreemiumOpen source NoPaid from $10 a month (AI Pro, 10 AI Credits per 30 days)
View JetBrains AI
15

Supermaven

Fast AI code completion tool with a large context window, owned by Cursor's maker Anysphere.

Pricing FreemiumOpen source NoPaid from $10 a month for the Pro plan
View Supermaven
16

Tabnine

AI code completion tool, acquired by Tricentis in 2026 to power enterprise AI testing agents.

Pricing FreemiumOpen source NoPaid from Contact Tabnine or Tricentis for current pricing
View Tabnine

Claude Code and its alternatives, side by side

ToolPricingFree planPaid fromOpen sourceGitHub stars
Claude CodeFreemiumNo standalone free tier; included with paid Claude Pro and Max subscriptions$20 a month (Claude Pro, monthly) or $17 a month billed annuallyNo158k
OpenCodeOpen sourceYes: the agent is free and open source. Model usage is billed by your provider, or through Zen credits.Not listedYes, MIT231k
ClineOpen sourceYes: the open source version has no subscription or seat fee. You pay for model usage.Enterprise: custom pricingYes, Apache-2.072.1k
Open InterpreterOpen sourceYes, fully free and open sourceNot listedYes, AGPL-3.069k
GPT EngineerOpen sourceYes, fully free and open sourceNot listedYes, MIT54.9k
AiderOpen sourceYes, Aider itself is free; you pay your chosen LLM provider directly for API usageNot listedYes, Apache-2.050.4k
smol-developerOpen sourceYes, fully free and open sourceNot listedYes, MIT12.2k
OrkasFreemiumYes: the source build is free with your own keys. The packaged app's free plan gives 500 lifetime credits, up to 5 shared projects and 100 MB of cloud storage.$5.99 a month (Lite)Yes, MIT7.7k
Amazon Q DeveloperFreemiumYes: 50 agentic requests a month and 1,000 lines of code transformation a month$19 per user a month (Pro tier)NoNone
CodyPaidA free trial is available; contact Sourcegraph for current details$16,000 minimum annual contract (Enterprise)NoNone
CursorFreemiumYes (Hobby): limited agent requests and access to Composer, no credit card required$20 a month for IndividualNoNone
Cursor 3FreemiumYes: a Free plan at $0 a month$8 a month (Plus plan)NoNone
GitHub CopilotFreemiumYes: 2,000 code completions and 50 chat requests a month, no AI credits included$10 a month for Copilot ProNoNone
Google AntigravityFreeYes, available at no charge for individual developersContact Google for Enterprise pricingNoNone
JetBrains AIFreemiumYes: AI Free tier includes 3 AI Credits per 30 days, no top-ups$10 a month (AI Pro, 10 AI Credits per 30 days)NoNone
SupermavenFreemiumYes: fast code suggestions, large codebase support, 7-day data retention$10 a month for the Pro planNoNone
TabnineFreemiumHistorically yes, with a free tier for individual developers; confirm current availability on Tabnine's siteContact Tabnine or Tricentis for current pricingNoNone

Pricing facts come from each tool's official pricing page, with the checked date on the tool's own page.

Questions

What is the most popular alternative to Claude Code?

By GitHub stars, OpenCode is the most used alternative to Claude Code listed on ScratchDB, with 231k stars.

Which Claude Code alternatives are open source?

OpenCode, Cline, Open Interpreter, GPT Engineer, Aider, smol-developer and Orkas are open source.

Which Claude Code alternatives have a free plan?

OpenCode, Cline, Open Interpreter, GPT Engineer, Aider, smol-developer, Orkas, Amazon Q Developer, Cursor, Cursor 3, GitHub Copilot, Google Antigravity, JetBrains AI and Supermaven have a free plan. The table on this page shows what each one includes.

All AI Coding Tools tools

Claude Code alternatives: 16 options compared (2026) | ScratchDB