What will your AI workflow cost?
Compare a baseline with an explicit optimization scenario. Change the assumptions to match your workload.
Local calculator. Inputs and prompts remain in this browser. Only the public model pricing catalog is fetched. Savings are estimates, not guarantees.
Storage, import, and activity
Sessions contain your inputs and results in this browser. Uploaded files are not saved. Session contents and activity counts are not sent to analytics. No saved session yet.
On this device: 0 successful runs · 0 failed runs · 0 exports · 0 visits.
Model and rates
Loading model rates…. Pricing source
Illustrative starting rates. Select a provider model or enter your own rates; these are not a live quote. All fields remain editable.
Workload
Estimate tokens from a prompt
UTF-8 bytes ÷ 4 is a rough estimate, not a model tokenizer. Adjust for your language, history, and retrieved context.
Optimization assumptions
Assumes 30 days, identical token lengths across models, and a cache write on each miss for the cacheable prefix. Routing uses uncached rates. Verify minimum cache lengths and expiry. Taxes, batch discounts, tool calls, media, cache storage, and other hosting costs are excluded.