← Blog

AI Tools and Productivity

How to Run a 1M-Token AI Model on Your Own Computer: Qwen4-35B-A3B Guide (2026)

By ProAccess Team, ProAccess.me · 6 December 2026 · 9 min read

Illustration of a laptop running an AI model offline, with a long document and code flowing into a local chat window

On 3–4 December 2026, Alibaba's Qwen team released Qwen4-35B-A3B, a flagship-class AI model, as free open weights on Hugging Face under the Apache 2.0 licence. It was the lead open-model story of the week. This is the first open model of its class that ordinary people can plausibly run at home, on a laptop, offline, with a native 1-million-token context window.

If you have ever wondered how to run AI on your own computer — without subscriptions, without sending your data to a server, and without paying per token — this guide explains what Qwen4 actually is, what your computer needs to run it, and how to set it up step by step.

What Qwen4-35B-A3B Actually Is

Qwen4-35B-A3B is a sparse Mixture-of-Experts (MoE) model: 35 billion parameters in total, but only about 3 billion active per token — each token is routed through 8 of 256 specialist "experts" plus one shared expert, across 40 layers. Because most of the model stays idle for any given word, it runs far faster and lighter than a dense model of the same size.

Three facts define it:

  • Native 1,048,576-token context, built in rather than stretched later. It accepts text, images and video as input and produces text output.
  • Apache 2.0 licence. Free for personal and commercial use, including shipping it inside a paid product — keep the licence notice and mark changed files.
  • Open weights. You download the model itself, not just API access.

One honest footnote: Hugging Face lists the model as 57 billion parameters, not 35 billion, because the checkpoint also carries a 20-billion-parameter n-gram embedding table and a 2-billion-parameter multi-token prediction component. The 35B figure is the core model; the extra table is about 13 GiB of the download, but it can sit on your SSD instead of in memory, using Unsloth's "Engram" technique.

On Qwen's own numbers — treat these as vendor claims — the model beats the dense Qwen3.8-27B on almost every test and trades blows with the larger Qwen3.8-Flash-Next. It also ranked first among 17 open-weight models in the 4B–40B class on the Artificial Analysis Intelligence Index. In plain terms: it is a genuinely strong model, not a novelty.

What "Open-Weight" Means — and Why It Matters

Most AI you use today is rented: you send a prompt to someone else's server, they run the model, and they send an answer back. The model can change, the price can rise, the service can be switched off, and your data passes through their systems. An open-weight model flips that arrangement:

  • You download it. Once the files are on your machine, the model is yours.
  • You run it offline. After the download, no account and no internet connection are needed.
  • Your data never leaves your machine. Prompts, documents and code stay local — the strongest privacy guarantee available.
  • There is no per-token bill. You pay once, for the hardware, and then you can generate as much as you like.

This matters most where data costs, privacy and unreliable connectivity are real constraints: a student or freelancer with a laptop and no budget can now run a serious AI model for free.

What a 1M-Token Context Actually Lets You Do

A token is roughly three-quarters of a word, so one million tokens is around 750,000 words — about ten novels in one conversation. That changes what you can ask in a single prompt:

  • Drop in a whole codebase. Ask questions across dozens of files at once, or get a summary of how an entire project fits together.
  • Feed it long documents. A full research paper, a contract set, a year's worth of meeting notes — all in one prompt.
  • Work with hours of transcripts. Summarise a full day of interviews or lectures without splitting the material.

But here is the honest limit. The model remembers context using a KV cache, and Qwen4's cache costs about 20 KiB per token. At 32K tokens that is a manageable 0.63 GiB; at the full 1-million-token window, roughly 20 GiB of cache alone — before the model itself is loaded. So the full 1M context is not realistic on a laptop. What is realistic is tens of thousands of tokens — still far more than most people ever use.

Can Your Computer Run It?

Quantized (compressed) builds of Qwen4 need roughly 18–25 GB of memory. The Q4_K_M file is about 33 GiB in total — a ~20 GiB core plus the 13.11 GiB n-gram table, which can live on SSD. Here is what each tier can do:

SetupMemoryWhat you can do
Lightweight laptop~18 GB RAMShort chats and simple tasks with a 3-bit quant, n-gram table on SSD
24 GB MacBook24 GB unified memoryComfortable everyday use with MLX builds
32 GB Windows laptop32 GB RAMLonger documents and coding help with GGUF builds
Single-GPU desktop24 GB+ VRAMFastest generation and much longer context

With less than 18 GB of usable memory, Qwen4 is probably not your model — but the hosted route below needs no local hardware at all.

Step-by-Step: Run Qwen4 on Your Own Computer

Guides appeared within hours of the release, and GGUF builds were available the same day. The process is straightforward:

1. Check your free memory

Close heavy apps and check how much RAM is actually free — not just installed. You need roughly 18 GB free for the smallest build.

2. Download a quantized build from Hugging Face

Grab a GGUF quant — Q4_K_M is the best starting point — or an Unsloth build. On Apple silicon, look for the MLX version. This is the only step that needs the internet, and the download is tens of gigabytes.

3. Load it in llama.cpp or Ollama

Both are free, open tools. Ollama is the easiest: one command pulls and runs the model. llama.cpp gives finer control over settings like context size and offloading.

4. Start your first offline chat

Once loaded, you can disconnect from the internet entirely and keep chatting. Try a long document first. Two tips: start with Q4_K_M, and keep the n-gram table on your SSD.

Local vs Hosted: When to Run It Yourself — and When Not To

Running Qwen4 locally is exciting, but it is not right for everyone. Here is the honest comparison:

FactorRun it locallyUse a hosted service
CostFree after hardware; no per-token billPay per use — Qwen Cloud: about $0.06 per million input tokens, $0.36 per million output tokens
PrivacyYour data never leaves your machineYour prompts go to someone else's server
SpeedSlower on a laptop; fast on a good GPUFast, on demand, from anywhere
Setup effortDownload tens of GB, configure a tool, manage updates yourselfNone — sign up and start typing
Long contextFull 1M tokens needs ~20 GiB of cache — not a laptop jobFull context available, billed per token

If you want the hosted route without managing anything, pay-as-you-go API credits are the natural middle ground. Muse AI Top-Up gives you hosted AI API credits you use only when you need them. For developers who want Qwen-class models through an API, CodeCraft API offers API access to AI models ready to drop into your projects. And if you would rather have an AI agent do the work for you, Manus AI is an agentic platform that handles tasks end to end.

Run it locally if privacy, offline access or zero marginal cost matter most; stay hosted if you want speed, convenience and the full 1M context without buying hardware.

What It Can't Do Well Yet

This is a fast-moving release, not a finished verdict — community testing is still early, and a few quirks have surfaced:

  • Chinese characters in English output. Testers have found Chinese text appearing in otherwise English responses. It does not break the model, but it is a rough edge worth knowing about.
  • Heavy token burn in default reasoning mode. The high-reasoning default uses a lot of tokens before answering, making local generation slower and hosted use more expensive. Dialling the reasoning effort down helps.

Frequently Asked Questions

Is Qwen4-35B-A3B really free?

Yes. Alibaba released the weights under the Apache 2.0 license, which allows free personal and commercial use, including shipping it inside a paid product — just keep the license notice and mark changed files. The only real cost is the hardware.

How much RAM do I need to run Qwen4 on my own computer?

Quantized builds need roughly 18–25 GB of memory. The smallest practical setup is about 18 GB of RAM with a 3-bit quant and the n-gram table offloaded to an SSD; a 24 GB MacBook or a 32 GB Windows laptop is a comfortable fit. The full 1-million-token context needs around 20 GiB of KV cache alone, so it is not realistic on a laptop.

Can Qwen4 run on a Mac or a Windows laptop?

Yes, both. On Apple silicon, MLX builds are the usual route; on Windows and Linux, GGUF quantized files load in llama.cpp or Ollama. You download the model files once, then run them entirely offline — no account or internet connection needed afterwards.

Is my data private when I run an AI model locally?

Yes — that is one of the main reasons to do it. A locally running model processes everything on your own machine, so your prompts, documents and code never leave your computer. That matters for sensitive work and anyone with confidential material or unreliable internet.

Is Qwen4 better than ChatGPT or Gemini?

It depends on what you need. On Qwen's own numbers, Qwen4-35B-A3B beats the dense Qwen3.8-27B on almost every test and trades blows with the larger Qwen3.8-Flash-Next. It also ranked first among 17 open-weight models in its size class on the Artificial Analysis Intelligence Index. Hosted services like ChatGPT and Gemini still win on convenience and speed — running a model yourself trades that polish for privacy, control and zero per-token cost.

Conclusion

Qwen4-35B-A3B is the most interesting open-weight release of the year: a genuinely strong model, free under Apache 2.0, with a 1-million-token context, that runs on hardware many people already own. It is not perfect — the full context window is out of reach for laptops, and early testers found rough edges — but it proves that powerful AI no longer has to live on someone else's server.

If you have a laptop with 18 GB or more of memory, this weekend is a good time to try it: download a Q4_K_M build, load it in Ollama, and ask it about a document you would never paste into a website. If your machine cannot run it, hosted AI credits are the practical alternative — either way, you now have a real choice between owning your AI and renting it.

FAQ

Is Qwen4-35B-A3B really free?

Yes. Alibaba released the weights under the Apache 2.0 license, which allows free personal and commercial use, including shipping it inside a paid product — just keep the license notice and mark changed files. The only real cost is the hardware.

How much RAM do I need to run Qwen4 on my own computer?

Quantized builds need roughly 18-25 GB of memory. The smallest practical setup is about 18 GB of RAM with a 3-bit quant and the n-gram table offloaded to an SSD; a 24 GB MacBook or a 32 GB Windows laptop is a comfortable fit. The full 1-million-token context needs around 20 GiB of KV cache alone, so it is not realistic on a laptop.

Can Qwen4 run on a Mac or a Windows laptop?

Yes, both. On Apple silicon, MLX builds are the usual route; on Windows and Linux, GGUF quantized files load in llama.cpp or Ollama. You download the model files once, then run them entirely offline — no account or internet connection needed afterwards.

Is my data private when I run an AI model locally?

Yes — that is one of the main reasons to do it. A locally running model processes everything on your own machine, so your prompts, documents and code never leave your computer. That matters for sensitive work and anyone with confidential material or unreliable internet.

Is Qwen4 better than ChatGPT or Gemini?

It depends on what you need. On Qwen's own numbers, Qwen4-35B-A3B beats the dense Qwen3.8-27B on almost every test and trades blows with the larger Qwen3.8-Flash-Next. It also ranked first among 17 open-weight models in its size class on the Artificial Analysis Intelligence Index. Hosted services like ChatGPT and Gemini still win on convenience and speed — running a model yourself trades that polish for privacy, control and zero per-token cost.

#qwen4#local ai#open-weight models#run ai locally#ollama#ai privacy

Looking for premium tools?

Browse ProAccess store