26 alternatives to Claude Code

Claude Code is a 开发工具 product. The community recommends 26 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

    开发工具

    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

    开发工具

    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

    开发工具

    Claude Code Templates 用于配置和监控 Claude Code 的 CLI 工具 - 使用特定于框架的命令、移动优先聊天界面和实时监控仪表板快速设置任何项目。

    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

    开发工具

    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

    开发工具

    [Orca](https://www.onorca.dev/) 是一款面向 AI 时代的桌面级 Agent Development Environment(ADE),由旧金山初创公司 Lovecast Inc. 开发,获 Y Combinator 支持,以 MIT 许可证开源发布。 Orca 的核心理念是将传统 IDE 的设计中心从"单个人类开发者"转移至"人类 + AI 代理舰队"。用户可以同时运行 [[Claude Code]]、[[Codex]]、Gemini、GitHub Copilot、OpenCode 等 25 个以上的 AI 编码代理,每个任务独占一个隔离的 [[Git Worktree]],从而实现真正意义上的并行开发。Orca 本身不提供任何 AI 模型,用户自带订阅(Bring Your Own Subscription)即可接入已有的 AI 服务。

    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)

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

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.

  • Blip logo
    Blip

    Blip 是一个点对点文件传输工具,支持无限大小文件传输,特别适合视频编辑和大型项目文件夹分享。

  • GA
    Google Antigravity

    Google 发布的集成开发环境,添加了 AI 支持

  • LT
    La Terminal

    La Terminal is a highly configurable terminal emulator and SSH client for modern workflows, offering a powerful and customizable command-line experience.

  • S
    Spokenly

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

  • W
    Whispering

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

    Open source
  • RC
    Remote Code

    Remote Code 是一个云端开发环境平台,允许开发者在浏览器中编写、运行和调试代码,无需本地安装任何软件。

Know another Claude Code alternative?

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