All posts

ComparisonDevfab Team8 min read

Qwen Code vs Gemini CLI: the fork that grew past its parent, or Google's agent now kept for paying enterprises

Qwen Code vs Gemini CLI, checked November 2026: the Gemini CLI fork that works with any model, versus Google's agent now limited to enterprise and API users.

Qwen Code vs Gemini CLI: the fork that grew past its parent, or Google's agent now kept for paying enterprises

Short answer: Qwen Code wins for most individual developers and mixed-model teams: it works with OpenAI, Anthropic, Gemini, Qwen and local models and keeps adding interfaces. Gemini CLI wins for enterprises already licensed for Gemini Code Assist that want an Apache-2.0 terminal agent with a ready GitHub Action, on Gemini models only.

Qwen Code vs Gemini CLI: two terminal agents that share a starting point and then split

You want an open-source agent in your terminal. Two names keep coming up, and they share the same roots.

One camp says Gemini CLI is the original, backed by Google. The other says Qwen Code took that base and moved faster. Both camps are partly right, and 2026 changed the facts under both. This page is the referee, with sources checked in November 2026.

In this comparison:

The status changes come first, because they decide a lot.

Qwen Code and Gemini CLI at a glance

Gemini CLI is in transition. On May 19, 2026 Google announced that Gemini CLI is "transitioning" to Antigravity CLI. Since Jun 18, 2026 it no longer serves Google AI Pro or Ultra users or free Gemini Code Assist for individuals. Gemini Code Assist Standard and Enterprise customers and paid API-key users keep access (Google Developers Blog). The repo is not archived; its README says it is maintained for enterprise workflows, and the latest release notes are v0.64.0 from Oct 13, 2026 (GitHub; release notes). Google also says Antigravity CLI will not have "1:1 feature parity right out of the gate", and FOSS Force noted that Antigravity CLI "won't be open source" (FOSS Force).

Qwen Code lost its free tier. Decrypt reported on Apr 15, 2026 that Alibaba ended the Qwen OAuth free tier (Decrypt). The project itself is active, with a 1.0 Preview out and docs updated Nov 9, 2026.

Shared roots. Qwen Code was based on Gemini CLI v0.8.2 and has developed on its own since v0.1 (Qwen Code README).

Who each is for now. Gemini CLI: enterprises with Code Assist licenses and developers on paid Gemini API keys. Qwen Code: developers who want one agent for any model, and teams on Alibaba Cloud or Qwen models.

Picture a utility outage reporter: residents report outages from a phone, crews see them on a map, and the status page updates. Either agent can help a developer write that code. Neither plans it, tests it in a browser or deploys it.

Feature comparison

AspectQwen CodeGemini CLISource
Where it runsTerminal CLI; VS Code, Zed and JetBrains; desktop app; experimental web UI; Telegram, DingTalk, WeChat, FeishuTerminal (npx, npm, Homebrew, MacPorts, Anaconda); headless mode with text, JSON or stream-JSONQwen Code README; Gemini CLI
PlanningPlan Mode and approval modesAutonomous plan execution in non-interactive mode (v0.63.0)Qwen Code README; release notes
Agent featuresSubAgents; experimental Agent Teams and Arena; scheduled tasks; SkillsCheckpointing to save and resume; GEMINI.md context filesSame as above
ExtensibilityMCP, hooks, Skills, experimental LSP; SDKs for TypeScript, Python, JavaMCP; run-gemini-cli GitHub Action for PR reviews and issue triageSame as above
SafetySandboxing, approval modes, Git worktreesSandboxingSame as above
Model choiceOpenAI, Anthropic, Gemini, Qwen, third-party, local via Ollama or vLLMGemini models only; 1M-token context cited for Gemini 3Same as above
LicenseOpen sourceApache-2.0, about 109k GitHub starsGemini CLI
Pricing modelFree tool; pay for models via Qwen plans, Alibaba Cloud plans or any API keyFree tool; paid Code Assist license, Gemini API key or Vertex AIQwen Code auth; Gemini CLI

Neither tool's docs describe deploying an app or running end-to-end UI tests.

Illustration: Qwen Code and Gemini CLI compared on model choice, interfaces, CI support and access in 2026

Cost model by team size

Team sizeQwen CodeGemini CLIDevfab
1 personFree tool; a Qwen Plus or Pro subscription, a pay-as-you-go key, or local modelsFree tool; paid Gemini API key (individual plans moved to Antigravity CLI)Cost logged per task and per project (Beta)
5 peopleAlibaba Cloud Coding Plan (fixed monthly fee) or keys per developerGemini API keys or Code Assist Standard licensesCost logged per task and per project (Beta)
25 peopleQwenCloud or Alibaba Token Plans, or any third-party keyCode Assist Enterprise or Vertex AICost logged per task and per project (Beta)

Neither tool has its own pricing page with prices. See Qwen Code authentication and the Gemini CLI README. Devfab is in Beta and offers predictable cost: cost is logged after each run, per task and per project.

Where Qwen Code wins

  • You don't have a Code Assist license. Individuals on Google AI plans lost Gemini CLI access; Qwen Code takes any key.
  • You mix models or run them locally. OpenAI, Anthropic, Gemini, Qwen, Ollama and vLLM, switchable at runtime.
  • You want more places to work. IDE integrations, a desktop app, a web UI and chat channels.
  • You want to embed the agent. SDKs for TypeScript, Python and Java.
  • You want a tool that keeps growing. Weekly updates in 2026 added phone handoff and longer goal tasks (Qwen Code update).

Where Gemini CLI wins

  • You already pay for Gemini Code Assist Standard or Enterprise. Nothing changed for you, and TechRadar notes business users need not change anything (TechRadar).
  • You want a ready GitHub Action. run-gemini-cli handles PR reviews, issue triage and @gemini-cli mentions.
  • You need very large context on Gemini. The repo cites a 1M-token window for Gemini 3.
  • Your legal team wants Apache-2.0 and a large community. About 109k stars as of Nov 27, 2026.
  • You run Vertex AI. Enterprise teams can route through it.

Switching from one to the other

Gemini CLI to Qwen Code. Install Qwen Code with npm (Node 22+) or Homebrew, then sign in with a Qwen plan or add an API key. Because Qwen Code grew from Gemini CLI, commands will feel familiar, but check MCP and context-file setups again; it has developed on its own since v0.1.

Qwen Code to Gemini CLI. Install Gemini CLI, sign in with an organizational Code Assist license or set a Gemini API key, and move project context into GEMINI.md files. Expect Gemini models only.

Where Devfab fits

Both tools help a developer write code faster. Neither runs the project around that code. For the outage reporter, someone still has to research how utilities report outages, agree a plan with the client, test that a resident's report reaches the crew map, and ship it.

Coding agents automate the developer. Devfab automates the development lifecycle. Its Researcher maps the domain before the Planner writes a plan, and a person approves it. ChainFlow maps which functions and APIs call each other, so changing outage status shows its effect on the map, the public status page and resident alerts. The QA agent runs UI, flow and logic tests, and code stays in your GitHub. Devfab is in Beta and is not an editor. See Devfab vs Qwen Code and Devfab vs Gemini CLI.

FAQ

Is Qwen Code a fork of Gemini CLI?

It started as one. The Qwen Code README says it was based on Gemini CLI v0.8.2 and has been developed independently since v0.1, with no syncing from upstream. The two have since grown apart in interfaces, features and model support.

Can I still use Gemini CLI with a Google AI Pro account?

No. Since Jun 18, 2026 Gemini CLI no longer serves requests for Google AI Pro or Ultra users or free Gemini Code Assist for individuals. Google points those users to Antigravity CLI. Gemini Code Assist Standard or Enterprise customers and paid API-key users keep access.

Which one is free?

Both tools are free, open-source software, but neither gives free cloud model access any more. Qwen Code's OAuth free tier ended in April 2026, and Gemini CLI's free individual access moved to Antigravity CLI in June 2026. Qwen Code can run local models through Ollama or vLLM.

Which is better for CI pipelines?

Gemini CLI has a headless mode with JSON output and a run-gemini-cli GitHub Action for PR reviews and issue triage. Qwen Code offers SDKs for TypeScript, Python and Java, and its docs say to use an API key rather than account login for CI runs.

Need more than a terminal agent for the next client app? Try Beta

Frequently asked questions

Is Qwen Code a fork of Gemini CLI?

It started as one. The Qwen Code README says it was based on Gemini CLI v0.8.2 and has been developed independently since v0.1, with no syncing from upstream. The two have since grown apart in interfaces, features and model support.

Can I still use Gemini CLI with a Google AI Pro account?

No. Since Jun 18, 2026 Gemini CLI no longer serves requests for Google AI Pro or Ultra users or free Gemini Code Assist for individuals. Google points those users to Antigravity CLI. Gemini Code Assist Standard or Enterprise customers and paid API-key users keep access.

Which one is free?

Both tools are free, open-source software, but neither gives free cloud model access any more. Qwen Code's OAuth free tier ended in April 2026, and Gemini CLI's free individual access moved to Antigravity CLI in June 2026. Qwen Code can run local models through Ollama or vLLM.

Which is better for CI pipelines?

Gemini CLI has a headless mode with JSON output and a run-gemini-cli GitHub Action for PR reviews and issue triage. Qwen Code offers SDKs for TypeScript, Python and Java, and its docs say to use an API key rather than account login for CI runs.