Qwen4-35B-A3B brings open weights and a million-token context

Qwen4-35B-A3B arrived on Hugging Face on 4 December with open weights, an Apache 2.0 licence and a million-token context window. It is a multimodal model, meaning it can process more than text. For a home lab, the first question is whether its full weights and working memory fit your machine.

35B

main model parameters, approximately

1M

advertised context tokens

36–37GB

default Ollama build sizes listed

The short version#

  • Hugging Face's launch post describes native text, image and video input, with text output. That does not mean every local application supports all three input types.
  • It uses a mixture of experts: selected parts of the network do the work for each token, a small unit of text.
  • Qwen's official model card says 3B active parameters. Hugging Face's post says approximately 3.8B. We are reporting both figures rather than treating them as identical.
  • There are additional embedding weights beyond the 35B main network. The launch post describes approximately 56B total parameters.
  • Ollama v0.40.21 lists the model. Use its official library entry, and use the official Qwen namespace for direct Hugging Face downloads.

What happened#

The Hugging Face announcement, dated 4 December, introduces Qwen4-35B-A3B as an open model from Alibaba's Qwen team. Open weights means the trained numerical parameters can be downloaded and used locally. The announcement lists Apache-2.0 as the licence, which matters for people adapting or redistributing the model as well as for those running it privately.

The model combines linear attention and sparse attention. Attention is the mechanism that selects information from earlier input. The launch post describes a repeating pattern that combines a compact running memory with layers that look back at selected tokens. The practical aim is to process long inputs without the cost of attending to everything in the same way at every layer.

Its model card lists a native context length of 1,048,576 tokens. The 1M description is the rounded headline figure. Context is the space available for the conversation and other material the model handles; it is not a promise that a desktop can process that entire amount quickly.

There is also a counting difference to keep visible. Qwen's official model card describes 35B parameters with 3B activated, plus 20B n-gram embedding parameters and 2B for multi-token prediction. Hugging Face gives approximately 3.8B active parameters and approximately 20.5B per-layer embeddings, describing approximately 56B total. We could not establish a common counting method that reconciles all those numbers.

Science cornerScience corner: active parameters are not a memory requirement

Parameters are learned numbers. A mixture-of-experts model chooses a subset of its expert networks for each token, reducing the calculation needed at that moment. The other weights still exist and must be stored somewhere. Embedding tables add more stored numbers. Quantization reduces the precision used to store weights, shrinking files, but running the model also needs memory for its context and other work. A 3B active count therefore does not make this a 3B download.

The Ollama v0.40.21 notes, published on 4 December, explicitly list Qwen4-35B-A3B. That confirms a local distribution route; the model's architecture, hardware demands and licence are the focus here. We cover the broader runtime changes in our Ollama article.

Am I affected?#

Your setupWhat the sources establishPractical decision
A small machine chosen around the 3B active figureThe model has many more stored parametersCheck actual build size before downloading
A machine with 32 GB total memoryOllama lists default builds at 36–37 GBDo not assume full in-memory operation fits
A machine with more memory or mixed CPU/GPU storageFit depends on format, context and runtime overheadTest a short text conversation first
A large accelerator serverHugging Face demonstrates BF16 serving on an H200 141GBTreat this as a documented example, not the minimum
An Apple silicon MacThe launch post describes local llama.cpp and MLX routesCheck the selected backend and available unified memory

Ollama's official library lists its default model at 36–37 GB, a Q4_K_M build at 37 GB and BF16 variants at 114 GB. BF16 is a 16-bit numerical representation. These are listed build sizes, not measured peak memory consumption or a universal recommendation for a particular graphics card.

We would leave room for the operating system and other services, then increase context gradually. We have not benchmarked this model and are not assigning a minimum RAM or graphics-memory figure that the sources do not provide. The library labels its inputs as text and image; native video support in the model announcement should not be read as confirmation of video input in every Ollama workflow.

What to do now#

  1. Choose the source before the format. For direct downloads, start at Qwen/Qwen4-35B-A3B. The first part is the uploader's namespace. Our GGUF security report explains why a familiar model name under a different account is insufficient. Do not substitute an unknown re-upload when a command fails.

  2. Use the documented Ollama library route for a first local test. The commands below refer to the official library's qwen4 entry, a separate distribution route from Hugging Face namespaces. Check your installed application version in its About or version display; v0.40.21 is the release verified here. These commands assume Ollama is already installed and running on the model host.

Linux#

Run in terminalbash
ollama run qwen4
ollama ls
ollama ps

Windows#

In PowerShell:

Run in terminalpowershell
ollama run qwen4
ollama ls
ollama ps

Mac#

Run in terminalbash
ollama run qwen4
ollama ls
ollama ps

Expected: the first command downloads the library model if needed and opens a conversation. After leaving that conversation, the list commands show installed and currently loaded models. Test a simple text question before connecting files, images or tools. If the application cannot load it, record the actual message and compare your build and memory with the current documentation.

  1. For llama.cpp, verify the model file before starting. Hugging Face confirms launch support, but its ready-made GGUF examples use the ggml-org namespace. We could not open a corresponding Qwen/Qwen4-35B-A3B-GGUF repository. We therefore cannot give a verified direct GGUF pull under Qwen's namespace. If you require that provenance, wait for a verified Qwen release or validate a local conversion from Qwen's original weights.

Once you have a compatible GGUF whose origin you have verified, the documented local-file server interface is below. qwen4-reviewed.gguf is a dummy filename, not a download we verified. This is a conditional launch example, not a complete conversion recipe or a promise of image support.

Linux#

Run in terminalbash
llama-server --version
llama-server -m ./qwen4-reviewed.gguf --ctx-size 8192

Windows#

Codepowershell
.\llama-server.exe --version
.\llama-server.exe -m ./qwen4-reviewed.gguf --ctx-size 8192

Mac#

Run in terminalbash
llama-server --version
llama-server -m ./qwen4-reviewed.gguf --ctx-size 8192

Expected: build information, then a server loading the local file with an explicitly chosen context. The 8,192-token setting is our conservative example, not Qwen's prescribed requirement. Use a current compatible build and review its model support. For tool-enabled use, provide a reviewed model-specific template using llama.cpp's documented --chat-template-file option.

  1. Keep the licence with the files. Apache 2.0 is the verified licence label. Read its terms before distributing modified weights or bundling the model in an application. A permissive model licence does not establish the accuracy of generated answers or grant rights to unrelated input documents.

Common mistakes#

MistakeWhy it happensDo this instead
Buying hardware around 3B active parametersCompute and storage counts are confusedCompare the full build size and leave working memory
Setting a million-token context immediatelyA supported maximum looks like a useful defaultBegin with a short workload and measure memory
Assuming video works in every local appModel capabilities and app interfaces differCheck the runtime's documented input types
An AI assistant invents a Qwen GGUF repository or suggests an old runtimeNames and commands look predictableOpen the source and verify support before downloading

Our take#

We see an interesting local model with a permissive licence and unusually long advertised context. Its active parameter count deserves less attention than the full weight footprint when planning a home-lab installation. We would start with a verified distribution and a short text workload, then add features one at a time.

Sources#

Checked on 5 December 2026.

  1. Qwen4-35B-A3B model card - Qwen, December 2026.
  2. Welcome Qwen 4 - Hugging Face, 4 December 2026.
  3. Qwen4 library entry - Ollama, checked 5 December 2026.
  4. Ollama v0.40.21 - Ollama, 4 December 2026.
  5. Command-line reference - Ollama, checked 5 December 2026.
  6. llama.cpp server reference - llama.cpp project, checked 5 December 2026.

Try one of these