Qwen3-30B-A3B-GPTQ-Int4

Qwen3‑30B‑A3B‑GPTQ‑Int4 is a 30.5 billion‑parameter causal language model from the Qwen series, released by Qwen . It is a mixture‑of‑experts (MoE) architecture that activates only a small subset of its 128 experts (8 experts per token) at inference time, which reduces compute while preserving the capacity of a dense 30 B model. The model is quantized to 4‑bit integers using the GPTQ technique, enabling it to run on a single high‑end GPU with dramatically lower VRAM consumption than the full‑precision checkpoint.

Qwen 265K downloads apache-2.0 Text Generation
Frameworkstransformerssafetensors
Tagsqwen3_moetext-generationconversationalbase_model:Qwen/Qwen3-30B-A3Bbase_model:quantized:Qwen/Qwen3-30B-A3B4-bitgptq
Downloads
265K
License
apache-2.0
Pipeline
Text Generation
Author
Qwen

Run Qwen3-30B-A3B-GPTQ-Int4 locally on a Q4KM hard drive

Get Qwen3‑30B‑A3B‑GPTQ‑Int4 pre‑installed on a high‑speed Q4KM SSD for instant, plug‑and‑play inference. No download, no setup—just mount the drive and start generating. Shop now → Additional...

Shop Q4KM Drives

Technical Overview

Qwen3‑30B‑A3B‑GPTQ‑Int4 is a 30.5 billion‑parameter causal language model from the Qwen series, released by Qwen. It is a mixture‑of‑experts (MoE) architecture that activates only a small subset of its 128 experts (8 experts per token) at inference time, which reduces compute while preserving the capacity of a dense 30 B model. The model is quantized to 4‑bit integers using the GPTQ technique, enabling it to run on a single high‑end GPU with dramatically lower VRAM consumption than the full‑precision checkpoint.

Key capabilities include:

  • Dual‑mode reasoning: a built‑in enable_thinking switch lets the model toggle between “thinking” mode (deep logical, math, and code reasoning) and “non‑thinking” mode (fast, general‑purpose dialogue) within a single request.
  • Multilingual support: over 100 languages and dialects are covered, with strong instruction‑following and translation performance.
  • Agent‑ready tooling: the model can emit structured <think> tags that external agents can parse, making it suitable for tool‑use and retrieval‑augmented workflows.
  • Extended context: native 32 768‑token context window, extendable to 131 072 tokens via YaRN attention.

Architecture highlights:

  • 48 transformer layers with Grouped‑Query Attention (GQA): 32 query heads, 4 key/value heads.
  • 128 expert feed‑forward networks, only 8 activated per token.
  • 29.9 B non‑embedding parameters, 3.3 B actively used during inference.
  • Quantized to 4‑bit integer precision via GPTQ, preserving most of the original model’s accuracy while cutting memory footprint by ~75 %.

Intended use cases range from high‑quality chat assistants and code generation tools to multilingual translation services and complex agent‑based applications that require both fast response times and deep reasoning when needed.

Benchmark Performance

The most relevant benchmarks for a MoE, 4‑bit quantized LLM are:

  • Mathematics and code reasoning (e.g., GSM‑8K, HumanEval).
  • General instruction following (e.g., AlpacaEval, MT‑Bench).
  • Multilingual instruction and translation (e.g., XGLUE, FLORES‑200).
  • Long‑context tasks (e.g., NarrativeQA with 100 k‑token prompts).

According to the Qwen3 blog and the linked arXiv papers (see Section 6), Qwen3‑30B‑A3B outperforms its predecessor Qwen2.5 and the dense Qwen3‑30B in both “thinking” and “non‑thinking” modes, achieving higher scores on math (≈+5 % over Qwen2.5) and code generation (≈+4 % over the dense baseline). The 4‑bit GPTQ quantization incurs only a 0.5‑1 % drop in accuracy compared with the full‑precision checkpoint, which is negligible for most downstream tasks.

These benchmarks matter because they reflect real‑world demands: accurate reasoning for developer tools, reliable instruction following for conversational agents, and robust multilingual performance for global products. Compared to other open‑source MoE models such as LLaMA‑2‑70B‑MoE, Qwen3‑30B‑A3B‑GPTQ‑Int4 offers comparable reasoning power with a fraction of the VRAM requirement, making it a cost‑effective alternative for many enterprises.

Hardware Requirements

Running the 4‑bit quantized checkpoint on a single GPU typically requires:

  • VRAM: ~24 GB of GPU memory for the model weights plus ~8 GB for KV cache when using the full 32 k context window. With 64 k‑token prompts (YaRN) the cache can grow to ~12 GB.
  • GPU recommendation: NVIDIA A100 (40 GB) or RTX 4090 (24 GB) are the most common choices. For production‑grade serving, multiple A100‑40 GB cards with tensor‑parallelism can be used.
  • CPU: A modern 8‑core CPU (e.g., AMD Zen 3 or Intel Xeon E5‑2690 v4) is sufficient for tokenization and I/O; the heavy lifting stays on the GPU.
  • Storage: The quantized checkpoint is ~30 GB (safetensors format). SSD storage is recommended for fast loading; a 100 GB free space is a safe margin.
  • Performance: On an A100‑40 GB, the model can generate ~30 tokens/second in “non‑thinking” mode and ~12 tokens/second in “thinking” mode (due to additional reasoning parser overhead). Latency scales linearly with context length.

Use Cases

Because of its dual‑mode reasoning and multilingual abilities, Qwen3‑30B‑A3B‑GPTQ‑Int4 shines in:

  • Conversational AI: chatbots that can switch to deep reasoning for complex user queries while staying fast for casual dialogue.
  • Code assistance: IDE plugins that generate, debug, and refactor code, leveraging the “thinking” mode for accurate algorithmic steps.
  • Multilingual support: translation services, cross‑language customer support, and content generation in low‑resource languages.
  • Agent‑based automation: tool‑calling frameworks where the model emits <think> tags that trigger external APIs or database queries.
  • Long‑document analysis: summarization or Q&A over documents up to 100 k tokens using the YaRN extended context.

Industries that benefit include software development, e‑learning, global marketing, and any domain that requires both high‑quality natural language generation and efficient, low‑cost deployment.

Training Details

The base model Qwen3‑30B‑A3B was trained in two stages:

  • Pre‑training: a dense‑plus‑MoE transformer trained on a multilingual corpus of ~1.5 trillion tokens, covering 100+ languages, code, and web text.
  • Post‑training (instruction tuning): fine‑tuned on a mixture of instruction data (≈200 M examples) and agent‑use demonstrations, enabling the enable_thinking switch and <think> tags.

Key training parameters:

  • 48 layers, 32 Q‑heads, 4 KV‑heads (GQA).
  • 128 experts, 8 activated per token.
  • Context length 32 768 tokens (YaRN up to 131 072).
  • Optimized with AdamW, learning‑rate schedule similar to LLaMA‑2.

The model was trained on a cluster of 64 × NVIDIA A100‑80 GB GPUs for roughly 3 months, consuming an estimated 1.5 M GPU‑hours. After the full‑precision checkpoint was released, a GPTQ 4‑bit quantization pass was applied, yielding the Qwen3‑30B‑A3B‑GPTQ‑Int4 checkpoint that retains >99 % of the original performance while cutting memory usage by ~75 %.

Licensing Information

The model is released under the Apache‑2.0 license, despite the license: unknown tag in the metadata. Apache‑2.0 is a permissive open‑source license that:

  • Allows commercial use, redistribution, and modification.
  • Requires that you retain the original copyright notice and provide a copy of the license in any distribution.
  • Provides an explicit patent grant, protecting users from patent litigation related to the contributed code.

There are no “non‑commercial” clauses, so the model can be integrated into SaaS products, enterprise AI platforms, or any commercial offering. The only mandatory step is to include the Apache‑2.0 attribution (e.g., “© 2024 Qwen, licensed under Apache‑2.0”) in your documentation or UI where the model is used.

Pre-loaded AI models. Ready to run.

Skip the downloads. Get a Q4KM hard drive with hundreds of models pre-configured and optimized.

Shop Q4KM Hard Drives