The supplier needs the go-ahead to dispatch on Friday. The control cabinet is 800 mm wide according to its data sheet. The drawing shows a 900 mm door into the plant room. Ten centimetres to spare sounds reassuring until someone opens the packing list.
Imagine a shipment whose crate measures 940 mm across its narrowest side. A survey conducted after the door frame went in records a clear opening of 860 mm. The crate is eight centimetres too wide. Unpacked, the cabinet might fit. One of the contract schedules says the supplier’s representative must be present when the crate is opened. He was planning to come on Monday.
You would happily put the colleague who spotted those lines before calling the carrier in charge of the next delivery. Now imagine a project with eighty items of equipment, six months of revisions and a phone video showing the latest route. That is the kind of work we would give the new Qwen4.
On December 4, 2026, Alibaba’s Qwen team announced the release of the Qwen4-35B-A3B weights. Built on the same architecture as the flagship Qwen4-Max, the model accepts text, images and video and returns text. The Apache 2.0 licence allows a company to run it on its own infrastructure. Its native context window holds 1,048,576 tokens. The cost of using that window shows up twice. First when you size the machine, then when several people want to review their projects at the same time. Qwen Team · Qwen4 ↗ Qwen4-35B-A3B ↗
What fits in a million tokens?
A token can be a word, part of a word or a punctuation mark. Visual inputs also use some of the window. Two PDFs of equal length might contain continuous prose, thousands of product codes or scanned drawings. For a useful estimate, take a project file set that has already been processed and counted with the model’s tokenizer. Hugging Face · Qwen4 ↗
Suppose the contract and its schedules take 70,000 tokens, equipment data sheets another 180,000, the approval history 90,000 and surveys and item lists 60,000. That comes to 400,000 tokens. With the full window available, 648,576 remain for instructions, additional evidence, tool results, reasoning and an answer. You could ask which shipments a route change affects, what needs approval and which conclusions still depend on an old drawing.
There is a reason to read these files together. The packing list calls the cabinet SHA-04, the floor plan shows only room 214, and everyone in the correspondence calls it “the old server room.” A search for the cabinet’s width will readily produce the perfectly accurate figure of 800 mm. To find the obstacle you have to connect the item code to the room, the room to a route and the route to the latest survey.
In AI Office we would pair retrieval from the knowledge base, or RAG, with long context. Retrieval can select project material the employee has permission to see and identify the source of each passage. Qwen4 could then read the complete schedules, including adjacent table rows and revision histories. The earlier plan helps explain why the old delivery request still says 900 mm.
A good answer about this shipment rests on four pieces of evidence. The cabinet data sheet, the packing list, the site survey and the clause governing who may open the crate. Miss the last one and “unpack it at the entrance” could be the most expensive suggestion in the chat.
Why the weights of an A3B model exceed 100 GB
There are two numbers in Qwen4-35B-A3B. The Qwen team describes a main language model with 35 billion parameters, of which around 3 billion are active for each token. In each mixture-of-experts layer, the router picks eight of 256 specialists. One shared expert also takes part every time. The selection can change with each token. Qwen4-35B-A3B ↗
A local workstation might go from interpreting a drawing legend to reading a contract and then writing a small script to match items across two schedules. The whole pool of experts is available throughout. The active count gives a sense of the computation at each step. To size the machine, look at the full inventory of files.
Qwen lists another roughly 20 billion parameters in a table for neighbouring token combinations and about 2 billion for multi-token prediction, or MTP. One detail in the Hugging Face engineering account explains why the large table is manageable. Each token reads just 16 rows. Eight represent pairs of tokens and eight represent triples. Some inference engines take advantage of that pattern by storing the table in host memory or accessing it on an SSD. Hugging Face · Qwen4 ↗ Unsloth · Qwen4 ↗
We added up the sizes of the 33 safetensors files in Qwen’s original repository. They total 113.65 GB. For each compressed version below, we added both parts of the GGUF download. Unsloth lists the vision projector and optional MTP file separately. The mmproj-F16 file, for instance, adds about 0.90 GB. Qwen · Safetensors ↗ Unsloth · GGUF ↗
| Build | Weight files | Download size |
|---|---|---|
| Qwen BF16 | 33 × safetensors | 113.65 GB |
| UD-IQ3_XXS | 2 × GGUF | 28.74 GB |
| UD-IQ4_XS | 2 × GGUF | 32.04 GB |
| UD-Q4_K_M | 2 × GGUF | 35.18 GB |
| UD-Q4_K_XL | 2 × GGUF | 36.24 GB |
| Q8_0 | 2 × GGUF | 59.99 GB |
What you can run on a Mac, an RTX 5090 or a local server
How can a 32 GB download work on a Mac with 24 GB of unified memory? Unsloth suggests starting with UD-IQ4_XS on that machine. Its software can keep the large table of token combinations on an SSD. That allows the files on disk to exceed the physical memory available. Mac users can also choose an MLX build. If your team works with scans and photographs, check whether the particular build accepts images. Unsloth · Qwen4 ↗ MLX Community · 4-bit ↗
SGLang documents a revealing setup for the RTX 5090 with 32 GB of VRAM. Its NVFP4 configuration keeps all routed experts on the graphics card and places the token combination table in host RAM. The recipe calls for about 25 GiB of host memory plus extra room for startup and the operating system. In the basic example the total token budget for the cache is set to 32,768. SGLang · Qwen4 ↗
Our 400,000-token project would exceed that budget. The pool also has to serve concurrent requests. One employee might need only passages from four documents. Another needs a comparison across all eighty items. Those are two very different workloads for the same card.
The vLLM server recipe offers another reference point. With the table in host memory, the weights on the accelerator occupy about 39.7 GB in FP8 or 72.7 GB in BF16. The host needs another 20.5 GB or 41 GB respectively for the table. Allow extra space for the runtime and cache. On a unified-memory system such as DGX Spark, these allocations ultimately share one pool. vLLM · Qwen4 ↗ SGLang · Qwen4 ↗
How Qwen4 finds its way back to a line in a document
As a conversation grows, so does the amount of information the model retains for later steps. Some of that information lives in the key-value cache, often called the KV cache. Qwen4 has forty layers arranged in ten identical groups. Within each group three Gated DeltaNet layers update a fixed-size state as they read. The fourth, Qwen Sparse Attention, can look back at individual passages anywhere in the preceding context. Qwen · config.json ↗ Hugging Face · Qwen4 ↗
For each such lookup the model selects up to 512 groups of four tokens. The selection changes with each attention query. This makes it possible to revisit both a cabinet code near the start of the file set and a correction to its dimensions near the end. The savings on long sequences help make a larger window practical. A reviewer can check the answer by following its references back to the source material.
For a first local run, llama.cpp and Ollama both support Qwen4. Ollama lists text and image inputs. For video, Qwen provides a separate request example and frame sampling settings. It is an easy distinction to miss when choosing a runtime by model name alone. Ollama · Qwen4 ↗ Qwen4-35B-A3B ↗
Four reasoning settings for one project
Qwen4 lets the application set how much effort the model spends on reasoning. The default is high. In AI Office we would choose the setting for each operation. A project might involve dozens of routine extractions and only a handful of genuinely disputed items. Qwen4-35B-A3B ↗
| Setting | Assignment | What a reviewer checks |
|---|---|---|
| off | Copy dimensions from one row of a data sheet. | Units and page number. |
| low | Match item codes in the order and packing list. | Which items have no match. |
| high | Compare delivery routes across two revisions of the plan. | Which shipments need another check and why. |
| xhigh | Compare delaying dispatch, using another entrance and uncrating by the door. | Each option lists constraints, approvals and missing facts. |
To see the difference, change one line in the request. First ask for the width of the cabinet and a page reference. Then ask whether the company can confirm Friday’s delivery under the terms of the contract. One answer can be checked against a single cell. The other should identify what is still missing and who can confirm it.
Where Qwen4 could fit into AI Office
AI Office already supports text-based PDFs and DOCX files, retrieval within an employee’s access rights, links to source documents and local tasks created after approval. For a Qwen4 pilot we would connect the model through a compatible inference server and start with a completed project. The team has a rare advantage here. It knows what happened and which piece of paper everyone overlooked at the time.
For the project lead, the useful result is a short meeting brief. The crated SHA-04 cannot pass along the agreed route. Ask the supplier how to arrange unpacking and the site team to confirm turning space and dimensions on the trolley. Each finding should point to a document, revision and page. The lead can check the evidence and assign the work.
For the proposed AI Office Field module we would add a walkthrough video to the file set. A frame might show a door closer or new ductwork at a tight corner. The model could flag the frame for an engineer and draft a list of measurements to take. The engineer would record the clear width in millimetres on site. That gives the field team a specific job before the lorry arrives.
There is also a job for the people who build internal software. The Qwen team highlights interface development, 3D modelling and games. For this project, ask the model to code a floor plan prototype. Clicking a room should open the equipment list, packed dimensions and links to the latest measurements. Try it with two revisions of the plan. When the route changes, the affected shipment should appear on the list of items to review. Qwen Team · Qwen4 ↗
How to decide whether the longer window pays off
Take a completed project and run the assistant twice with the same access rights. In the first pass, give it only the passages returned by search. In the second, include the complete contract schedules, item lists and revision history. Ask the colleague who handled the delivery to note missed constraints, inaccurate references and time to a decision. Repeat while someone else prepares a routine morning briefing on the same machine. That will tell you how long the large review makes colleagues wait.
If both versions find all four documents, the shorter route already does the job. If only the full schedules reveal the requirement for the supplier’s representative to attend, you know which requests deserve more memory. On Friday there may still be time to arrange for the representative to travel with the shipment.
