Extended Context Test — measured evidence Publication: https://yuebing.net/articles/local-llm-extended-context/ Hardware measured: Apple M4 Pro, 48 GB. No measurements on 32/64 GB or M6/M5 Pro. Progress: 36/36 requests. Complete: True. Overview Model | content correct | strict content+format | median seconds at ~8K / ~24K / ~48K input | max sampled server allocation GB gpt-oss:20b | 12/12 | 12/12 | 20.2 / 54.3 / 133.9 | 13.33 nemotron-3-nano:30b | 12/12 | 12/12 | 26.9 / 54.6 / 104.4 | 18.95 hf.co/mistralai/Ministral-3-14B-Reasoning-2512-GGUF:Q8_0 | 12/12 | 0/12 | 94.7 / 244.1 / 484.0 | 24.25 Interpretation Correctness refers only to these simple synthetic retrieval/comparison cases. Code fences fail strict JSON-only format even when the contained facts and JSON are correct. The observed context-memory cost differs across these configured model/backend combinations. More RAM does not by itself establish faster prompt processing or better answers. Memory bandwidth can matter for generation; long-input processing also matters. This test measures complete requests and their timing components, not isolated chip performance. No direct speed or fit claim for an untested Mac configuration follows from this experiment. gpt-oss:20b Content: 12/12; strict content+format: 12/12; scheduled: 12. case | input tokens | context | seconds | content | strict | max server allocation GB | new swapout pages allocation_ctx16384 | 323 | 16384 | 17.01 | True | True | 12.88 | 0 allocation_ctx32768 | 323 | 32768 | 9.24 | True | True | 12.91 | 0 allocation_ctx65536 | 323 | 65536 | 9.23 | True | True | 13.33 | 0 long_ctx16384_beginning | 8058 | 16384 | 17.75 | True | True | 12.88 | 0 long_ctx16384_middle | 8058 | 16384 | 20.23 | True | True | 12.88 | 0 long_ctx16384_end | 8058 | 16384 | 22.04 | True | True | 12.88 | 0 long_ctx32768_beginning | 23808 | 32768 | 54.29 | True | True | 12.91 | 0 long_ctx32768_middle | 23808 | 32768 | 51.87 | True | True | 12.91 | 0 long_ctx32768_end | 23808 | 32768 | 55.47 | True | True | 12.91 | 0 long_ctx65536_beginning | 48133 | 65536 | 133.95 | True | True | 13.33 | 0 long_ctx65536_middle | 48133 | 65536 | 133.95 | True | True | 13.33 | 0 long_ctx65536_end | 48133 | 65536 | 132.13 | True | True | 13.33 | 0 nemotron-3-nano:30b Content: 12/12; strict content+format: 12/12; scheduled: 12. case | input tokens | context | seconds | content | strict | max server allocation GB | new swapout pages allocation_ctx16384 | 325 | 16384 | 21.06 | True | True | 18.40 | 48108 allocation_ctx32768 | 325 | 32768 | 17.99 | True | True | 18.62 | 0 allocation_ctx65536 | 325 | 65536 | 18.02 | True | True | 18.40 | 0 long_ctx16384_beginning | 8139 | 16384 | 25.56 | True | True | 18.45 | 0 long_ctx16384_middle | 8139 | 16384 | 29.12 | True | True | 18.62 | 0 long_ctx16384_end | 8139 | 16384 | 26.93 | True | True | 18.62 | 0 long_ctx32768_beginning | 24129 | 32768 | 55.40 | True | True | 18.65 | 0 long_ctx32768_middle | 24129 | 32768 | 54.60 | True | True | 18.65 | 0 long_ctx32768_end | 24129 | 32768 | 54.23 | True | True | 18.65 | 0 long_ctx65536_beginning | 48110 | 65536 | 104.35 | True | True | 18.94 | 0 long_ctx65536_middle | 48110 | 65536 | 100.90 | True | True | 18.94 | 0 long_ctx65536_end | 48110 | 65536 | 105.12 | True | True | 18.95 | 0 hf.co/mistralai/Ministral-3-14B-Reasoning-2512-GGUF:Q8_0 Content: 12/12; strict content+format: 0/12; scheduled: 12. case | input tokens | context | seconds | content | strict | max server allocation GB | new swapout pages allocation_ctx16384 | 435 | 16384 | 48.88 | True | False | 15.99 | 0 allocation_ctx32768 | 435 | 32768 | 40.04 | True | False | 18.71 | 0 allocation_ctx65536 | 435 | 65536 | 41.69 | True | False | 24.25 | 0 long_ctx16384_beginning | 8249 | 16384 | 84.11 | True | False | 15.99 | 0 long_ctx16384_middle | 8249 | 16384 | 94.67 | True | False | 15.99 | 0 long_ctx16384_end | 8249 | 16384 | 98.26 | True | False | 15.99 | 0 long_ctx32768_beginning | 24239 | 32768 | 267.04 | True | False | 18.71 | 0 long_ctx32768_middle | 24239 | 32768 | 213.29 | True | False | 18.71 | 0 long_ctx32768_end | 24239 | 32768 | 244.09 | True | False | 18.71 | 0 long_ctx65536_beginning | 48220 | 65536 | 479.46 | True | False | 24.25 | 0 long_ctx65536_middle | 48220 | 65536 | 530.28 | True | False | 24.25 | 0 long_ctx65536_end | 48220 | 65536 | 483.96 | True | False | 24.25 | 0 Limitations: - Only existing M4 Pro 48 GB measured; no 32/64 GB machine or M6/M5 Pro. - Different tokenizers require different distractor counts to achieve comparable token lengths. Target facts, task, generator and placement rules are identical; prompts are not byte-identical across every model. - Same short input across context allocations tests allocation effects; long inputs test retrieval/comparison with plausible distractors, not full Hermes capability. - Temperature/think settings are frozen configured-system choices, not architecture-isolated comparison or individually optimized settings. - Cold model loading every case; end-to-end times include loading. No throughput ranking from totals. - User token counts exclude chat template; response count must fit declared +1024 margin and context minus fixed output budget. A mismatch stops the batch. - One attempt per case, no reliability estimate or best-of scoring. Synthetic cases are not official benchmarks. - Process RSS capture matches names ollama, llama-server and mlx; a generically named Python MLX worker can be missed. RSS is not a complete or directly comparable memory measure across backends. Metal allocations may not appear in process RSS. - Request elapsed time includes the post-response context verification sample; model-reported timing components exclude this telemetry overhead. Model unload management before the request is not included. - Model unload before each case does not flush OS file caches; this is not a cold-boot or cold-disk experiment. - Native macOS background services and applications were not disabled. Background activity was spot-checked, not continuously controlled. Memory notes: sampled allocation is not peak physical RAM. RSS overlaps with allocation. Pre-existing swap is reported separately; inspect swap traffic deltas. First content timing is server content timing; interpretation depends on whether reasoning is returned separately or inline. A successful synthetic retrieval/comparison case does not establish general long-document or Hermes-agent reliability.