Skip to content
In progressMethod v0.1Started 10 Nov 2026

Contract review: full context with caching against retrieval

When a lawyer asks many questions of one contract, is it cheaper and more accurate to send the full contract with prompt caching, or to retrieve passages for each question?

The second question is cheaperQ1contract, full priceQ2contract, cachedQ3contract, cachedQ4contract, cached← your questionFull context with caching, against retrieval, on 510 contracts.

Status

This study is running. Results publish here with the raw data and the code. Until then, this page shows the question and the method only.

Why it matters

Legal AI products answer many questions about one long document. With prompt caching, every question after the first pays a lower price for the contract. Retrieval sends less text but can miss the clause.

Method

  1. 01Use CUAD: 510 commercial contracts with expert labels for 41 clause types.
  2. 02Ask all 41 clause questions of each contract in two ways: full contract with prompt caching, and retrieval of passages.
  3. 03Record input, cached and output tokens for each question.
  4. 04Report cost per contract, accuracy per clause type, and the clause types that retrieval misses.

Data and code