---
title: "Qwen4 35B-A3B Q4_K_M (ggml-org) — FreshContext benchmarks"
source: https://freshcontext.io/benchmarks/models/qwen4-35b-a3b/q4-k-m-ggml-org/
---

Qwen4 35B-A3B · file [← Qwen4 35B-A3B](https://freshcontext.io/benchmarks/models/qwen4-35b-a3b/)

# Q4_K_M

ggml-org's 4-bit file, 36.0 GB, too big for the 24 GB Mac. Tested twice on the Mac Studio on 4 December. Its publisher has since replaced it with different files. Ggml-org.

**Size**: 36.0 GB

**Status**: downloaded, sha verified 2026-12-04

**Scored runs**: 28

**Smallest Mac**: 48 GB measured, 48K context

Results 28 scored · 95% intervals

| Suite | Score | 95% interval | Passed | Runtime · profile | Recorded |
| --- | --- | --- | --- | --- | --- |
| [chainwalk](https://freshcontext.io/benchmarks/suites/chainwalk/) qwen4-35b-a3b-q4km-lzm-np1-c48k-b12977 | 50.0% | 9.5–90.5 | Passed 1/2 | llama.cpp extraction | 2026-12-04 |
| [chainwalk](https://freshcontext.io/benchmarks/suites/chainwalk/) qwen4-35b-a3b-q4km-np1-c48k-b12977 | 50.0% | 9.5–90.5 | Passed 1/2 | llama.cpp extraction | 2026-12-04 |
| [contract](https://freshcontext.io/benchmarks/suites/contract/) qwen4-35b-a3b-q4km-lzm-np1-c48k-b12977 | 64.6% | 50.4–76.6 | Passed 31/48 | llama.cpp extraction | 2026-12-04 |
| [contract](https://freshcontext.io/benchmarks/suites/contract/) qwen4-35b-a3b-q4km-np1-c48k-b12977 | 64.6% | 50.4–76.6 | Passed 31/48 | llama.cpp extraction | 2026-12-04 |
| [enrichment](https://freshcontext.io/benchmarks/suites/enrichment/) qwen4-35b-a3b-q4km-lzm-np1-c48k-b12977 | 83.3% | 71.3–91.0 | Passed 45/54 | llama.cpp extraction | 2026-12-04 |
| [enrichment](https://freshcontext.io/benchmarks/suites/enrichment/) qwen4-35b-a3b-q4km-np1-c48k-b12977 | 83.3% | 71.3–91.0 | Passed 45/54 | llama.cpp extraction | 2026-12-04 |
| [epistemics](https://freshcontext.io/benchmarks/suites/epistemics/) qwen4-35b-a3b-q4km-lzm-np1-c48k-b12977 | 100.0% | 92.6–100.0 | Passed 48/48 | llama.cpp extraction | 2026-12-04 |
| [epistemics](https://freshcontext.io/benchmarks/suites/epistemics/) qwen4-35b-a3b-q4km-np1-c48k-b12977 | 100.0% | 92.6–100.0 | Passed 48/48 | llama.cpp extraction | 2026-12-04 |
| [grounding](https://freshcontext.io/benchmarks/suites/grounding/) qwen4-35b-a3b-q4km-lzm-np1-c48k-b12977 | 78.4% | 70.4–84.7 | Passed 98/125 | llama.cpp extraction | 2026-12-04 |
| [grounding](https://freshcontext.io/benchmarks/suites/grounding/) qwen4-35b-a3b-q4km-np1-c48k-b12977 | 78.4% | 70.4–84.7 | Passed 98/125 | llama.cpp extraction | 2026-12-04 |
| [nullschema](https://freshcontext.io/benchmarks/suites/nullschema/) qwen4-35b-a3b-q4km-lzm-np1-c48k-b12977 | 34.7% | 24.8–46.2 | Passed 25/72 | llama.cpp extraction | 2026-12-04 |
| [nullschema](https://freshcontext.io/benchmarks/suites/nullschema/) qwen4-35b-a3b-q4km-np1-c48k-b12977 | 34.7% | 24.8–46.2 | Passed 25/72 | llama.cpp extraction | 2026-12-04 |
| [screening](https://freshcontext.io/benchmarks/suites/screening/) qwen4-35b-a3b-q4km-lzm-np1-c48k-b12977 | 96.7% | 88.6–99.1 | Passed 58/60 | llama.cpp extraction | 2026-12-04 |
| [screening](https://freshcontext.io/benchmarks/suites/screening/) qwen4-35b-a3b-q4km-np1-c48k-b12977 | 96.7% | 88.6–99.1 | Passed 58/60 | llama.cpp extraction | 2026-12-04 |
| [synthesis](https://freshcontext.io/benchmarks/suites/synthesis/) qwen4-35b-a3b-q4km-lzm-np1-c48k-b12977 | 95.0% | 86.3–98.3 | Passed 57/60 | llama.cpp extraction | 2026-12-04 |
| [synthesis](https://freshcontext.io/benchmarks/suites/synthesis/) qwen4-35b-a3b-q4km-np1-c48k-b12977 | 95.0% | 86.3–98.3 | Passed 57/60 | llama.cpp extraction | 2026-12-04 |
| [tagger](https://freshcontext.io/benchmarks/suites/tagger/) qwen4-35b-a3b-q4km-lzm-np1-c48k-b12977 | 90.4% | 86.0–93.5 | Passed 217/240 | llama.cpp extraction | 2026-12-04 |
| [tagger](https://freshcontext.io/benchmarks/suites/tagger/) qwen4-35b-a3b-q4km-np1-c48k-b12977 | 90.4% | 86.0–93.5 | Passed 217/240 | llama.cpp extraction | 2026-12-04 |
| [tagger_nullable](https://freshcontext.io/benchmarks/suites/tagger_nullable/) qwen4-35b-a3b-q4km-lzm-np1-c48k-b12977 | 92.9% | 89.0–95.5 | Passed 223/240 | llama.cpp extraction | 2026-12-04 |
| [tagger_nullable](https://freshcontext.io/benchmarks/suites/tagger_nullable/) qwen4-35b-a3b-q4km-np1-c48k-b12977 | 92.9% | 89.0–95.5 | Passed 223/240 | llama.cpp extraction | 2026-12-04 |
| [toolcall](https://freshcontext.io/benchmarks/suites/toolcall/) qwen4-35b-a3b-q4km-lzm-np1-c48k-b12977 | 88.3% | 77.8–94.2 | Passed 53/60 | llama.cpp extraction | 2026-12-04 |
| [toolcall](https://freshcontext.io/benchmarks/suites/toolcall/) qwen4-35b-a3b-q4km-np1-c48k-b12977 | 88.3% | 77.8–94.2 | Passed 53/60 | llama.cpp extraction | 2026-12-04 |
| [tools](https://freshcontext.io/benchmarks/suites/tools/) qwen4-35b-a3b-q4km-lzm-np1-c48k-b12977 | 93.3% | 70.2–98.8 | Passed 14/15 | llama.cpp extraction | 2026-12-04 |
| [tools](https://freshcontext.io/benchmarks/suites/tools/) qwen4-35b-a3b-q4km-np1-c48k-b12977 | 93.3% | 70.2–98.8 | Passed 14/15 | llama.cpp extraction | 2026-12-04 |
| [toolscale](https://freshcontext.io/benchmarks/suites/toolscale/) qwen4-35b-a3b-q4km-lzm-np1-c48k-b12977 | 97.5% | 87.1–99.6 | Passed 39/40 | llama.cpp extraction | 2026-12-04 |
| [toolscale](https://freshcontext.io/benchmarks/suites/toolscale/) qwen4-35b-a3b-q4km-np1-c48k-b12977 | 97.5% | 87.1–99.6 | Passed 39/40 | llama.cpp extraction | 2026-12-04 |
| [worldview](https://freshcontext.io/benchmarks/suites/worldview/) qwen4-35b-a3b-q4km-lzm-np1-c48k-b12977 | 95.0% | 83.5–98.6 | Passed 38/40 | llama.cpp extraction | 2026-12-04 |
| [worldview](https://freshcontext.io/benchmarks/suites/worldview/) qwen4-35b-a3b-q4km-np1-c48k-b12977 | 95.0% | 83.5–98.6 | Passed 38/40 | llama.cpp extraction | 2026-12-04 |

Runs marked *unenforced* were measured on a suite that requires constrained decoding, on a server shown not to apply the schema: mlx_lm accepts it and ignores it, and a few other servers and models break it. Those numbers do not measure what the suite is designed to measure. They are kept and labelled rather than deleted.

Setup How it was run

### qwen4-35b-a3b-q4km-np1-c48k-b12977

Of record

The measurement of record for this model.

**Machine**: Mac Studio (M1 Max, 64 GB)

**Server**: 1 slot, 48K of context per request, KV cache f16 (default), flash attention on, 1 suite at a time

**Runtime**: llama.cpp b12977 (1579b0254), plain upstream

**Speed**: decode 42.8 tokens/s, prefill 481.2 tokens/s, medians. Single stream, fleet resident and idle.

**Peak memory**: 35.3 GB resident, with 48K of context allocated

**Weights**: 36.0 GB file · sha256 `064e8f1ca0dd253c…`

**Coherence check**: passed

**Left out by plan**: needle, shapegen, sitebuild

**Released**: 4 December 2026, bundle [`2026-12-04-6cd502e6`](https://freshcontext.io/benchmarks/data/#downloads)

The run’s own note:

- ggml-org's Q4_K_M build of Qwen4-35B-A3B (ggml-org/Qwen4-35B-A3B-GGUF, revision 13973011), one 36.0 GB file identified by its sha256, which equals the Hugging Face LFS oid.
- The file holds the 35B model plus a 20.5B-parameter per-layer n-gram embedding table stored at Q5_0.
- Plain upstream llama.cpp b12977, the first build line with this architecture's tokenizer, with the standard recipe and no extra server flag.
- Single slot at a 48K window with needle left out, both on the operator's instruction; the benchmark's usual window is 64K, so needle's long cases and any comparison that depends on 64K do not apply.
- Beside the fleet, which was loaded and idle; no seat was changed.
- The check before the run confirmed that the system message, a tool and the thinking-off switch all reach the prompt, and every suite verified thinking off.
- Speed is from the server's own per-request timings over its whole session: decode median over 462 replies of 64+ tokens, prefill median over 20 prompts of 2K+ new tokens; no prompt in these suites reached 16K.
- nullschema: it filled 47 of the 48 fields it should have left null (forbidden or optional); in 39 of those it wrote that the value is absent instead of returning null (27 as a sentence, 12 as a placeholder string), and in 8 it gave a value taken from the wrong field.
- toolcall: all 7 misses are cases where it answered without calling the tool.
- Memory: peak_rss_gb is the server process's peak resident memory, which on this Mac counts file pages mapped from disk; it is not the growth in system wired memory that the Mac mini bundle of this family reports, so the two Macs' memory figures are different measures.
- needle, shapegen and sitebuild excluded.

### qwen4-35b-a3b-q4km-lzm-np1-c48k-b12977

Reference

Kept for reference. It isn't the measurement of record.

**Machine**: Mac Studio (M1 Max, 64 GB)

**Server**: 1 slot, 48K of context per request, KV cache f16 (default), flash attention on, 1 suite at a time

**Runtime**: llama.cpp b12977 (1579b0254), plain upstream

**Speed**: decode 42.4 tokens/s, prefill 480.6 tokens/s, medians. Single stream, fleet resident and idle.

**Peak memory**: 35.4 GB resident, with 48K of context allocated

**Weights**: 36.0 GB file · sha256 `064e8f1ca0dd253c…`

**Coherence check**: passed

**Left out by plan**: needle, shapegen, sitebuild

**Released**: 4 December 2026, bundle [`2026-12-04-69e6acb8`](https://freshcontext.io/benchmarks/data/#downloads)

The run’s own note:

- A control run of the same file, build, window and suites as qwen4-35b-a3b-q4km-np1-c48k-b12977, with one change: three load flags (--load-mode mmap --lazy-mode on -ot per_layer_token_embd=CPU), the flags used for the UD-IQ3_XXS runs of this family.
- It was run to tell whether those flags or the file explain the gap between the Q4_K_M and UD-IQ3_XXS results.
- Every one of the 1,224 cases gave the same response, the same pass or fail and the same grader detail as the run without the flags, so the flags change nothing here and the gap is between the files.
- Kept as a reference run, not a run of record, because it duplicates that run.
- Beside the fleet, loaded and idle; no seat was changed.
- Template check and thinking-off verification as in that run.
- Speed from the server's own timings: decode median over 462 replies of 64+ tokens, prefill median over 20 prompts of 2K+ new tokens.
- Memory: peak_rss_gb is the server process's peak resident memory, which on this Mac counts file pages mapped from disk; it is not the growth in system wired memory that the Mac mini bundle of this family reports, so the two Macs' memory figures are different measures.
- needle, shapegen and sitebuild excluded.

The record How it was made · how it was served · what went wrong · what happened to it

Rebuilt from the lab's records by Claude, an AI model. The results above come straight from the automated runs. [How these pages are made](https://freshcontext.io/benchmarks/workings/model-pages/).

| File | Qwen4-35B-A3B-Q4_K_M.gguf (36,007,915,136 B, sha256 064e8f1c…) |
| --- | --- |
| Format | GGUF Q4_K_M, table at Q5_0 |
| Where from | downloaded, ggml-org/Qwen4-35B-A3B-GGUF @ 13973011 |
| Status | downloaded, sha verified 2026-12-04 |
| Hugging Face | https://huggingface.co/ggml-org/Qwen4-35B-A3B-GGUF |

## How it was made

- Downloaded: `ggml-org/Qwen4-35B-A3B-GGUF` @ 139730111990ae9f6dee8c4660d15a3b7a127c95, file `Qwen4-35B-A3B-Q4_K_M.gguf`, 36,007,915,136 B, HF LFS oid (sha256) 064e8f1ca0dd253ca8e6ee0120824aec43c005163654e69f7f770bf640197dea [read, HF tree API]. Local sha256 equals the LFS oid, checked after download and again before the control run.
- Into `models/qwen4-35b-a3b/` on 2026-12-04 with `eval/tools/pardl.sh` (8 ranges) from the pinned-revision URL. A first attempt with `hf download` (HF_XET_HIGH_PERFORMANCE=1) stalled at 11 MB with a live process and was stopped, as pardl.sh's header describes. README.md from the same revision via `hf download`.
- Contents [read, header + tensor list]: 882 tensors, 40 blocks, no MTP layer (sidecar `mtp-*.gguf` not downloaded). `per_layer_token_embd.weight` [128 × 160,003,584] at Q5_0 = 14.08 GB; experts mostly Q4_K with some Q6_K; `hc_*`, `ssm_alpha/beta`, `ple_conv1d` at BF16 [stated, ggml-org card]. Built-in sampling temp 1.0 / top-p 0.95 / top-k 20.
- A repacker's file, not the maker's.

## How it was served

| label | date, local time | binary | ctx / np / KV / fa / jinja | extra flags | profile | why |
| --- | --- | --- | --- | --- | --- | --- |
| qwen4-35b-a3b-q4km-np1-c48k-b12977 | 2026-12-04 11:05–12:01 | llama.cpp b12977 (1579b0254), plain upstream | 49152 / 1 / f16 / on / yes | none (defaults) | extraction | the Studio's baseline; run of record |
| (llama-bench speed ladder, no label) | 2026-12-04 15:28–15:40 | same build, llama-bench | depths 0 to 128K / f16 / on | none (defaults) | n/a | pre-registered in the family record |
| qwen4-35b-a3b-q4km-lzm-np1-c48k-b12977 | 2026-12-04 18:55–19:51 | same | 49152 / 1 / f16 / on / yes | --load-mode mmap --lazy-mode on -ot per_layer_token_embd=CPU | extraction | control: the same file with the UD-IQ3_XXS runs' load flags |

All on the Mac Studio (M1 Max, 64 GB), with the fleet's other models loaded and idle. 48K window and no needle, both Alan's instruction.

## Decisions

See the family's decision log, 4 December 2026.

## What went wrong

- 2026-12-04: `hf download` with Xet stalled at 11 MB (live process, no error); replaced by pardl.sh. The LAN gateway was answering pings at 107–245 ms at the time (router congested), so the download ran at about 13–16 Mbps.
- 2026-12-04: the publisher replaced the files in its repo the same day we ran. See Lifecycle.

## What happened to it

- 2026-12-04: downloaded, sha verified, benchmarked twice (defaults, then the control).
- 2026-12-04: ggml-org replaced the files in `ggml-org/Qwen4-35B-A3B-GGUF` with three-part files (new repo created 09:25 UTC, revision 06c1bf24df22, n-gram table at IQ4_NL). The single-file Q4_K_M measured here is now in `ggml-org/Qwen4-35B-A3B-GGUF-old` at the same revision 139730111990 [read, HF API, 2026-12-04 evening]. Why it was replaced: not found. So these results are for a file its publisher has set aside; the new Q4_K_M has not been measured.
