Layer 3 is where the economics flip. Retrieval memory costs tokens on every call. The preference gets looked up, injected, re-reasoned — every time. Procedural memory costs zero tokens at inference. The behavior lives in the weights. The agent just acts correctly. At scale,
Economic trade-offs in AI agent memory: retrieval vs. procedural
By
–