By Team Edtoolkits · AI learning
Estimate a bill from your own prices and compare caching and routing assumptions without treating example rates as current quotes.
Use the guide alongside the working tool.
Open The Cost of Serving AI →Explore the lesson
Watch tokens drop and coins fill a jar.
Type your own users, tokens and prices, then try the savings levers.
Flip the memory card and answer the quick check.
A comparison to try
The supplied example uses 1,000 users, five daily requests and 30 days: 150,000 requests. At 2,000 input and 400 output tokens, example rates of 1 and 3 per million produce 480 currency units before savings.
Read the result
Compare baseline with one savings lever at a time. Caching changes eligible input cost; routing some requests to the smaller model changes both input and output charges. The small-model cache price is scaled from the main model's discount ratio.
A mistake to avoid
All rates are editable illustrations in your chosen currency. Actual eligibility, variable token lengths, retries, hosting, taxes and quality checks can change cost. This arithmetic is a planning scenario, not a provider bill or a guarantee that cheaper routing meets the task.
Teaching model and privacy
Every price starts as a made-up example number in no particular currency. Type the real prices from your own plan. The estimate ignores taxes, rate limits, free allowances and engineering time. Nothing leaves your browser.
Ready to apply this workflow?
Try The Cost of Serving AI →Explore a related workflow
- Choose a course entry point and verify saved progress
Use prior knowledge to select a starting chapter while distinguishing local progress from an account or a qualification.
- AI Tokens: Inspect Pieces, Spaces and Stable Teaching IDs
Compare common words, rare words and numbers without using the playground as an exact provider counter.
- Inspect candidates before continuing text
Compare normalized next-word probabilities with the choices sampled from them.
- Choose complexity using held-out error
Compare training and test curves before calling a detailed fit an improvement.
Found unclear instructions or an unexpected result? Contact Team Edtoolkits.