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 CLI | Qwen Code | |
|---|---|---|
| Made by | Alibaba's Qwen team | |
| Open source | Yes, Apache-2.0 | Yes, Apache-2.0 (some vendored parts carry other licenses, listed in its NOTICE file) |
| Sign-in and models | Per 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 change | See 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 runs | Terminal | Terminal |
| Official link | github.com/google-gemini/gemini-cli | github.com/QwenLM/qwen-code |
When each one fits
- You use Google's Gemini models or a Google account: Gemini CLI is Google's own agent.
- You use Qwen models or want to plug in several providers: Qwen Code supports Qwen and Qoder accounts plus other providers and compatible endpoints.
- You want stable behavior: the Qwen Code 1.0 release is still a preview, and its notes say interfaces and options may change. The README also says it isn't accepting community pull requests until after December 2026.
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.