33 alternatives to Claude Code

Claude Code is a Software Development product. The community recommends 33 alternatives: 24 open source, 23 self-hostable and 23 free to use. They are ranked by community votes, ratings and favorites, with the key differences from Claude Code highlighted.

Last updated:

Claude Code logo

About Claude Code

Claude Code is an AI coding assistant from Anthropic. It works as an agent in your command-line terminal (CLI) and helps developers complete complex programming tasks through natural-language instructions.

Closed source
Not self-hostable
Subscription
Web
Windows
Linux
macOS

Quick picks

C

Most voted

Cursor

1 vote

ChatGPT logo

Top rated

ChatGPT

5 (1 rating)

KC

Best open-source pick

Kimi Code

Open source

CC

Best self-hosted pick

Claude Code Templates

Run it on your own server

CC

Best free pick

Claude Code Templates

Free to use

Orca logo

Most platforms

Orca

Available on Windows, macOS, Linux, Android, iOS, and iPad

All alternatives

  1. 1
    1.

    Cursor

    Software Development

    Cursor is a proprietary AI-assisted IDE built on Visual Studio Code. With a deep understanding of your project's context, it generates, refactors, debugs and documents code, significantly improving development speed and code quality.

    Subscription
    Windows
    macOS
    Web
    Linux
  2. 0

    ChatGPT is an advanced AI language model that generates human-like text and engages in interactive conversations.

    5 (1 rating)1 like1 favoriteDetailsWebsite
  3. 0
    3.

    Kimi Code

    Software Development

    A coding assistant from Kimi.

    Open source
    Windows
    macOS
    Linux

    Compared with Claude Code

    • + Open source (Claude Code is not)
    • − Not on Web
    4 (1 rating)DetailsWebsite
  4. 0
    4.

    Claude Code Templates

    Software Development

    Claude Code Templates is a CLI tool for configuring and monitoring Claude Code - quickly set up any project with framework-specific commands, a mobile-first chat interface, and a real-time monitoring dashboard.

    Open source · MIT
    Self-hostable
    Free
    Web

    Compared with Claude Code

    • + Open source (Claude Code is not)
    • + Self-hostable (Claude Code is not)
    • + Free to use (Claude Code is paid)
    • − Not on Windows, Linux, and macOS
  5. 0
    5.

    Codex

    Software Development

    A software development tool from OpenAI.

    Open source · Apache-2.0
    Self-hostable
    macOS
    Linux
    Windows

    Compared with Claude Code

    • + Open source (Claude Code is not)
    • + Self-hostable (Claude Code is not)
    • + Free to use (Claude Code is paid)
    • − Not on Web
  6. 0
    6.

    Aider

    AI

    aider is AI pair programming in your terminal

    Open source · Apache-2.0
    Self-hostable

    Compared with Claude Code

    • + Open source (Claude Code is not)
    • + Self-hostable (Claude Code is not)
    • + Free to use (Claude Code is paid)
  7. 0
    7.

    Cline

    AI

    Autonomous coding agent as an SDK, IDE extension, or CLI assistant.

    Open source · Apache-2.0
    Self-hostable

    Compared with Claude Code

    • + Open source (Claude Code is not)
    • + Self-hostable (Claude Code is not)
    • + Free to use (Claude Code is paid)
  8. 0

    Use Claude Code, OpenCode, Cursor CLI, and Codex on mobile and web with CloudCLI (aka Claude Code UI). CloudCLI is a free open source webui/GUI that helps you manage your Claude Code session and projects remotely.

    Open source · AGPL-3.0
    Self-hostable

    Compared with Claude Code

    • + Open source (Claude Code is not)
    • + Self-hostable (Claude Code is not)
    • + Free to use (Claude Code is paid)
  9. 0

    open-source coding agent

    Open source · Apache-2.0
    Self-hostable

    Compared with Claude Code

    • + Open source (Claude Code is not)
    • + Self-hostable (Claude Code is not)
    • + Free to use (Claude Code is paid)
  10. 0
    10.

    crush

    AI

    Glamourous agentic coding for all 💘

    Open source · fsl-1-1-mit
    Self-hostable

    Compared with Claude Code

    • + Open source (Claude Code is not)
    • + Self-hostable (Claude Code is not)
    • + Free to use (Claude Code is paid)
  11. 0
    11.

    dirac

    AI

    Coding Agent singularly focused efficiency and context curation. Reduces API costs by 50-80% vs other agent AND improves the code quality at the same time. Uses Hash Anchored edits, massively parallel operations, AST manipulation and many many other optimizations. https://dirac.run/

    Open source · Apache-2.0
    Self-hostable

    Compared with Claude Code

    • + Open source (Claude Code is not)
    • + Self-hostable (Claude Code is not)
    • + Free to use (Claude Code is paid)
  12. 0
    12.

    flue

    AI

    The sandbox agent framework.

    Open source · Apache-2.0
    Self-hostable

    Compared with Claude Code

    • + Open source (Claude Code is not)
    • + Self-hostable (Claude Code is not)
    • + Free to use (Claude Code is paid)
  13. 0
    13.

    Happy

    AI

    Happy is the open-source desktop app for Claude Code, Codex, and Grok, with an iOS and Android app to control your coding agents from anywhere.

    Open source · MIT
    Self-hostable

    Compared with Claude Code

    • + Open source (Claude Code is not)
    • + Self-hostable (Claude Code is not)
    • + Free to use (Claude Code is paid)
  14. 0

    The agent that grows with you

    Open source · MIT
    Self-hostable

    Compared with Claude Code

    • + Open source (Claude Code is not)
    • + Self-hostable (Claude Code is not)
    • + Free to use (Claude Code is paid)
  15. 0

    A lightweight alternative to OpenClaw that runs in containers for security. Connects to WhatsApp, Telegram, Slack, Discord, Gmail and other messaging apps,, has memory, scheduled jobs, and runs directly on Anthropic's Agents SDK

    Open source · MIT
    Self-hostable

    Compared with Claude Code

    • + Open source (Claude Code is not)
    • + Self-hostable (Claude Code is not)
    • + Free to use (Claude Code is paid)
  16. 0

    ⌥ Coding agent with the IDE wired in. Built by Stencil Labs.

    Open source · MIT
    Self-hostable

    Compared with Claude Code

    • + Open source (Claude Code is not)
    • + Self-hostable (Claude Code is not)
    • + Free to use (Claude Code is paid)
  17. 0

    runs anywhere. uses anything

    Open source · MIT
    Self-hostable

    Compared with Claude Code

    • + Open source (Claude Code is not)
    • + Self-hostable (Claude Code is not)
    • + Free to use (Claude Code is paid)
  18. 0

    The open source coding agent.

    Open source · MIT
    Self-hostable

    Compared with Claude Code

    • + Open source (Claude Code is not)
    • + Self-hostable (Claude Code is not)
    • + Free to use (Claude Code is paid)
  19. 0

    🙌 OpenHands: AI-Driven Development

    Open source · MIT
    Self-hostable

    Compared with Claude Code

    • + Open source (Claude Code is not)
    • + Self-hostable (Claude Code is not)
    • + Free to use (Claude Code is paid)
  20. 0
    20.

    openrig

    AI

    Build your own network of agents from Claude Code, Codex and Pi: persistent teams with roles, shared context and owned work.

    Open source · Apache-2.0
    Self-hostable

    Compared with Claude Code

    • + Open source (Claude Code is not)
    • + Self-hostable (Claude Code is not)
    • + Free to use (Claude Code is paid)
  21. 0
    21.

    Orca

    Software Development

    [Orca](https://www.onorca.dev/) is a desktop Agent Development Environment (ADE) built for the AI era. It is developed by Lovecast Inc., a San Francisco startup backed by Y Combinator, and released as open source under the MIT license. Orca's core idea is to shift the design center of the traditional IDE from "a single human developer" to "a human plus a fleet of AI agents." Users can run more than 25 AI coding agents at the same time, including [[Claude Code]], [[Codex]], Gemini, GitHub Copilot and OpenCode. Each task gets its own isolated [[Git Worktree]], which makes truly parallel development possible. Orca itself does not provide any AI models; users bring their own subscriptions (Bring Your Own Subscription) to connect the AI services they already use.

    Open source · MIT
    Self-hostable
    Free
    Windows
    macOS
    Linux
    Android
    iOS
    iPad

    Compared with Claude Code

    • + Open source (Claude Code is not)
    • + Self-hostable (Claude Code is not)
    • + Free to use (Claude Code is paid)
    • + Also on Android, iOS, and iPad
    • − Not on Web
  22. 0
    22.

    paseo

    AI

    Orchestrate multiple coding agents from desktop and mobile

    Open source · Apache-2.0
    Self-hostable

    Compared with Claude Code

    • + Open source (Claude Code is not)
    • + Self-hostable (Claude Code is not)
    • + Free to use (Claude Code is paid)
  23. 0
    23.

    Pi

    AI

    AI agent toolkit: unified LLM API, agent loop, TUI, coding agent CLI

    Open source · MIT
    Self-hostable

    Compared with Claude Code

    • + Open source (Claude Code is not)
    • + Self-hostable (Claude Code is not)
    • + Free to use (Claude Code is paid)
  24. 0

    Roo Code gives you a whole dev team of AI agents in your code editor.

    Open source · Apache-2.0
    Self-hostable

    Compared with Claude Code

    • + Open source (Claude Code is not)
    • + Self-hostable (Claude Code is not)
    • + Free to use (Claude Code is paid)
  25. 0
    25.

    t3code

    Software Development

    T3 Code is an agent control surface that lets users manage local coding agents from mobile, web, or desktop clients.

    Open source · MIT
    Self-hostable

    Compared with Claude Code

    • + Open source (Claude Code is not)
    • + Self-hostable (Claude Code is not)
    • + Free to use (Claude Code is paid)
  26. 0

    Lightweight coding agent written in Rust, optimized for memory footprint and performance

    Open source · GPL-3.0
    Self-hostable

    Compared with Claude Code

    • + Open source (Claude Code is not)
    • + Self-hostable (Claude Code is not)
    • + Free to use (Claude Code is paid)
  27. 0

    A powerful AI tool that combines DeepSeek R1 with Claude 3.7 Sonnet/Gemini Pro to deliver outstanding code generation and content creation

  28. 0
    28.

    Qwen Code

    Software Development

    Qwen Code is a command-line AI coding assistant from the Qwen team (Tongyi Qianwen). In your terminal, you can use natural language to have it understand a codebase, generate and modify code, and carry out development tasks.

  29. 0

    GitHub Copilot CLI is GitHub's AI coding agent for the terminal. It can read, write, and run code from the command line. It connects directly to GitHub issues and pull requests, and can take you all the way from planning to merging your code.

  30. 0
    30.

    Amp

    Software Development

    Amp is a coding agent and development environment built for frontier models. It can run unattended on remote orb machines in the cloud, or locally on your own machine through the CLI.

  31. 0
    31.

    Factory Droid

    Software Development

    Factory Droid is Factory's terminal AI coding agent. Through an interactive terminal UI (TUI), you can delegate an entire ticket, refactor, or investigation to Droid. It supports slash commands, resumable sessions and missions, as well as Skills, MCP, hooks, and plugins.

  32. 0
    32.

    Kilo Code

    Software Development

    Kilo Code is an open-source AI coding agent that works in VS Code, JetBrains, the command line, a desktop app and the cloud. It supports 500+ models, bills at cost with no markup, and also lets you use your own keys or local models.

  33. 0
    33.

    Grok Build

    Software Development

    Grok Build is a terminal coding agent and command-line tool from xAI, currently in beta. It can plan tasks, edit multiple files, and run commands in your terminal to handle complex coding work.

Claude Code vs. alternatives

ServiceOpen sourceSelf-hostedLicensePricingPlatformsRatingVotes
Claude Code
Current
NoNoCommercialSubscriptionWeb / Windows / Linux / macOS5 (1)—
CursorNoNoCommercialSubscriptionWindows / macOS / Web / Linux—1
ChatGPTNoNo———5 (1)0
Kimi CodeYesNo——Windows / macOS / Linux4 (1)0
Claude Code TemplatesYesYesMITFreeWeb—0
CodexYesYesApache-2.0—macOS / Linux / Windows—0
AiderYesYesApache-2.0———0
ClineYesYesApache-2.0———0
CloudCLIYesYesAGPL-3.0———0
ContinueYesYesApache-2.0———0
crushYesYesfsl-1-1-mit———0
diracYesYesApache-2.0———0
flueYesYesApache-2.0———0
HappyYesYesMIT———0
hermes-agentYesYesMIT———0
NanoClawYesYesMIT———0
oh-my-piYesYesMIT———0
openclaudeYesYesMIT———0
opencodeYesYesMIT———0
OpenHandsYesYesMIT———0
openrigYesYesApache-2.0———0
OrcaYesYesMITFreeWindows / macOS / Linux / Android / iOS / iPad—0
paseoYesYesApache-2.0———0
PiYesYesMIT———0
Roo CodeYesYesApache-2.0———0
t3codeYesYesMIT———0
zerostackYesYesGPL-3.0———0
DeepClaudeNoNo————0
Qwen CodeNoNo————0
GitHub Copilot CLINoNo————0
AmpNoNo————0
Factory DroidNoNo————0
Kilo CodeNoNo————0
Grok BuildNoNo————0

FAQ

What is the best alternative to Claude Code?

Cursor has the most community votes (1 vote). Other recommendations include ChatGPT, Kimi Code, Claude Code Templates, Codex, and Aider; compare open source, self-hosting, pricing and platforms to choose.

Is there a free alternative to Claude Code?

Yes. Claude Code Templates, Codex, Aider, Cline, CloudCLI, and Continue can be used for free; the open-source, self-hostable ones can be run on your own server at no cost.

Is there an open-source alternative to Claude Code?

Yes. Open-source alternatives include Kimi Code, Claude Code Templates, Codex, Aider, Cline, and CloudCLI.

Can I self-host an alternative to Claude Code?

Yes. Claude Code Templates, Codex, Aider, Cline, CloudCLI, and Continue can run on your own server, so you keep control of your data.

Which Claude Code alternatives work on Web?

Cursor and Claude Code Templates support Web.

Which Claude Code alternatives work on Windows?

Cursor, Kimi Code, Codex, and Orca support Windows.

Which Claude Code alternatives work on Linux?

Cursor, Kimi Code, Codex, and Orca support Linux.

Services in the same category that haven't been suggested as Claude Code alternatives yet. If one fits, add it as an alternative.

  • M
    Muxy

    Muxy is a native macOS terminal optimized for coding agents.

  • L
    Listenhub

    Listenhub is an AI-powered platform that converts text to speech, enabling users to listen to articles, documents, and more as audio content.

  • Longshot logo
    Longshot

    Longshot is a screenshot tool with OCR, on-screen measuring, pinned images, screen recording, and a color picker. Scrolling screenshots, step annotations, mosaic, highlighting: get creative with your screen!

  • RC
    Remote Code

    Remote Code is a cloud-based development environment platform that lets developers write, run, and debug code in the browser without installing any software locally.

  • W
    Whispering

    Whispering is a transcription service within the Epicenter project, converting audio to text.

    Open source
  • S
    Spokenly

    Spokenly helps you learn and practice languages by connecting you with native speakers for interactive conversations and personalized feedback.

Know another Claude Code alternative?

Once added, the community can vote and the best suggestions rise to the top.