Module 7 · Lesson 21

Cost and performance

Why Bot work uses up your weekly usage, and how to cut waste: routine frequency, event triggers, APIs over clicks, lean context, fewer group chats.

  • 7 min
  • Advanced

Before this module

Day 1

Day 1, closing. The day ended with two conversations about what a demo never shows.

In the founders' session, someone from xAI explained how to keep Bots from overspending: fire routines when something happens instead of every few minutes, have Bots call a site's API rather than clicking through it, and send one-off questions to a separate Bot.

Keep reading

Then a guest who runs seven businesses with twenty-two Bots sat down with them. She helped write the budget prompt and said what she would not hand to a Bot: the guest list, security and the final read of a contract.

What this way of working costs, and where a person should keep deciding, is the last module.

Day 1 · 7:55:39Using the API instead of the browser to spend less

Day 1 · 8:26:01Planning the event budget with Jenny

Read the diary for this day
Day 2

Day 2, questions from the audience. That is where the numbers and the limits came out.

A whole slide deck cost between twenty and thirty dollars, against four or five hours of work. Answering a medium-difficulty support ticket came to one or two dollars, and batching the easy ones with a script brought it down to about twenty cents. The most repeated advice for spending less was to fire fewer routines and tell the Bot exactly what to look at.

Keep reading

The limits came out too. If a tool does not run on Linux, a Bot cannot use it. Some sites detect that it is a Bot and block it. And one of the guests admitted the problem almost nobody mentions: he gets more done than ever and is busier than ever.

What it costs and where to stop is what this module is about.

Day 2 · 8:00:40What it costs to answer a ticket

Day 2 · 5:05:22More work done, more worn out

Read the diary for this day
Day 3

Day 3, questions from the audience. That is where the limits and the money came out.

On cost, the most concrete answer of the three days: having the Bot open a browser and fill a form by clicking costs more than handing the data to the tool. And the silent spend is routines, because it is so easy to set something checking every fifteen minutes and forget it. Three of those are hundreds of messages a day.

Keep reading

She also put a brake on her own system: the scan that proposes improvements can only send her one suggestion per week, because at first it sent ten and over-corrected.

What it costs and where to stop is this module.

Day 3 · 4:31:08Where the money goes is routines

Day 3 · 4:28:47One improvement suggestion per week

Read the diary for this day
Contents3
  • Explain what makes Bot work consume usage and where to check it
  • Calculate how many runs a routine schedule creates and pick a sensible one
  • Apply five habits that make Bots faster and cheaper without losing quality

Usage that runs out on Wednesday

By now you may have several Bot An AI teammate with a name, a job and its own conversation. It works on a computer in the cloud, even when you're away. See in the glossary →, a few routines and a group chat or two. Then one week your usage runs out on Wednesday, and you don't know which Bot spent it.

Cost and speed come from the same place. A Bot that clicks through a website step by step, rereads a long context or talks in a busy group chat is slow and uses a lot. The habits in this lesson fix both at once.

Where usage comes from

Every time a Bot thinks, reads a page, looks at a screenshot or writes a reply, a model does work, and that work is what your plan counts. It is measured in Tokens The unit that measures the model's work: what it reads and what it writes. It's what uses up your plan. See in the glossary →, the small chunks of text a model reads and writes. More steps, more text and more runs mean more usage. It works like a taxi meter that keeps running while the Bot drives, whether the trip is useful or not.

Plans and usage

  • Grok Bot is included with paid individual Cursor plans and Cursor Teams, or through a linked SuperGrok subscription. See Plans and billing for current terms.
  • Subscriptions include weekly usage. Eligible accounts can add on-demand usage, extra usage billed from model and token cost (FAQ).
  • Usage & Billing in settings shows weekly included usage and on-demand usage. The account menu can also show Weekly usage at a glance (Settings and notifications).
  • A separate Grok Bot spend cap isn't available today. Account-level on-demand controls apply (Teams and enterprises).
  • If usage runs out, Bots can look stuck and Routine Work a Bot does on its own, on a schedule or when something happens in another tool. See in the glossary → may not run (Troubleshooting).

This course doesn't quote prices. They depend on your plan and change over time.

Where the usage goes

Routines that run too often. Each run is a full piece of Bot work, even when nothing has changed. The numbers add up fast:

Schedule Runs per day Runs per week
Every 15 minutes 96 672
Every hour 24 168
Every weekday at 8:00 AM 1 on weekdays 5

Before you pick a schedule, ask how often the answer can really change.

Checking on a timer instead of reacting to events. Checking a source on a fixed timer is called polling. A routine that polls Slack every 15 minutes for a new message mostly finds nothing. Instead, a routine can start from an event: Cursor account integrations can trigger it from a Slack message or a GitHub notification (lesson 17). Keep the matching rule narrow, because broad listeners such as "every new message" create noise and consume usage (Skills and routines).

Clicking through websites. Using the computer means screenshots, clicks and waiting. The docs recommend a Connector A ready-made link between a Bot and a service such as Slack, Notion or GitHub. In the app they appear as Plugins. See in the glossary → when one exists, because it is often more reliable than a website (The computer and apps). When there is no connector and the Bot repeats the same browser task, try a shortcut. The first time, ask the Bot to watch the page's network requests and find the API behind them. An API is the direct way one program asks another for data, without a screen in between. On later runs, the Bot calls that API directly, which is faster and uses fewer tokens. Check first that the site's terms allow this kind of access.

Day 1 · 7:55:39Finding the API behind a repeated browser task

Context the Bot no longer needs. A long, mixed conversation means more text to reread on every turn. A Bot that does too many unrelated jobs also loses quality (lesson 11).

Group chats. Every Bot in a group reads the messages and may answer. The docs note that too many parallel handoffs create duplicate work and noisy updates (Message and collaborate). As lesson 12 explained, it is often cheaper to have one Bot mention two others once and work with each separately.

A twenty-minute monthly clean-up

A monthly clean-up takes about twenty minutes:

  1. Open Usage & Billing and note how much of the week is gone, and by which day.
  2. List the routines of each Bot. Open a Bot, choose View conversation details, then Routines. Check the schedule and recent runs of each one.
  3. Lower frequencies. For each routine, pick the slowest schedule that still meets the need. Pause the ones nobody reads.
  4. Replace polling with events where the source can send one, with a narrow matching rule.
  5. Add a quiet rule to monitoring routines: if nothing needs attention, report nothing.
  6. Swap browser steps for connectors where a connector exists in Settings → Plugins.
  7. Trim context. Move one-off questions to a catch-all Bot (lesson 11) and ask Bots to forget context they no longer need (lesson 05).
  8. Ask the Bot itself how to make its work cheaper, then review the proposal before you apply it.

A Bot that reviews your usage

Day 1 · 7:56:40Routine frequency and asking the Bot to optimize itself

Review routine frequency regularly, prefer incoming signals over a blind schedule, and hand the review itself to a Bot. A prompt you can adapt:

Prompt
Review all your routines and the last 20 runs of each. For every routine, tell me how often it found something that needed my attention, and propose a slower schedule or an event trigger where that would give the same result.
Also list any browser steps you repeat that could use a connector or a direct API call instead. Do not change anything; send me the proposal.

For a monitoring routine, add a quiet rule:

Prompt
Every weekday at 9:00 AM, check the checkout error dashboard. If errors are within the normal range, do not message me. If they are above it, send one message with the numbers, a screenshot and the link.

Context from finished work can go too. In the livestream, a Bot was asked to drop what it no longer needed, handled it well, and used fewer tokens afterwards:

Prompt
Forget all things about how we generated your profile picture.

Day 1 · 8:11:06Asking a Bot to forget unused context

Day 2 · 1:23:16What a slide deck cost

Routines every few minutes just in case

  • Scheduling every 5 or 15 minutes "to be safe". Hundreds of runs a day that mostly find nothing. Fix: use the slowest schedule that works, or an event trigger.
  • Broad event listeners. Every message in a busy channel starts a run. Fix: match on a specific channel, phrase or link.
  • Letting a Bot click through the same site every day. It is slow, fragile and costly. Fix: use a connector, or have the Bot find an API the site allows you to use.
  • One Bot for everything. Its context grows and quality drops. Fix: split by role and keep a catch-all Bot for loose questions.
  • Routing coordination through a large group chat. Bots answer each other and repeat work. Fix: use direct handoffs with one owner per stage.

Fewer runs, better aimed

  • Usage comes from model work: steps, text read, screenshots and runs. Plans include weekly usage, which you can check in Usage & Billing.
  • Count routine runs before you schedule them, and prefer narrow event triggers to polling.
  • Prefer connectors to clicking. For repeated browser work, consider a direct API call where the site allows it.
  • Keep context lean: split roles, use a catch-all Bot and ask Bots to forget what they no longer need.
  • Ask a Bot to audit its own routines and propose savings, and review the proposal before applying it.