Agent Architecture and Protocol Strategy Artifacts
Token Economics Simulator
SIMULATEDVerified Jul 2, 2026· data as of Jul 2, 2026Architecture debates often start with preferences. This artifact starts with unit economics. It sizes a single call, scales it across volume, and shows how caching and batching change the annual run rate.
Same instrument · three industries pick a use case to reconfigure the run
Prefer to read? The two minute case study · problem → approach → metric → outcome
Problem
Before committing to an architecture, leaders need to know whether the workflow can operate within acceptable cost boundaries. A design that works for a pilot may become uneconomic once volume, prompt size, or frontier model share increases.
Approach
The simulator converts call structure into estimated annual cost. It shows the effect of model choice, prompt size, volume, caching, batching, and savings levers.
Why this way
This connects architecture design to run cost, budget exposure, margin, pricing, and financial approval.
The metric
Cost per call and monthly run rate; the monthly delta of switching models.
The trade-off
The cheapest model is not always adequate; caching adds engineering for a real saving.
Outcome
A defensible build versus buy number before anyone draws an architecture box.
Model
Prompt
≈ 76 input tokensRough estimate (~4 chars/token). Paste a real prompt to size it.
76 in · 400 out
Claude Haiku 4.5
150,000 calls/mo
At current pricing
Where the money goes
This workload priced across models · monthly, cheapest first
Switching to Google · economy saves $225/mo on this workload, weigh against answer quality for your job.
Savings ladder · monthly, cumulative leverage
Caching + batching cut 2%, $59 / year
If you act on this · the call → expected lift → how you'd measure it
The call
Use unit economics to constrain architecture decisions before scaling.
Expected lift · illustrative
Prevents designs that are technically viable but financially fragile.
How you'd measure it
Cost per task, annual run rate, cache hit rate, batching savings, cost per successful outcome.
Steering committee takeaway: Size the call before arguing the architecture. Unit economics often settles the design debate earlier than a diagram does.
How this is built
Stack: Next.js (static) + shared design system; pure client side arithmetic.
Pricing lives in a dated config (`@labs/kit`, as of 2026-07-02), never in copy, with a per-model cache-read price. Tokens are estimated at ~4 chars/token.
Cost/call = input tokens × input price + output tokens × output price. Caching reprices the cacheable share of input at the cache read rate; batching applies a 50% discount to the eligible share.
Limitations: this artifact uses modeled pricing and assumptions. Production forecasting would require current vendor pricing, actual traffic patterns, utilization data, and finance approved costing rules.