🌱 Welcome to Factnetize — honest, well-researched articles on tech, health and AI. Get the weekly →
Agentic AI

Claude Code alternatives: 8 coding agents for Windows, and who pays for each

Eight Claude Code alternatives for Windows users: Codex CLI, Google's Antigravity CLI, OpenCode, GitHub Copilot CLI, Qwen Code, DeepSeek Harness, Aider and Cline. Here's who pays for each, which models it uses, and how to install it.

Five small glowing terminal windows in different colors floating above a keyboard on a dark desk

⚡ Key takeaways

  • Eight Claude Code alternatives for Windows users: Codex CLI, Antigravity CLI, OpenCode, GitHub Copilot CLI, Qwen Code, DeepSeek Harness, Aider and Cline.
  • Google moved free Gemini CLI access to Antigravity CLI on June 18, 2026. You sign in with a Google account.
  • Already paying for ChatGPT or GitHub Copilot? Codex CLI and Copilot CLI are included in those plans.
  • Want DeepSeek, Kimi or Qwen? OpenCode or Qwen Code run them, with your own key or a cheap plan.

Claude Code is Anthropic’s coding agent, and it needs a Claude Pro or Max plan. If you want a terminal agent that runs on another model, costs less, or comes with a plan you already pay for, there are eight good Claude Code alternatives for Windows 11. This guide shows who pays for each one, which models it uses, and how to install it.

Tool Who pays Best for
Codex CLI ChatGPT plan ChatGPT subscribers
Antigravity CLI Free Google account Free start
OpenCode You pick the model Any model, free ones too
Copilot CLI Copilot plan GitHub users
Qwen Code Qwen plan or API key Qwen and open models
DeepSeek Harness Your model plugin Tinkerers
Aider Your API key Git-first editing
Cline Your API key Approving every step
Table 1 · Eight Claude Code alternatives for Windows

Codex CLI: OpenAI’s answer to Claude Code

Codex CLI is a coding agent from OpenAI that runs locally in your terminal, open source under the Apache-2.0 license. You sign in with a ChatGPT Plus, Pro, Business, Edu or Enterprise plan, or use an OpenAI API key instead.

If you have Node.js, this installs it:

npm install -g @openai/codex

Antigravity CLI: the Claude Code alternative by Google

Google’s terminal agent changed name this year. On June 18, 2026, free access moved from Gemini CLI to Antigravity CLI, and Gemini CLI itself no longer has a free tier. You sign in to Antigravity CLI with a Google account, and a free account is enough to start.

On Windows, run this in PowerShell:

irm https://antigravity.google/cli/install.ps1 | iex

The command it installs is agy. Expect limits: Real Python found the free tier’s usage limits tight, and they have changed since launch.

OpenCode: any model, including free ones

OpenCode is free and open source, and it runs whatever model you connect: its own free models, a free API key, GitHub Copilot, or DeepSeek and Kimi through the $10 Go plan. Download the Windows desktop app from opencode.ai. By default it edits files and runs commands without asking, so start it in a folder you can restore. Our OpenCode vs Claude Code comparison covers it in depth.

From my own use

OpenCode is one of the agents I use. I run it on free models and a free NVIDIA key, and my GitHub Copilot plan works inside it too.

GitHub Copilot CLI: included in every Copilot plan

If you have GitHub Copilot, you already have a terminal agent. Copilot CLI is available with all Copilot plans, and on Windows you install it with WinGet:

winget install GitHub.Copilot

It needs PowerShell 6 or newer on Windows. At work, your admin may have to switch on the Copilot CLI policy first.

Qwen Code, and the DeepSeek and Kimi route

Qwen Code is an open-source terminal agent from the Qwen team, under the Apache-2.0 license. You sign in with a Qwen subscription or connect any provider with an API key. It needs Node.js 22 or newer:

npm install -g @qwen-code/qwen-code@latest

Looking for a Claude Code alternative with DeepSeek or Kimi? OpenCode runs both, through its Go plan or your own API key, and our free LLM API guide lists keys that cost nothing.

DeepSeek Harness: DeepSeek’s own open runtime

DeepSeek Harness, run with the command dsh, is an open-source agent harness from DeepSeek under the MIT license. Every part of it, from the model to the tools, is a plugin you can swap. It is still a developer preview, and its README warns that compatibility-breaking changes will come.

With Node.js installed, this starts it with a web interface at http://127.0.0.1:3080:

npx @deepseek-ai/dsh web

On Windows, expect rough edges: a comparison by Composio notes that its sandbox has no native Windows support yet, only Linux and WSL2. Pick it if you like to tinker; for daily work, OpenCode runs DeepSeek models with less setup.

Aider: pair programming in your terminal

Aider is an open-source terminal assistant under the Apache-2.0 license that works with Claude, DeepSeek, OpenAI models and local models. On Windows, the official installer is one PowerShell line:

powershell -ExecutionPolicy ByPass -c "irm https://aider.chat/install.ps1 | iex"

You bring your own API key, so the cost depends on the model you pick.

Cline: an agent that asks before every step

Cline is the opposite of OpenCode. In its Act mode, every file edit and terminal command needs your approval, unless you switch on auto-approve. It is open source under Apache 2.0 and runs as a VS Code extension, a JetBrains plugin, a desktop app and a terminal CLI. It works with Claude, OpenAI, Gemini, OpenRouter, local models through Ollama or LM Studio, and any OpenAI-compatible API.

Claude Code alternatives: which one to pick

  • You pay for ChatGPT. Codex CLI, no extra cost.
  • You pay for GitHub Copilot. Copilot CLI, or Copilot inside OpenCode.
  • You want to start free. Antigravity CLI with a Google account, or OpenCode with its free models.
  • You want to choose the model yourself. OpenCode.
  • You want Qwen models. Qwen Code.
  • You want to approve every step. Cline.
  • You want to build your own agent. DeepSeek Harness, if you don’t mind a preview.

Switching between agents on one project? Our guide to AGENTS.md vs CLAUDE.md shows how to give them the same rules.

Frequently asked questions

Is there a free Claude Code alternative?

Yes. Antigravity CLI works with a free Google account, and OpenCode is free software with free models and free API keys. Both have usage limits.

John Lock
Written by

John Lock

The Tested Weekly

One email a week with the guides we tested, sources linked. No spam.

Leave a comment

Your email address will not be published. Required fields are marked *

Weekly · No spam

The Tested Weekly

One email a week with the guides we tested, sources linked.