NewsStocksQwen Explained: A Guide to Alibaba's AI Model Family

Qwen Explained: A Guide to Alibaba's AI Model Family

Author: Decrypt·

Key Takeaways

  • •Hugging Face's summer 2026 report counted 151,448 models derived from Qwen, 4.7 times as many as Llama and 2.6 times the number derived from all Meta model families combined.
  • •Alibaba released Qwen 4-Max on November 16, 2026, a closed-weight model with 2.4 trillion parameters, native vision, and a context window of roughly one million tokens.
  • •Qwen recorded 39.6 million monthly downloads in the GGUF format used by local runtimes, compared with 7.5 million for Llama.
  • •Qwen 4-Max scored 43 on Artificial Analysis's Intelligence Index at launch, up from 34 for Qwen 3.8-Max but below Kimi K3.1 Pro's 46, while its measured cost per evaluation task fell to $3.27 from $10.02.
  • •Meta's underwhelming Llama 4 release in 2025 preceded a shift toward proprietary models such as Muse Spark and Muse Wonder, leaving its downloadable lineup behind Chinese competitors.
Qwen Explained: A Guide to Alibaba's AI Model Family

Qwen is Alibaba's family of language and multimodal AI models, and its downloadable releases have generated more derivatives on Hugging Face, the platform where developers share and download model weights, than Meta's Llama. The lineup spans a proprietary flagship, Qwen 4-Max, and the Qwen 3.8 generation of downloadable models, which ranges from a 27-billion-parameter desktop option to a 2.4-trillion-parameter heavyweight. Developers can run smaller Qwen models locally or connect agents to hosted versions through an API.

From Llama standby to Alibaba standard

A few years ago, Meta's Llama was the obvious starting point for building an AI chatbot without paying for every conversation. Today, a growing share of those projects begin with Qwen, developed by Chinese tech giant Alibaba.

Qwen, short for Tongyi Qianwen, started out as a large language model (LLM) in 2023. Alibaba offers a ChatGPT-like interface called Qwen Studio, but much of the family's influence comes from downloadable models that developers can adapt.

Hugging Face's summer 2026 report counted 151,448 models derived from Qwen on its platform — 4.7 times as many as Llama and 2.6 times the number derived from all Meta model families combined. Qwen also accounted for 39.6 million monthly downloads in the GGUF format popular with local AI users — a quantized file format used by local runtimes such as Ollama and llama.cpp — compared with Llama's 7.5 million.

Those derivatives include fine-tunes, merges, and compressed versions. Alibaba benefited from serving a wide range of hardware, while Meta's disappointing Llama 4 release in 2025 preceded a shift toward proprietary AI. Meta launched the closed-weight Muse Spark in April 2026 and followed it with Muse Wonder, its October frontier model. Wonder's API version trailed Anthropic's Claude Opus 5.5 in independent testing at launch, although the larger Wonder Full was competitive, and Meta subsequently released an open-weight Muse Spark variant.

Llama's loss of ground does not mean Meta has abandoned downloadable models altogether, but it is currently lagging behind China's models.

The Qwen generations

The original Qwen-7B appeared in August 2023, followed by Qwen1.5 in early 2024 and Qwen2 that June. Qwen 2.5, released in September 2024, expanded the lineup from 0.5 billion to 72 billion parameters and added dedicated math and coding models; most carried the permissive Apache 2.0 license, which permits commercial use and redistribution, with the 3B and 72B variants as exceptions. (Parameters are essentially the knobs that determine how much an AI model can do, and more of them generally translates into improved performance.)

In 2025, QwQ-32B introduced a dedicated reasoning model, and Qwen 3 brought thinking and non-thinking modes into a single model family. The latter shipped in sizes from 0.6B to 235B, with later variants separating those modes and introducing Qwen3-Coder, Qwen3-VL for vision, and Qwen3-Next for efficiency.

Qwen 3.5 arrived in February 2026, combining visual and language understanding in its core models, and the family made such an impact that it flooded the open-source community with a wave of fine-tunes. The Apache-licensed Qwen3.6 series improved coding and tool use with 27B and 35B-A3B downloadable models, while the hosted Qwen 3.7 generation concentrated on longer agentic workflows.

August's Qwen 3.8 release brought a 27B dense model, Flash-Next, and — for the first time — a downloadable Max-class model with 2.4 trillion parameters. The 27B model uses Apache 2.0; Flash-Next and the 2.4T model carry separate, more restrictive Qwen licenses. Open weights provide access to learned parameters, not necessarily the original training data or the full training code.

Alibaba released Qwen 4-Max on November 16, 2026, with 2.4 trillion parameters, native vision, and a context window of roughly one million tokens — the amount of information it can process in a single session. Its weights are closed, although Alibaba has promised smaller downloadable Qwen 4 models.

What makes Qwen different?

Parameters are the numerical values a model learns during training. Dense models engage essentially the entire network for every token, whereas mixture-of-experts (MoE) models route tokens to a subset of specialized networks. Qwen 3.8-Max activates 95 billion of its 2.4 trillion parameters per token; Qwen 4-Max brings that down to 71 billion. That reduces computation, but a self-hosted MoE still needs access to the entire model's weights, not just the active ones.

Qwen 3.5 introduced hybrid attention, combining layers that maintain a compact running representation of previous information with conventional attention layers that can directly revisit earlier tokens. Training on images and text together also makes models capable of interpreting screenshots and documents without relying on a separately trained language model.

Flash-Next previews Qwen 4-era architectural changes, including sparse attention and a 51B-parameter n-gram embedding table, which stores learned representations of short token sequences. Its main network holds 125B parameters but activates only 6B — an arrangement designed to reduce computation during inference, when the trained model produces answers.

How good are the proprietary models?

Qwen 4-Max is Alibaba's flagship for demanding reasoning and agentic work. It accepts text, images, and video, produces text, and costs $1.50 per million input tokens and $4.50 per million output tokens through Qwen Cloud, versus $2 and $6 for the previous flagship.

Artificial Analysis scored Qwen 4-Max 43 on its Intelligence Index at launch, a composite score aggregating tests of coding, reasoning, and knowledge work, compared with 34 for Qwen 3.8-Max and 46 for Kimi K3.1 Pro. Its measured cost per evaluation task was $3.27, down from $10.02 for Qwen 3.8-Max.

On SWE-bench Pro, a software engineering benchmark that measures the percentage of repository issues successfully resolved against tests, Alibaba reported 61.7% for Qwen 3.8-27B and 62.5% for Flash-Next. The earlier Max model scored 67.7%, against Claude Fable 5's 80%, though different agent harnesses limit the comparison.

For hosted applications, Qwen 3.7-Plus offers a middle ground, while Qwen 3.8-Flash targets speed and lower costs. Qwen 3.8-Flash is the managed counterpart to Flash-Next, with a longer default context and built-in tools.

Which Qwen model should you run locally?

Quantization is a technique that stores weights at lower precision to save memory — like watching a movie in 720p to save space instead of downloading a 4K video. At four bits, a model needs roughly half a gigabyte per billion parameters before runtime and context overhead.

The following are estimated four-bit memory targets with modest context lengths, not official minimums. CPU RAM or Apple Silicon's unified memory can substitute for GPU memory, usually with speed trade-offs.

  • 0.8B / 2B Qwen 3.5 — 2–4 GB of available memory: basic classification, extraction, and lightweight offline assistants; runs on a smartphone.
  • 4B / 9B Qwen 3.5 — 4–8 GB / 8–12 GB: everyday chat, summarization, and simple coding on laptops or budget GPUs.
  • 27B Qwen 3.6 or 3.8 / 35B-A3B Qwen 3.5 or 3.6 — 20–24 GB / 24–32 GB: serious local coding and agents. Choose 3.8-27B for capability or 35B-A3B for faster generation on suitable hardware.
  • 122B-A10B Qwen 3.5 / Flash-Next — roughly 80–96 GB / 110–128 GB or more: larger agents and workstation or server workloads. Flash-Next's extra embeddings make its storage footprint larger than its 125B main network suggests.
  • 397B-A17B Qwen 3.5 / 2.4T-A95B Qwen 3.8 — roughly 240 GB or more / more than 1.2 TB of weight memory alone at four bits: multi-GPU servers rather than ordinary PCs.

Qwen 4-Max requires no local GPU because it is hosted.

Beyond language models: images, audio, and more

The Qwen family includes many members beyond text generators.

Qwen-Image is Alibaba's generative image family. The downloadable Qwen Image 2.1 combines image generation and editing, including transparent images, with a 7B-parameter visual generation component; its Turbo variant reduces the number of generation steps. The hosted Qwen Image 3.0 and 3.0 Pro target more complex layouts and text rendering, and the original 3.0 launched without downloadable weights.

Qwen 3-VL and newer vision-language models read images rather than generate them. Qwen 3-Omni combines text, image, audio, and video inputs with speech generation, while Qwen 3.8-Omni-Flash and Qwen Audio 3.1-Live offer hosted multimodal and real-time voice interfaces.

Downloadable Qwen 3-ASR models transcribe speech, Qwen 3-TTS synthesizes it, and Qwen 3-Embedding and Qwen 3-Reranker help search documents for relevant information. Alibaba also develops Wan for video generation, a separate model family. Qwen's Deep Research service combines several specialized models into a single experience.

Which Qwen fine-tunes are worth trying?

Fine-tuning adapts a model through additional training. DeepSeek's R1-Distill-Qwen models, based on Qwen 2.5 at 1.5B, 7B, 14B, and 32B, are prominent examples of using a larger model's reasoning outputs to train smaller ones. Nous Research's Hermes 4 14B adapts Qwen 3 for structured outputs and general assistance. For Qwen 3.5-9B and Qwen 3.6-35B-A3B, Jackrong's Qwopus variants are community options for reasoning, while Nous's Arete-27B modifies Qwen 3.8-27B's alignment.

None is universally superior to its parent model, and independent tests for many newer fine-tunes remain scarce. For Flash-Next and the 2.4T model, start with Alibaba's original releases rather than assuming a community fine-tune is better. GGUF and FP8 conversions are quantizations, not fine-tunes, and closed models such as Qwen 4-Max cannot be independently fine-tuned from downloaded weights.

How to power an AI agent with Qwen

For local use, install Ollama and enter the following command in a terminal to download and run Qwen 3.8-27B; substitute a smaller model such as qwen3.5:9b if memory is limited:

ollama run qwen3.8:27b

Connect an agent that supports OpenAI-compatible APIs, a common interface format that lets the same agent tooling connect to different model providers, to set its model to qwen3.8:27b, and use a placeholder API key such as ollama. LM Studio and llama.cpp provide alternative local servers; vLLM and SGLang suit larger GPU deployments.

For cloud use, create a QwenCloud API key and configure the agent with the regional OpenAI-compatible endpoint. Alternatively, subscribe to third-party providers such as Nous Research, Nvidia NIM, or Open Router, which host the model and let you switch to another LLM for more optimized workflows.

Qwen Code is Alibaba's terminal-based agent, but compatible tools such as OpenCode and Claude Code can also use Qwen through supported configurations. The agent supplies tools, executes actions, and feeds results back to the model; test tool calling before allowing it to modify files or access sensitive accounts.

Local inference avoids per-token charges, and model processing stays on your hardware. For now, Qwen 4-Max remains a hosted service; the company has yet to release the promised smaller Qwen 4 weights.

Conclusion

Qwen's rise shows that a model's influence is not necessarily determined by its position on a benchmark leaderboard. By releasing models that developers can run and modify, Alibaba has built an ecosystem that extends far beyond its own chatbot.

For most users, the choice comes down to hardware, privacy, and the complexity of the task. A smaller Qwen model can handle everyday work locally, while larger hosted models make more sense for demanding reasoning and agentic workflows.

The next test for Alibaba is whether it can maintain that balance between open-weight releases and proprietary models. Qwen owes much of its success to the community that builds on it, and the accessibility of future generations could determine whether it retains that advantage.