-
Purpose Qwen3 is an open-source large language model series developed by the Alibaba Cloud Tongyi Qianwen team, targeting scenarios such as general conversation, complex reasoning, code generation, multilingual translation, and agent tool calling. The model weights are publicly available, allowing users to perform inference, fine-tuning, and secondary development on their own hardware or in the cloud.
-
Main Capabilities
-
Model scale and types: Provides dense and Mixture-of-Expert (MoE) models, including 0.6B, 1.7B, 4B, 8B, 14B, 32B, as well as 30B-A3B, 235B-A22B and other specifications.
-
Thinking mode switching: Qwen3 (i.e., Qwen3-2504) supports seamless switching between thinking mode (for complex logical reasoning, mathematics, and code) and non-thinking mode (for efficient general chat). It can be controlled via enable_thinking=False or the /think and /no_think instructions.
-
Qwen3-2507 updated version: Divided into two variants, Instruct and Thinking, covering three scales: 235B-A22B, 30B-A3B, and 4B.
- Qwen3-Instruct-2507: Supports only non-thinking mode, does not generate a <think></think> block in its output, and has improvements in instruction following, logical reasoning, text understanding, mathematics, science, code, tool use, multilingual long-tail knowledge, and alignment on subjective and open-ended tasks.
- Qwen3-Thinking-2507: Supports only thinking mode, and the default chat template automatically includes <think>. It reaches the leading level among open-source thinking models on logical reasoning, mathematics, science, code, and academic benchmarks, with increased thinking length.
-
Long context: Supports 256K token long-context understanding and can be extended to 1 million tokens (as of 2025.08.08, Qwen3-2507 supports 1M token ultra-long input).
-
Multilingual: Supports more than 100 languages and dialects, with strong multilingual instruction-following and translation capabilities.
-
Agent capabilities: Can precisely integrate external tools in both thinking and non-thinking modes, and is among the leading open-source models in complex agent tasks. It can be used with Qwen-Agent and supports tool calling, function calling, and MCP.
-
Usage
-
Model acquisition: You can search under the Hugging Face or ModelScope organization for checkpoints starting with Qwen3-, or visit the Qwen3 collection. Users in mainland China are advised to use ModelScope, which provides a Python API similar to Transformers, and can also download via the modelscope download command-line tool.
-
Transformers inference: Requires transformers>=4.51.0, with the latest version recommended. Supports batch inference, streaming output, and more.
-
Local running:
- llama.cpp: llama.cpp>=b5401 is recommended. Run via the CLI, or start the API server; the web frontend is at http://localhost:8080 , and the OpenAI-compatible API is at http://localhost:8080/v1 . llama.cpp uses "rotating context management," which can be configured via parameters.
- Ollama: v0.9.0 or above is recommended. After starting the Ollama service, use ollama run qwen3:8b or qwen3:30b-a3b to pull and run the model; the OpenAI-compatible API is by default at http://localhost:11434/v1/ . Note that Ollama naming may be inconsistent with Qwen's original naming; before use, you can check https://ollama.com/library/qwen3/tags Ollama likewise uses rotary context management, and the default num_ctx 2048 and num_predict -1 may cause issues, so it is recommended to set them appropriately.\n - LM Studio: Qwen3 is already supported, and GGUF files can be used directly.\n - ExecuTorch: can be exported to run on iOS, Android, Mac, Linux, etc.\n - MNN: supports running Qwen3 on mobile devices.\n - mlx-lm: available on Apple Silicon, requires mlx-lm>=0.24.0, and look for models on the Hugging Face Hub whose names end with MLX.\n - OpenVINO: available on Intel CPU or GPU.\n4. Deployment: SGLang (>=0.4.6.post1), vLLM (>=0.9.0), and TensorRT-LLM (>=0.20.0rc3) all support it and provide OpenAI-compatible APIs. Ascend NPU users can visit Modelers to search for Qwen3. Note that the API request preprocessing in SGLang and vLLM discards the reasoning_content field, which may affect the quality of multi-step tool calling; it is recommended to pass the content through as-is without extracting the thinking content.\n5. Quantization: supports GPTQ and AWQ quantization, as well as generating high-quality GGUF quantized files.\n6. Training and fine-tuning: supports frameworks such as Axolotl, UnSloth, Swift, and Llama-Factory, and can perform post-training such as SFT, DPO, and GRPO.\n\nIV. Applicable Scenarios\n- Complex logical reasoning, mathematical and scientific problem solving (Thinking mode)\n- Code generation and programming assistance (covered by both Instruct and Thinking)\n- Multilingual translation and cross-lingual instruction following\n- Agents and tool calling, function calling, MCP integration\n- Long document understanding (256K to 1M tokens)\n- Local private deployment, on-device execution, and quantized inference\n\nV. Limitations\n- Qwen3-Instruct-2507 supports only non-thinking mode; Qwen3-Thinking-2507 supports only thinking mode, and the two cannot be switched between modes.\n- Thinking-2507 has increased thinking length, and it is recommendedto reserve a sufficient maximum generation length for highly complex reasoning tasks.\n- When using the default configuration of llama.cpp or Ollama, rotary context management and the default values of num_ctx/num_predict may affect long conversations or long generation, and manual adjustment is required.\n- The current preprocessing of reasoning_content by SGLang and vLLM may reduce the quality of multi-step tool calling for thinking models.\n- Ollama model naming may differ from the official naming, and the corresponding versions will change over time.\n- For specific GPU memory requirements and throughput, refer to the official results page; local execution requires meeting the corresponding hardware conditions.\n- All open-source weights are licensed under Apache 2.0; see the respective Hugging Face repositories for the specific license files.
Qwen3
Alibaba Cloud's open-weight LLM/VLM families — the most complete open model lineup, strong in coding, multilingual, and agentic use. Qwen3.8 adds a dense vision-language model (image/video input) and **Qwen3.8-Flash-Next**, an ultra-cheap high-throughput variant previewing the Qwen4 architecture.