Gemini CLI vs Qwen Code: Free Terminal AI Coding Agents Compared
What each open-source agent needs, what is really free in 2026, and how to try them safely
Two open-source AI agents now run inside the terminal and can help with code: Gemini CLI from Google and Qwen Code, which is built on top of it. This guide compares what each one needs, what is free, and how to start safely. The video above is a short original explainer with subtitles in English, French and Arabic.
Our sources are the official GitHub repositories and documentation of both tools, and Google's June 2025 announcement for Gemini CLI. We did not run either tool ourselves, and free limits change, so confirm them on the official pages before you rely on them.
Side by side
| Feature | Gemini CLI | Qwen Code |
|---|---|---|
| Maker | Qwen team, built on Gemini CLI | |
| License | Apache 2.0 | Open source |
| Node.js needed | 20 or higher | 22 or later |
| Free sign-in | Login with Google: 60 requests per minute and 1,000 per day, per its documentation | The README says the free Qwen OAuth tier ended on April 15, 2026 |
| Local models | Not its focus | Ollama and vLLM mentioned in the README |
| MCP | Supported | Supported |
Gemini CLI
Gemini CLI is Google's open-source terminal agent. Its documentation describes a free allowance when you sign in with a personal Google account. The page that lists the numbers is undated and the announcement is from 2025, so the quota may have changed.
Qwen Code
Qwen Code is optimized for Qwen models and is built on Gemini CLI. Some pages mention a free sign-in, but the project's own README says the free Qwen OAuth tier ended on April 15, 2026. Where sources conflict we follow the README. The tool is free; the model behind it may not be, unless you run one locally.
Getting started in four steps
- Install the Node.js version the tool asks for.
- Install the tool using the command in its official README.
- Choose how to sign in or which model to use.
- Start in a test folder and ask it to explain the code.
Stay safe
- These agents can edit files and run commands, so read every command before you approve it.
- Try them on a copy of your project first.
- Never paste passwords or secret keys into a prompt.
- Copy installation commands only from the official repositories, because lookalike pages exist.
Separate pages for Gemini CLI and Qwen Code are also available in the free tools hub.