# Alibaba releases Qwen 4 model for local use

Published 2026-12-04 · AI.info Team · AI.info

> Qwen4-35B-A3B accepts text, images and video and has a native 1 million-token context window. It is available with local inference support and an Apache 2.0 license.

Alibaba’s Qwen team has released a downloadable model that accepts text, images and video and can run locally on [Apple](https://ai.info/companies/apple-inc) Silicon. The Qwen4-35B-A3B release is available on [Hugging Face](https://huggingface.co/Qwen/Qwen4-35B-A3B) under an Apache 2.0 license, the platform said in a December 4 post.

The model produces text and has a native context window of 1 million tokens. Hugging Face says it worked with the Qwen team on release-day support across tools for running and serving the model, including Transformers, llama.cpp, vLLM and SGLang.

The mixture-of-experts model has about 35 billion main parameters, of which about 3.8 billion are active per token. It also has about 20.5 billion per-layer n-gram embedding parameters, bringing the total to about 56 billion.

Its text decoder repeats a four-layer pattern 10 times. Three layers use Gated DeltaNet, which updates a fixed-size memory as it reads tokens; the fourth uses Qwen Sparse Attention to look back at selected tokens in the context.

The model has 256 routed experts. For each input to an expert block, eight selected experts and a shared expert produce a combined output that is passed through the model’s residual streams.

A vision transformer processes images and video before passing visual tokens to the text decoder. For video, the processor samples two frames per second and groups consecutive sampled frames into pairs.

The release includes support for llama.cpp and [Llama](https://ai.info/companies/meta) App. Hugging Face shipped three quantized GGUF versions to the Hub: Q4_K_M at 4-bit, Q6_K at 6-bit and Q8_0 at 8-bit.

The GGUF version supports multi-token prediction speculative decoding, which uses draft tokens during generation. In a Hugging Face test using three draft tokens, generation speed increased 22% on an Apple Silicon M5 with the Q4 quantized version.

The oMLX runtime supports image input, multi-token prediction and offloading the per-layer embedding table to an SSD. Support for the language model in the official mlx-lm repository is still on its way.

The LiteRT Community has also published a version for [Google](https://ai.info/companies/google)'s LiteRT-LM runtime, with support across Mac, Windows and Linux. That version defaults to a 256K context and can be configured up to 1 million tokens. The community says a 1 million-token context window runs on a 36 GB Mac.

Developers can set the model’s reasoning effort to xhigh, high, low or off; high is the default. Qwen’s model card cautions that lower effort does not always reduce total completion time in multi-turn agent tasks: although it may produce faster per-turn responses, it can also lead to insufficient analysis, more failures and repeated retries.

Model weights and configuration files are available in the Hugging Face Transformers format. The APIs will be available at Qwen Cloud soon, according to the model card.

## Sources

1. Original source [Hugging Face](https://huggingface.co/Qwen/Qwen4-35B-A3B) “Qwen/Qwen4-35B-A3B” huggingface.co

Other pages read

2. [LiteRT Community](https://huggingface.co/blog/litert-community/qwen4-in-litertlm) “Bringing Qwen 4 to Your Laptop: 1M Context Local Agentic Workflows with LiteRT-LM” huggingface.co
3. [Hugging Face](https://huggingface.co/blog/qwen4) “Welcome Qwen 4: Cutting-edge intelligence on-device” huggingface.co

## Companies in this story

- [Hugging Face Inc.](https://ai.info/companies/hugging-face-inc)

## Related stories

- [Together AI offers Alibaba’s Qwen4 Max with a 1M-token context](https://ai.info/news/together-ai-qwen4-max-serverless-inference)
- [Alibaba releases Qwen4-Max with a million-token context window](https://ai.info/news/alibaba-releases-qwen4-max-flagship-model)
- [Alibaba's QwenCloud opens Qwen4-Max-Preview through November 25](https://ai.info/news/alibaba-qwen4-max-limited-preview)
- [Three Qwen3.8 Models Sent Web Requests to Alibaba Cloud](https://ai.info/news/qwen-38-models-alibaba-cloud-requests)
- [NVIDIA posts draft models for Qwen3.8-27B decoding](https://ai.info/news/nvidia-qwen38-27b-speculative-decoding-drafts)

## Explore

[More articles](https://ai.info/news)

---

Canonical: https://ai.info/news/alibaba-qwen4-35b-local-ai-release
