Before you schedule anything, check which of the four you just made and which account it bills. Claude Code scheduled tasks and Routines are easy to mix up, because the product uses both names for more than one mechanism.

/schedule creates a cloud Routine. Desktop's Routines button offers Local and Cloud on the same click, and only the cloud Routine has a billing contract in writing.

What I checked, on 26 August 2026: the scheduling docs, the Desktop scheduled tasks page, the Routines page, the 14 April 2026 announcement, the costs page, and GitHub issue #89136, open on 24 August 2026. The scheduling docs describe three ways to schedule work, then compare four. Where a claim can't be traced to one of those pages, I say so.

Claude Routines vs scheduled tasks: the four primitives

Desktop's Cloud choice is the same Routine /schedule creates.

PrimitiveWhere it runsMinimum intervalBilling documented?
Cloud RoutineAnthropic-managed cloud VM1 hourYes. Subscription usage, capped at 5, 15, or 25 starts a day by plan.
Desktop scheduled taskYour machine, in the Desktop app1 minuteNo feature-page billing statement.
Session cron taskYour current session, on your machine1 minuteNo feature-page billing statement.
/loopYour current session, on your machine1 minuteNo feature-page billing statement.

Issue #89136, "Cowork/Desktop: filter the scheduled-tasks left panel by run location (Desktop-only / Cloud-only / All)," was open on 24 August 2026. The issue asks for a filter because Desktop and Cloud tasks share one panel.

A cloud Routine draws on your subscription

A cloud Routine runs on Claude Code's web infrastructure, so the laptop can stay shut. It draws subscription usage the same way an interactive session does.

The 14 April 2026 announcement publishes the caps: Pro up to 5 automated runs a day, Max up to 15, Team and Enterprise up to 25. At the cap, an organisation with usage credits keeps going at metered overage. Without usage credits, further runs are rejected until the window resets. "Run now" is treated as an interactive session. It skips the daily cap and still draws normal subscription usage.

Eligible plans are Pro, Max, Team, and Enterprise, with Claude Code on the web enabled, and Free isn't named. The minimum recurring interval is one hour. A faster cron expression is rejected. Cloud Routines depend on Claude Code on the web, which is GitHub-only for cloned repos. Zero Data Retention organisations can't use cloud session features, so a cloud Routine isn't available there.

A green status means the session started and exited without an infrastructure error. A blocked network request, a missing connector tool, or a task-level failure can sit in the run details instead of that status. Whether a failed, timed-out, cancelled, or empty-output run is billed, counts against the daily cap, or gets retried is unstated. No wall-clock limit or token ceiling per run is published, and a routine has no budget of its own.

The daily cap counts starts, not tokens. A cheap routine and an expensive one each take one slot. Drawing usage the same way an interactive session does also ties the routine to the regular five-hour and weekly usage windows. A routine that fires at 3am draws on the same pool as the morning session. How that pool interacts with autonomous credits is in Claude Code pricing in 2026.

A Desktop scheduled task runs on your awake machine

A Desktop scheduled task runs on your machine, and only while the app is open and the computer is awake. Local scheduled tasks aren't available before Desktop version 1.1.5368. The app checks schedules every minute, which puts the minimum interval at one minute. A one-time task disables after it fires.

Sleep skips the run. On wake or startup, the app checks missed runs from the last seven days, starts one catch-up for the most recently missed time, and discards the older ones. A run is also skipped when the previous run of the same task is still going.

The Desktop page names no plan tier, API-key requirement, subscription rule, or per-run price. On the costs page, Claude Code charges for the API tokens used, and those tokens count against plan or API usage for the same provider or account as a regular session. A subscription sign-in bills the subscription, an API key bills that key, and the Desktop page names neither.

If you need a written answer before you hand a Desktop schedule to a team, ask Anthropic Support. Second-hand claims that these tasks are free, or that they require API billing, don't have a page you can cite. The lifetime of a recurring Desktop task is unstated.

Session cron and /loop stay inside the open session

Session cron and /loop both live in the current Claude Code session on your machine. They die with that session. Billing is whichever path the session already uses, and no feature page states a separate price.

Session cron is the natural-language scheduler, backed by CronCreate, CronList, and CronDelete. A session holds up to 50 tasks. The minimum interval is one minute. A due prompt fires between turns. If Claude is busy, the task waits, and missed fires aren't replayed one by one. Recurring session tasks expire after seven days, fire one final time, and delete themselves. That seven-day rule is on the scheduled-tasks page, and I couldn't find a three-day rule there.

/loop takes an optional interval and an optional prompt. Leave the interval off and Claude self-paces, where the runtime supports that. Leave the prompt off and it runs a maintenance check or reads .claude/loop.md. Content past 25,000 bytes in that file is truncated. A fixed-interval loop runs until you stop it or seven days pass. If an iteration doesn't reschedule itself or stop, Claude creates a fallback wakeup about 20 minutes later. If that wakeup doesn't reschedule either, the loop ends.

/usage, from Claude Code v2.1.242, shows the heaviest /loop and scheduled tasks: fire count, total tokens, and per-run tokens, for the last 24 hours or the last 7 days. The figures are approximate and come from local session history. Other devices and claude.ai are left out, so a cloud Routine that ran overnight won't necessarily appear. Check the account usage view for the total that includes them.

Spend controls in the product are organisation, workspace, and cloud-provider limits. A routine has no documented budget and no pre-run quote. If you need a cap today, limit the tool calls and iterations in the prompt and exit early.

Steering a cloud session from a phone is a separate mechanism, covered in Claude Code remote control. The classifier that decides which actions Auto mode takes is in Claude Code Auto mode explained.

Keep overnight work on a cloud Routine

If it has to run while the laptop is shut, use a cloud Routine. Subscription usage is the path written down, so counting starts against the plan cap is the daily cost. Keep the cadence at daily or slower unless the run pays for itself in avoided work. Live iteration belongs in /loop or session cron, and it dies when you close the terminal, which stops a forgotten schedule from leaking tokens.

Desktop never names who pays. Don't put anything on that schedule that would hurt if it ran a hundred times. If Anthropic later publishes a plan and a billing statement for Desktop tasks, that changes. Until then, treat a Desktop task as a convenience for cheap prompts.

Frequently asked questions

Can I schedule tasks in Claude Code on the cloud?
Yes, with a cloud Routine from /schedule, claude.ai/code/routines, or Desktop under Routines then Cloud: it runs on Anthropic's infrastructure, draws subscription usage the same way an interactive session does, and caps automated runs at 5 a day on Pro, 15 on Max, and 25 on Team and Enterprise, with a one-hour minimum. Free isn't named as eligible, and a faster cadence or a live local session needs session cron or /loop.
What is the difference between a Claude Routine and a scheduled task?
A cloud Routine runs on Anthropic's infrastructure, a Desktop scheduled task runs on your machine in the Desktop app, and session cron or /loop stays in the current session until it ends or, for a recurring session task, seven days pass. Desktop puts Local and Cloud under one Routines label, and /schedule creates the cloud Routine only.
Do Claude Code scheduled tasks use my subscription or API credits?
Cloud Routines draw subscription usage, with metered overage when the organisation has usage credits enabled. The Desktop feature page states no plan, subscription rule, or API-credit requirement, the costs page counts tokens against the same provider or account as regular sessions, and session cron and /loop use whatever that open session already uses.
How many Claude Code scheduled tasks can I run per day?
Cloud Routines allow 5 automated runs a day on Pro, 15 on Max, and 25 on Team and Enterprise, from the 14 April 2026 announcement. Run now skips that cap and still draws normal usage, organisations with usage credits continue at metered rates past the cap while the others are rejected until the window resets, and Desktop tasks, session cron, and /loop have no published per-day cap (a session holds at most 50 cron tasks, and recurring session tasks expire after seven days).
Do failed cloud Routine runs cost me tokens?
Unstated: a green status means the session started and exited cleanly, not that the prompt succeeded, and whether a failed, timed-out, cancelled, or empty run is billed, counts against the daily cap, or is retried isn't written down. Design the routine to exit early, and read the run history.
Where do Claude Code session cron tasks expire?
Seven days for a recurring session task: it fires once more and deletes itself, and a fixed-interval /loop runs until you stop it or seven days pass. A session holds up to 50 scheduled tasks, missed fires aren't caught up, and if Claude is busy the task waits until the current turn ends.
Does the Desktop scheduled task run when my computer is asleep?
No: the app has to be open and the computer awake, a run missed in sleep is skipped, and on wake the app checks the last seven days, starts one catch-up for the most recent miss, and discards the older ones. A run can also be skipped if the previous one is still going, and a closed laptop needs a cloud Routine.
Can I set a per-routine budget or spending alert?
Not on the documented Anthropic surface. Spend controls are organisation, workspace, and cloud-provider settings, /usage from v2.1.242 shows the heaviest scheduled tasks and /loop runs after the fact (a view, not a cap), and a routine-level cap today has to live in the prompt.
Can I run cloud Routines against a GitLab or Bitbucket repo?
No: cloud sessions that clone a repo are GitHub-only, and Zero Data Retention organisations can't use cloud session features. A Desktop scheduled task, session cron, or /loop still needs the machine to be available.
How do I see what my scheduled tasks are costing me?
Open /usage on v2.1.242 or later: plan bars, activity, and rows for the heaviest /loop and scheduled tasks, with fire frequency, run count, total tokens, per-run tokens, and last-run time, for 24 hours or 7 days. The numbers are approximate and come from local history, so other devices and claude.ai are excluded, and a cloud Routine has to be checked against the account usage view.