Skip to lesson
  1. Learn
  2. See
  3. Try
  4. Make

Count what a run costs

What this lesson is about

Work out the money and the minutes one run takes, and what it would cost a hundred times over.

A small firm asks what its supplier-mail agent costs to keep running. What do you go and measure?

Why this matters

The Hugging Face course tells you to track token use, which is the money. It also tracks how long a run took, which is the minutes. Both matter, because somebody is sitting there. A workflow whose cost nobody counted cannot be priced or defended when a buyer asks.

Lesson 6 of 9 on Running and checking AI agentsnextAdd the check that stops the breakPart 2 ends in a work sample you can sendThe rules this work sample is read against

Read the primary or official source: Hugging Face Agents course · watching and judging agents