Raw workload
22,340 tokens
106,764 bytes across 4 sources
[ Executable agent recipe // measured workload ]
This checked-in recipe compiles four complete, published Maha Strategies book chapters for one comparative-analysis task. It reports real BPE token counts, the API's source-coverage metric, and input-token economics against the production 0.001 USDC x402 fee.
Raw workload
22,340 tokens
106,764 bytes across 4 sources
Compiled pack
5,768 tokens
16,572 BPE input tokens removed
Reduction
74.18%
Fixed 8,000-token requested budget
Source coverage
100%
4/4 sources contributed at least one passage
[ Declared economic assumption ]
x402 fee
$0.001
Net input cost avoided
$0.048716
Gross saving / fee
49.72×
This is not a universal savings claim. It compares one raw-input model call with one compiled-input model call at the explicitly declared reference rate. It excludes output-token cost from both alternatives, network latency, and any downstream call required to evaluate answer quality. Override the rate when reproducing the run.
[ Run it ]
npm run recipe:context-compilerRuns the exact compiler implementation against the committed chapters. No key, network request, or payment is used.
npm run recipe:context-compiler:liveRequires X402_BUYER_PRIVATE_KEY in the process environment. It signs and settles exactly one production payment on Base Mainnet.
input sha256:bf968a5eb6dfe890da2d205ed9a4bed3410ed64a43f10a775381340dee0dc192
output sha256:f980c8fbcb124480cda0b1f8ad7f18f678998b61258ecb43cced98e415d459d3