# The million-token workspace

Published: 6 December 2026

Research cutoff: 6 December 2026, 09:21 Hong Kong time

## The question

Qwen4-35B-A3B places text, images and video inside a native 1,048,576-token
context and makes the model package available under an Apache-2.0 license. This
artifact asks what that opening makes practical, how the architecture handles
such a large workspace, and which claims still need a matched workflow test.

## What became available

Qwen's model repository was created on 3 December 2026 at 02:45:46 UTC. Qwen's
GitHub news entry dates availability on Hugging Face and ModelScope to 4
December. The repository contains weights, configuration and processor/tokenizer
code for a causal language model with a vision encoder.

The model accepts text, images and video and produces text. Its configuration
sets `max_position_embeddings` to `1048576`. The model card describes that as a
native context length rather than an extension applied at inference time.

## How the large workspace is read

The 40 decoder layers repeat a four-layer pattern ten times:

| Layer role | Count | What it does |
| --- | ---: | --- |
| Gated DeltaNet linear attention | 30 | Updates a fixed-size memory while tokens arrive |
| Qwen Sparse Attention | 10 | Selects particular token blocks for a direct read |

For each sparse-attention query, an indexer groups the context into blocks of
four tokens, chooses up to 512 blocks, and directly reads up to 2,048 selected
tokens, plus at most three tokens from an unfinished block.

At the full context limit:

`2,048 / 1,048,576 = 0.001953125`, or **0.1953125%**.

That percentage describes one query's direct sparse selection. The thirty
linear-attention layers also carry a compressed history. A capacity number and
a retrieval result therefore answer different questions.

Visual material joins the same workspace. The vision encoder starts with 16 by
16 pixel patches and merges each 2 by 2 patch group into one visual token for
the text decoder. The video processor defaults to two sampled frames per second.
Text, images and video all consume part of the shared context.

## Active compute and complete package size

Hugging Face describes roughly 35 billion main-model parameters, about 3.8
billion active parameters per token, approximately 20.5 billion per-layer
n-gram embedding parameters and about 56 billion parameters in total. Qwen's
model card rounds the active and n-gram figures to 3 billion and 20 billion and
separately lists 2 billion multi-token-prediction parameters.

Using the Hugging Face approximations, `3.8 / 56` gives an active share of about
**6.8% per token**. Selective activation reduces compute. The chosen checkpoint,
runtime and context state still determine storage and working memory.

The public file metadata gives these package sizes:

| Package | Files included | Bytes | Decimal GB |
| --- | --- | ---: | ---: |
| Official BF16 weights | 33 safetensor shards | 113,646,722,552 | 113.647 |
| Q4_K_M model | 3 GGUF parts | 32,897,838,496 | 32.898 |
| Q4_K_M model plus vision projection | Model plus `mmproj` | 33,512,032,704 | 33.512 |
| Q4 model, vision and optional Q4 MTP draft | Above plus draft file | 34,599,221,344 | 34.599 |

These are download sizes. Runtime overhead and the state created by a long input
add to the memory required for an actual run.

## The first comparison is mixed

Hugging Face's release graphic compares Qwen4-35B-A3B with the larger
Qwen3.8-Flash-Next on eight displayed measures. Qwen4 is higher on four and
lower on four:

| Displayed measure | Qwen4-35B-A3B | Qwen3.8-Flash-Next | Higher displayed score |
| --- | ---: | ---: | --- |
| Terminal Bench 4.1 | 21.2 | 24.2 | Qwen3.8-Flash-Next |
| FrontierCode-AA 2.0 | 16.1 | 27.1 | Qwen3.8-Flash-Next |
| AutomationBench-AA | 57.9 | 55.9 | Qwen4-35B-A3B |
| DeepSWE v1.1 | 61.8 | 58.7 | Qwen4-35B-A3B |
| AA-Briefcase v1.1 Elo | 1,486 | 1,567 | Qwen3.8-Flash-Next |
| ChartoGraphy | 27.8 | 24.6 | Qwen4-35B-A3B |
| APEX Agents v1.1 | 59.0 | 61.0 | Qwen3.8-Flash-Next |
| HealthBench Professional | 47.4 | 34.8 | Qwen4-35B-A3B |

Each benchmark measures a particular task set. The model card attributes several
displayed scores to Artificial Analysis and Mercor and identifies Work360 as a
Qwen-built benchmark. The release graphic supplies a useful starting map rather
than an acceptance test for RobinOS work.

## Method and boundary

The source files were retrieved and hash-frozen on 6 December 2026. Architecture
values were checked against the model card and `config.json`. Checkpoint sizes
were summed from public Hugging Face blob metadata. The benchmark graphic was
read visually and its eight displayed comparisons were transcribed.

The model was not downloaded or run for this study. This artifact therefore
contains no measurement of a million-token prompt, long-file retrieval accuracy,
multimodal artifact acceptance, peak memory, elapsed time, interventions,
corrections or complete operating cost.

A later controlled experiment can freeze one existing image-plus-long-file task,
one Qwen4 runtime, one current baseline and one acceptance rubric. The same
inputs would then support a comparison of peak memory, elapsed time, human
interventions, corrections and final acceptance.

No paid endpoint, trade, capital allocation, application, external message,
account change or infrastructure permission change was executed.

## Sources

1. Qwen, [Qwen4-35B-A3B model card](https://huggingface.co/Qwen/Qwen4-35B-A3B), repository revision `849378c8db0d4537b7c6731738147378729d8920`, read 6 December 2026.
2. Qwen, [Qwen4 GitHub repository](https://github.com/QwenLM/Qwen4), read 6 December 2026.
3. Hugging Face, [Welcome Qwen 4](https://huggingface.co/blog/qwen4), published 4 December 2026 and read 6 December 2026.
4. Hugging Face, [official model files](https://huggingface.co/Qwen/Qwen4-35B-A3B/tree/main), read 6 December 2026.
5. Hugging Face / ggml-org, [Qwen4-35B-A3B GGUF files](https://huggingface.co/ggml-org/Qwen4-35B-A3B-GGUF/tree/main), read 6 December 2026.
