WEBVTT

00:00:01.000 --> 00:00:03.466
Can an AI agent run around the clock?

00:00:03.466 --> 00:00:05.532
This simulator models a daemon:

00:00:05.532 --> 00:00:06.932
a loop that wakes up,

00:00:06.932 --> 00:00:09.198
thinks, acts, and saves its place,

00:00:09.198 --> 00:00:10.131
over and over.

00:00:10.581 --> 00:00:12.642
Each cycle passes five stations:

00:00:12.642 --> 00:00:15.218
a trigger, loading memory, a model call,

00:00:15.218 --> 00:00:18.567
a tool action, and a checkpoint that writes progress

00:00:18.567 --> 00:00:21.337
to disk, so a crash doesn't lose its place.

00:00:21.787 --> 00:00:24.586
Then comes the bill. By default the loop wakes

00:00:24.586 --> 00:00:28.299
every sixty seconds and spends eighteen hundred fifty tokens.

00:00:28.299 --> 00:00:30.855
That's fourteen hundred forty calls a day:

00:00:30.855 --> 00:00:34.080
about sixteen dollars daily, or four hundred eighty a

00:00:34.080 --> 00:00:34.445
month.

00:00:34.895 --> 00:00:37.782
Slow the heartbeat to five minutes and the same

00:00:37.782 --> 00:00:39.440
loop costs a fifth as much.

00:00:39.440 --> 00:00:42.511
In this model, cost scales directly with how often

00:00:42.511 --> 00:00:44.845
it wakes and how many tokens it reads.

00:00:45.295 --> 00:00:48.115
Things also break. Inject a rate-limit error,

00:00:48.115 --> 00:00:49.995
and backoff waits and retries,

00:00:49.995 --> 00:00:53.066
so the cycle survives. A provider crash counts as

00:00:53.066 --> 00:00:55.448
a failure, and three in a row trip the

00:00:55.448 --> 00:00:58.832
circuit breaker, halting the loop before it burns more

00:00:58.832 --> 00:00:59.208
money.

00:00:59.658 --> 00:01:02.826
Try the chaos buttons with the guardrails switched off,

00:01:02.826 --> 00:01:05.878
and watch reliability and the thirty-day cost change.
