# Qwen Code

> Open-source terminal coding agent optimized for Qwen3-Coder models.

- Website: https://github.com/QwenLM/qwen-code
- Category: Coding & Development
- Source page: https://opendirs.com/en/tools/qwen-code
- Pricing: Open source
- Starting price: $0
- Public API: No
- Open source: Yes
- Chinese language: Yes
- Accessible from mainland China: Unknown
- Platforms: Unknown
- Country: China
- Last verified: Nov 28, 2026

## Overview

Qwen Code is an open-source AI coding agent for the terminal from Alibaba's Qwen team, adapted from Gemini CLI and tuned for Qwen3-Coder models. It can explore and edit codebases, run commands, and automate workflows, and it works with Qwen's API, OpenAI-compatible endpoints, or self-hosted Qwen models.

**Best for:** Developers who want an open terminal agent built around Qwen coding models.

## Key features

- Agentic code understanding and editing in the terminal
- Optimized prompts and parsers for Qwen3-Coder
- OpenAI-compatible API configuration
- Free quota options via Qwen OAuth

## Use cases

- Refactoring and documenting codebases with Qwen models
- Running a coding agent against self-hosted open models
- Automating git and pull request chores

## Pros

- Open source and works with open-weight models
- Strong fit for teams in the Qwen ecosystem
- Low-cost model options

## Cons

- Feature set closely follows Gemini CLI
- Quality depends on the chosen Qwen model

## Alternatives

- [Instructor](https://opendirs.com/en/tools/instructor.md)
- [LangChain4j](https://opendirs.com/en/tools/langchain4j.md)
- [Poolside](https://opendirs.com/en/tools/poolside.md)
- [OpenCode](https://opendirs.com/en/tools/opencode.md)
- [Repomix](https://opendirs.com/en/tools/repomix.md)

## FAQ

### What is Qwen Code?

Qwen Code is an open-source AI coding agent for the terminal from Alibaba's Qwen team, adapted from Gemini CLI and tuned for Qwen3-Coder models. It can explore and edit codebases, run commands, and automate workflows, and it works with Qwen's API, OpenAI-compatible endpoints, or self-hosted Qwen models.

### Is Qwen Code free?

Qwen Code uses a Open source pricing model (verified Nov 28, 2026).

### Does Qwen Code have an API?

As of Nov 28, 2026, Qwen Code does not offer a public developer API.

### Does Qwen Code support Chinese, and is it available in China?

Qwen Code supports Chinese, and it has unverified availability in mainland China.

### What are the best alternatives to Qwen Code?

Popular alternatives to Qwen Code include Instructor, LangChain4j, Poolside, OpenCode.

_Last verified: Nov 28, 2026_