Frontier Foundry

Context Engineering & Memory in numbers

141 numbers · 8 concepts · 128 sources · newest Dec 1, 2026

The figures the sources report on Context Engineering, Long Context, Retrieval-Augmented Generation, Embeddings, Agent Memory: each with what it measures, who reported it and when.

A number is listed as its source gives it, with what it measures. Many are a vendor’s or a speaker’s own figure, and the line says who reported it and when: read the date before quoting one.

Context Engineering in numbers

the 10 that matter most of 37
8,000 characters
Cap on Arize Alyx's one-markdown-file-per-user long-term memory, which beat knowledge graphs for them Fuad Ali, AI Engineer, Oct 27, 2026
36% -> 100%
Success rate on a task (Chromium fork on AWS Lambda, Sonnet 4.6) after a distilled skill was reused (reported, no sample size) Rafal Wilinski, AI Engineer, Jun 29, 2026
700 per day
Deploys to Lovable's agent runtime; it works because the process is stateless and each turn is persisted to the task history (reported) Fabian Hedin, AI Engineer, Nov 19, 2026
$21 -> over $200
Cost of one knowledge-work agent task with vs. without prompt caching, on Artificial Analysis' benchmark George Cameron, AI Engineer, Nov 3, 2026
13.3% -> 38.3%
GPT-5.6 Sol's score on the ARC-AGI-3 public set with the official harness vs. with retained reasoning and compaction (OpenAI reports about 3x the score with 6x fewer output tokens) OpenAI, Jul 29, 2026
2.6% -> 45.4%
Reported accuracy jump of recursive language models on a long chain-of-thought benchmark (third-party test, relayed by Madura) Kevin Madura, AI Engineer, Sep 9, 2026
15K → 156K → ~20K tokens
NVIDIA's measured 33-minute Claude Code session (58 main-agent turns, 225 sub-agent invocations, 283 requests): context grew to a 156K peak before one compaction cut it to about 20K. NVIDIA, May 5, 2026
43% fewer tokens, 31% lower cost
Arize reports after moving its agent to code mode, with latency about constant Mikyo King, AI Engineer, Oct 27, 2026
10 -> 1
Arize collapsed ten specialist agents into one agent with on-demand skills Fuad Ali, AI Engineer, Oct 27, 2026
51%
Cut in instruction tokens when an optimizer replaced long worked examples with compact rules (Pane's worked example) Alvin Pane, AI Engineer, Oct 12, 2026

Context Engineering, explained: how it works, part by part, with all 37 numbers.

Long Context in numbers

the 10 that matter most of 16
47.26x
Speedup of block-sparse prefill over FlashAttention-2 at 128K context in FP8 on H20 GPUs; measured by the paper's authors Hugging Face, Aug 21, 2026
1.69x
Throughput over dense serving on a reasoning workload with 0.1 points of accuracy loss; measured by the paper's authors Hugging Face, Aug 11, 2026
1 million tokens
The context window of one model, as listed in the developer notes of its release; a tokenizer change in the same release gave about 30% more tokens for the same text Simon Willison, Jun 30, 2026
30% more tokens
Tokens produced from the same input text by one lab's new tokenizer compared with its older one, reported in the lab's notes and noted as effectively a 30% price increase Simon Willison, Jun 30, 2026
890 bytes per token
Global KV cache footprint held in fast memory by one 1M-token model after compression, about a quarter of its predecessor; reported by the model's authors Hugging Face, Sep 18, 2026
7x
How much dearer a later token can be to generate than an earlier one on frontier open-weight models; reported by the paper's authors Hugging Face, Nov 4, 2026
0.7 points
Largest accuracy gap to full attention when only a 2,048-token KV budget is kept in fast memory; the price of picking blocks, measured by the paper's authors Hugging Face, Aug 11, 2026
48.7% vs 37.1% MFU at 14M tokens
Model FLOPs utilization of ring-attention training at 14M tokens on 64 chips of a newer TPU with twice the memory, against the older TPU; reported by Google Cloud for MaxText, which also reports 70% MFU up to 4M tokens on the older chip Google DeepMind, Nov 9, 2026
76% vs 18.5%
Score on the 8-needle, 1M-token variant of MRCR v2 for Opus 4.6 against Sonnet 4.5; reported by Anthropic, which calls context rot the common complaint it targets Anthropic, Feb 5, 2026
1.4x
Estimated end-to-end prefill speedup from Skip Softmax at 128K context on Llama 3.3 70B on GB200 NVL72; Nvidia's estimate NVIDIA, Dec 16, 2025

Long Context, explained: how it works, part by part, with all 16 numbers.

Retrieval-Augmented Generation in numbers

the 10 that matter most of 20
10,981 citations
Citations a verifying filter refused in the builders evaluations (reported by the speaker) Vinoo Ganesh, AI Engineer, Oct 25, 2026
less powerful
What strict citation checking costs: the platform answers less than people want, because a figure it cannot trace is refused or stripped (the speaker's own words) Vinoo Ganesh, AI Engineer, Oct 25, 2026
about 3,810 wrong numbers
Share of those refused citations that were plainly wrong numbers (reported by the speaker) Vinoo Ganesh, AI Engineer, Oct 25, 2026
about 2,000 characters
Size a chunk is packed to before it is cut, in one rulebook assistant (reported by the builders) Nina Žižakić, AI Engineer, Oct 12, 2026
around 4,000 chunks
Chunks in the index built from about 270 PDFs and 6,000 pages (reported by the builders) Nina Žižakić, AI Engineer, Oct 12, 2026
top 50 + top 50 to 30 to 10
Candidates per list, kept after fusion, and given to the agent (reported by the builders) Eleonora Drykina, AI Engineer, Oct 12, 2026
92% to 97%
Hit rate of hybrid search over dense only on 63 retrieval questions (reported by the builders) Eleonora Drykina, AI Engineer, Oct 12, 2026
2 to 4 calls
Search calls most questions need; the prompt asks the agent to reconsider before the sixth (reported by the builders) Eleonora Drykina, AI Engineer, Oct 12, 2026
38 seconds
Median time to answer, the cost of letting the agent search more than once (reported by the builders) Eleonora Drykina, AI Engineer, Oct 12, 2026
26.7% to 86% (FinanceBench); 6.3% to 51.9% (OfficeQA Pro)
Correctness of one-shot retrieval versus Mistral's multi-step agentic search on financial filings and on table-heavy multi-document questions; p90 latency down by up to 39.6% and tokens by up to a third; reported by the vendor Mistral AI, Aug 20, 2026

Retrieval-Augmented Generation, explained: how it works, part by part, with all 20 numbers.

Embeddings in numbers

the 10 that matter most of 11
94.6% to 97.8% kept
Share of unpooled retrieval quality kept with 4x fewer document vectors, for a normally trained model and for a pooling-aware one Hugging Face, Nov 11, 2026
12.8 KB per document
Quantized size of 200 vectors of 128 dimensions for one document in a per-token index, or 12.8 GB for a million documents Hugging Face, Nov 11, 2026
75 papers per second
Speed of the document pass on one GPU at 1024 dimensions in a 5,000-paper pilot Hugging Face, Aug 21, 2026
768 to 128 dimensions, up to 6x
Width an open embedding model can be cut to by Matryoshka training, and the storage saved Google DeepMind, Oct 6, 2026
256 or 512 tokens
Length at which many popular dense embedding models stop reading a document; the rest is dropped before scoring (limit of the plotting table) Hugging Face, Aug 26, 2026
more than 110,000 papers
Number of current papers whose vectors the search keeps up to date Hugging Face, Aug 21, 2026
39x smaller, over 99% kept
Page-image index shrunk 39 times by pooling and int8 values while keeping over 99% of the baseline nDCG@10 Hugging Face, Sep 3, 2026
7 MB, about 5 ms per embed
Size and speed of a 384-dimension sentence encoder distilled from MiniLM with ternary quantization-aware training and run in the browser through Rust and WASM; reported by its author in the HN thread soycaporal, Hacker News, Jul 6, 2026
about 42x the storage
Size of a vector-per-token index against a one-vector-per-passage index of the same passages (62 KiB per passage) Hugging Face, Aug 18, 2026
4,096 numbers
Length of the embedding vector Coyle uses as his example of a point in the space where a model works out what you want AI Engineer, Nov 29, 2026

Embeddings, explained: how it works, part by part, with all 11 numbers.

Agent Memory in numbers

the 10 that matter most of 18
413 files vs 9 files
Memory files written by two models about 10,000 steps into the same game: one saved everything and earned one badge, the other saved only what the screen did not show and earned four (the lab's own comparison) Anthropic, Nov 6, 2026
200 lines or 25 KB
How much of an auto-memory index file one coding agent loads into every session Anthropic, Nov 6, 2026
82.8% → 90.9% overall; 67.7% → 87.1% on hard questions
NVIDIA's memory-driven Chief of Staff (a structured self-model) against an agentic-RAG baseline on 186 questions, both using Nemotron 3 Ultra. NVIDIA, Sep 4, 2026
13% → 48%
Share of graded criteria met on 25 questions about a company's 420M-token document set as agents built a wiki over more and more sessions (2 to 128), answering from the wiki alone (the lab's own test) Anthropic, Nov 6, 2026
54% → 61% vs 53%
Score with wiki plus search tool as the wiki grew, against a search tool alone Anthropic, Nov 6, 2026
1.77 times
Size of a wiki built from 10 documents (203 KB from 115 KB), which grew larger than the raw files it summarised Anthropic, Nov 6, 2026
0.330 → 0.641
A weaker model's mean reward on a database task: no memory, then a memory folder alone (0.364), then a folder plus instructions to read it first and test its theories Anthropic, Nov 6, 2026
67.43%
Tasks completed by the best of 12 multimodal models, Gemini-4-Argon, on the 307-task EmbodiedExploreBench (paper, Dec 2026) Hugging Face, Dec 1, 2026
86.3% LoCoMo, 87.4% LongMemEval; 344 vs 651 entries
Microsoft Research's Memora against Mem0, RAG, Zep, LangMem and full-context inference: LLM-judge accuracy, using up to 98% fewer tokens than full context and about half Mem0's stored entries per conversation. Microsoft Research, Jun 29, 2026
+8.3% WebArena, +4.6% SWE-Bench-Verified, ~3 fewer steps
Google's ReasoningBank (strategies distilled from successful and failed runs) against a memory-free ReAct agent on Gemini-2.5-Flash; it also beat trajectory memory and workflow memory. Google DeepMind, Apr 21, 2026

Agent Memory, explained: how it works, part by part, with all 18 numbers.

Prompt Engineering in numbers

the 10 that matter most of 12
+200 ms / +600 ms
Added latency for a few-shot prompt versus a chain-of-thought prompt on one small model; measured by the speaker on their own test set Rachel Lee Nabors (RL Nabors), AI Engineer, Jun 29, 2026
under 10% → about 75%
Share of small coding runs in which the model consolidated duplicated code, without and with one sentence in the prompt saying the model owns and maintains the codebase; reported by the model maker's own testing Simon Willison, Nov 10, 2026
80%
Share of Claude Code's system prompt deleted when a newer model arrived; reported by the product's creator Y Combinator, Jul 27, 2026
+5% (Claude Code), +15% (Cline)
More GitHub issues resolved on a 150-example SWE-bench Lite set after prompt learning added rules to the agents' rules files (initial rates about 40% and 30%); reported by Arize Aparna Dhinakaran, AI Engineer, Dec 23, 2025
~8x lower cost
Cost of a tuned Nemotron 3 Ultra agent run that matched Opus 4.8's best agent run, changing only the system prompt, tool descriptions and middleware; reported by LangChain LangChain blog, Jul 8, 2026
24 system prompts
System prompts scattered across one product's code base before every surface composed its prompt through one assembler Isadora Martin-Dye, AI Engineer, Jun 29, 2026
7 times
How often Claude Code's prompt tells Opus to return multiple tool calls in one response; Fable's prompt restates one copyright rule six times; counted by Drew Breunig from leaked prompts, as evidence of fighting the weights Drew Breunig, Jun 22, 2026
4 seconds
Delay beyond which, in cited research, a reply stops feeling live to people; the speaker set a P50 cutoff of about 1.5 s and a P95 cutoff of 3.5 s below it Rachel Lee Nabors (RL Nabors), AI Engineer, Jun 29, 2026
87% → 92% → 96.7%
Accuracy on a golden set for a basic prompt, a better hand-written prompt and a prompt found by an optimizer; the optimizer's prompt was more verbose; measured live in a workshop Samuel Colvin, AI Engineer, Apr 8, 2026
76 percentage points
How far a benchmark score swung from formatting changes alone, as cited by the speaker from other work Jared Joselowitz, AI Engineer, Jul 2, 2026

Prompt Engineering, explained: how it works, part by part, with all 12 numbers.

Prompt Caching in numbers

the 10 that matter most of 18
$21 to over $200 a task
Cost of one agentic knowledge-work task with cached input against the same task with a cache hit rate of zero, from one benchmark firm's cost build-up George Cameron, AI Engineer, Nov 3, 2026
2.5x write for 12 hours
12-hour cache writes against the plain input token price; reads hours later still get the lower cached-input price OpenAI, Oct 20, 2026
1.25x write, 90% off read
Price of writing to the cache and of reading from it, against the model's uncached input price, for the 5.6 family and later Simon Willison, Jun 26, 2026
up to 72% less cost
Cost savings found in internal benchmarks by auditing harnesses that did not use the prompt cache properly, with no meaningful change in performance; the lab's own report Lance Martin, AI Engineer, Nov 6, 2026
about 3 s, then about 1 s
Time for a request in a routing demo: the first request, which fills the cache, takes about 3 seconds; the next with the same system prompt takes about 1 second; shown on stage by the speakers Yuchen Fama, AI Engineer, Jun 29, 2026
30 minutes
Window in which an eligible shared prefix is reused for a cache discount on the GPT-6 family OpenAI, Sep 22, 2026
36.6 million cache-read tokens
Cache-read tokens in one 447-turn coding task, which at one frontier price table made cache reads two thirds of the bill; a commenter's own arithmetic k9294, Hacker News, Sep 10, 2026
43% cache writes, 34% cache reads, 23% output
Split of Cloudflare's AI code-review spend before its optimization work, so most money went on context the model had already seen; Cloudflare also reports hit rate rising 85.7% to 97% while tokens per review tripled (0.91M to 2.99M), as reported by Cloudflare Ryan Skidmore, Cloudflare blog, Oct 19, 2026
$2.43 to $0.77 per review (-68%)
Average cost of Cloudflare's AI code review (code quality at high effort) from its two most expensive weeks to after the cache-prefix and fewer-calls work; median review time went from 4m 09s to 1m 32s, as reported by Cloudflare Ryan Skidmore, Cloudflare blog, Oct 19, 2026
15.9 to 9.6 calls, $1.12 to $0.72 per run
Cloudflare's standards reviewer after its reference index was put in the prompt instead of three turns of file-reading tool calls; each call resends the whole conversation, so fewer calls means fewer cache reads, as reported by Cloudflare Ryan Skidmore, Cloudflare blog, Oct 19, 2026

Prompt Caching, explained: how it works, part by part, with all 18 numbers.

Knowledge Graphs in numbers

9 numbers
top 5
Chunks the workshop agent pulls back in a vector search before the graph query runs Nyah Macklin, AI Engineer, Jun 29, 2026
3 hops
Depth at which the speaker says GraphRAG becomes imperative over vector-only RAG Nyah Macklin, AI Engineer, Jun 29, 2026
+12.5%
Relative harmonic-mean gain of a 7B extractor over a 32B model on knowledge-graph construction, as reported by the RAGU authors Hugging Face, Jul 20, 2026
up to 23%
Gain over strong baselines on two long-memory benchmarks, with lower token and runtime cost, as reported by the paper authors Hugging Face, Jun 15, 2026
500
Chunk size set in a workshop graph builder, with a chunk overlap so that nothing is missed between chunks Nyah Macklin, AI Engineer, Jun 29, 2026
at least 100K tokens per round
Tokens an assistant loads each round when its memory is a set of markdown files, as the speaker reports for his own agents Stephen Chin, AI Engineer, Jul 2, 2026
50+ turns
Agent turns after which the graph-guided investigation produced what an analyst made in three or four weeks, in twenty or thirty minutes, as the speakers report Abhilash Asokan, AI Engineer, Jun 29, 2026
~71x fewer tokens
Author claim for tokens per query when a model reads a knowledge graph instead of the raw files; disputed by commenters AINews, Jun 30, 2026
43M papers, 157M entities, 3B triplets
Size of one research knowledge graph built from papers in 26 disciplines, as reported by its authors Hugging Face, May 25, 2026

Knowledge Graphs, explained: how it works, part by part.

Other ways in

the same sources, cut another way

AI in numbers, in the other areas

16

Cite this page

the version of 2026-12-01
APA
Han, R. (2026, December 1). Context Engineering & Memory: sourced AI statistics. Frontier Foundry. https://www.ryanhan.ai/numbers/context
BibTeX
@misc{han2026-numbers-context,
  author       = {Han, Ryan},
  title        = {{Context Engineering & Memory: sourced AI statistics}},
  howpublished = {Frontier Foundry},
  year         = {2026},
  month        = dec,
  url          = {https://www.ryanhan.ai/numbers/context}
}