Gemini CLI vs Qwen Code

Gemini CLI and Qwen Code are both open-source AI coding agents for the terminal. They share a history: per the Qwen Code README, Qwen Code was first based on Gemini CLI v0.8.2 and has been developed on its own since v0.1. Here's how they differ on the basics.

Gemini CLIQwen Code
Made byGoogleAlibaba's Qwen team
Open sourceYes, Apache-2.0Yes, Apache-2.0 (some vendored parts carry other licenses, listed in its NOTICE file)
Sign-in and modelsPer its README, sign in with a Google account or use a Gemini API key.Per its 1.0 Preview release notes, it supports Qwen and Qoder accounts, multiple model providers and custom compatible endpoints.
Latest big changeSee the GitHub releases page.1.0 Preview (GitHub pre-release, Nov 11, 2026) merges in agent capabilities from Alibaba's Qoder and ships native macOS, Linux and Windows packages that don't need Node.js.
Where it runsTerminalTerminal
Official linkgithub.com/google-gemini/gemini-cligithub.com/QwenLM/qwen-code

When each one fits

Things to check on the official sites

Current pricing and free usage for each model provider, supported operating systems, and data and privacy terms for your code. Running either agent can cost money depending on the model account you connect.

Other terminal agents

Claude Code vs Gemini CLI · Claude Code vs Codex CLI · Codex CLI vs Every Code · Qwen3-Coder · Open-source AI coding agents · All terminal agents compared · More comparisons

This comparison isn't sponsored.