Skip to content
Try this course

Free course template · Global

AI cost control: Token budgets and model routing

A ready-made course, live deck and three surveys for software engineers. 35 minutes, 6 lessons, 10-question final check. Last reviewed 4 December 2026; not legal advice.

Try the courseClaim the template

Play a game from the course

AI cost control: Token budgets and model routing: try 3 questions

Three questions from this course. Pick an answer, then see why.

Play the game

Game not loading? Open it in a new tab (opens in a new tab)

Three pieces that work together

Learners sign in, so every finish and score is recorded. 4 fields to fill in with your details.

Claim the template

6 lessons, about 35 minutes

Minutes are an estimate.

  • Lesson 1: Where the money goes · 4 min

    Before you begin · Forty times more

  • Lesson 2: Estimate before you build · 7 min

    The sum · Sort the cost effect · Check the estimate

  • Lesson 3: Spend less, keep quality · 7 min

    Levers · Rewrite the habit · A prompt cut in half

  • Lesson 4: Route to the right model · 7 min

    A routing rule · Sort the request · Complaints rise

  • Lesson 5: Budgets, alerts and ownership · 6 min

    Controls · Tell the story · A loop burns a week's budget

  • Lesson 6: Final assessment · 4 min

    Final assessment · Course complete

Claim the template

Inside this course

Taken from the course itself.

By the end, learners can

  • Explain what a token is and why input length, output length and repeated context change the cost of a request
  • Estimate cost per request and per month for a feature, using your employer's own prices and volumes
  • Reduce spend without cutting quality: shorter prompts, caching, output limits and smaller models for simple steps
  • Design a routing rule that sends easy requests to a cheaper model, and test that quality holds
  • Set budgets, alerts and an owner so spend surprises are found in days, not at month end

Sample questions, with answers

  1. Why did Ngoc Anh's bill jump?

    • A whole policy library was sent with every request, so each call used far more tokens
    • The model started writing shorter answers
    • Tokens became free in March
    • Rate limits were removed

    Answer: A whole policy library was sent with every request, so each call used far more tokens. Repeated large context multiplies cost on every request.

    Lesson 2: Estimate before you build

  2. Which input is NOT needed to estimate a monthly cost?

    • Average input tokens
    • The model's name in the marketing copy
    • Requests per day
    • Price per unit

    Answer: The model's name in the marketing copy. The sum needs tokens, price and volume.

    Lesson 3: Spend less, keep quality

  3. What must you do after trimming a prompt?

    • Nothing; shorter is always better
    • Raise the budget
    • Retest on saved cases to check quality held
    • Switch to a bigger model

    Answer: Retest on saved cases to check quality held. Always check quality after a cost change.

    Lesson 4: Route to the right model

A scenario from "Spend less, keep quality"

Jamal halves a prompt to save money and the answers lose the refund rule.

Best response: Restore the rule, retest on the saved cases and trim elsewhere.

Weaker responses: Keep the saving and hope; Hide the quality drop in the report.

Common questions

Yes. Claiming the template and editing it are free.

Yes. The course is self-paced and online, and the live deck lets you add a live session in the room or online.

At onboarding or as continuing professional development, with a yearly refresher (best practice).

Software engineers, platform owners, engineering managers and finance partners.

Record completion in your own LMS or record system, so you can show who finished the course and when.

Your own details, each highlighted inside the course:
  • Link to your live session deck
  • Link to the self-paced course
  • Your model prices are at
Then edit anything else you like: wording, scenarios, your logo.
Visit the help centre (opens in a new tab)