Skip to main content
Module 04 of 05Intermediate20 min

The Economics of Agents.

Model fees are only part of the bill. Learn what drives the cost of an agent and how to estimate it yourself.

  1. Module 1
  2. Module 2
  3. Module 3
  4. Module 4 (current)
  5. Module 5

After this module you can

  • Explain why agents use far more tokens than chats
  • Estimate the monthly cost of an agent workflow
  • Name four levers to reduce cost

Cost drivers

Model usage

Input and output tokens per task × number of steps × volume.

Tools & data

APIs, search, vector databases, integrations with ERP/CRM.

Infrastructure

Hosting, orchestration, monitoring, logging, security.

People

Design, oversight, exception handling, change management.

Token economics

LLMs are billed per token. Agents multiply token usage: each step re-reads the context, calls tools and reasons about results. Cost therefore scales with steps per task and context size, not just with the number of tasks.

Levers: choose the smallest model that does the job, cache repeated context, keep prompts lean and route simple steps to cheaper models.

Worked example

Illustrative figures only — actual prices vary by model and provider.

Tasks per month
10,000
Agent steps per task
8
Tokens per step (in + out)
≈ 6,000
Total tokens per month
≈ 480 million
Blended price per 1M tokens (illustrative)
CHF 3
Model cost per month
≈ CHF 1,440
Model cost per task
≈ CHF 0.14

Building the business case

Compare the cost per task with the fully loaded cost of the current process — including time to completion, error rates and opportunity cost. Start with a high-volume, rule-heavy workflow, measure for three months, then scale.

Exercise · 10–15 min

Estimate your agent’s cost

  1. 1Take the agent you designed in Module 03.
  2. 2Estimate tasks per month, steps per task and tokens per step.
  3. 3Multiply using the worked example as a template.
  4. 4Compare cost per task with the time it saves.

Key takeaways

  • Cost scales with steps × context, not just with tasks.
  • Model fees are one of four cost blocks.
  • Smaller models, caching and lean context are the main levers.

Check yourself

Answer in your head first, then reveal.

Q1Why does an agent use more tokens than a single chat answer?Reveal

Each step re-reads the context, calls tools and reasons about the results.

Q2Name two ways to cut token costs.Reveal

E.g. use the smallest capable model, cache repeated context, keep prompts lean, route easy steps to cheaper models.