AI Agents for Everyday Use

Module 2 — Staying in Control

Lesson 6: Costs, Usage Limits and the Kill Switch

Last updated: 2026-10-09

Agents use far more computing than a chat: every step reads pages and writes notes. On a subscription that means hitting limits; on pay-as-you-go it means real bills. Set a budget and know how to stop it.

Lesson 6: Costs, Usage Limits and the Kill Switch

Blackboard

Budget first, then run

10 min
Concept 1

Why agents cost more

Each step an agent takes sends text to the model and gets text back, and the conversation grows as it goes. A task of fifty steps can use as much as hundreds of ordinary chat messages. On subscription plans this shows up as usage limits and slow-downs; on pay-as-you-go API keys it shows up as money, charged per token.

Concept 2

Runaway loops

Sometimes an agent gets stuck: retrying a failing step, re-reading the same page, or 'improving' a result forever. Without a cap it keeps spending. Tell it how many attempts it may make, set a maximum number of steps or a time limit where the tool allows, and ask it to stop and report if it hasn't finished.

Concept 3

Set hard limits

If you use API keys, for example with a self-hosted agent, set a monthly spending cap in the provider's dashboard and a low per-key limit. Use a separate key per agent so you can see and cut off each one. Check the usage page weekly at first. Cheaper models are often good enough for routine agent steps.

Concept 4

Know the off switch

Before you start anything long-running, find out how to stop it: the stop button, how to cancel a scheduled task, how to revoke an app connection, how to delete an API key. Practise once. When something goes wrong, the minutes it takes to find the off switch are when most of the damage happens.

Pause and Think

If an agent ran in a loop all night, would you find out from a notification, a usage warning or your card statement?

Flashcards

Key Terms

Click or press Enter to flip a card. Review these before the practice question.

Additional Resources
Practice Question

You're running a self-hosted agent on a pay-as-you-go API key. What should you set up before the first long task?

Does not count for certificate
Choose one answer, use the hint if needed, then check your answer.
Use the hint before checking if you need a nudge.