Credits
What uses an organization’s credits, how it is counted, and what happens when they run out.
Compute credits
A machine uses compute credits while it runs. A sleeping machine uses none, and machines sleep when idle (Sleep).
| What runs | Credits an hour |
|---|---|
| An agent’s machine | 1, whatever its size |
| Any other machine | vCPUs ÷ 2 + GiB of memory ÷ 4 |
| A browser or the organization’s git | 0 |
So a standard machine (2 vCPU, 4 GiB) uses 2 credits an hour and one of 1 vCPU and 2 GiB uses 1. A Claude Code session’s machine and a Claude Managed Agents machine count by their size like any other machine.
- Time is counted per machine and size, rounded up to whole minutes in each hour.
- A machine is counted at the size it has, not what it uses of it. A resized machine is counted at each size for the time it had it.
- Credits are booked every hour, a few minutes after it ends.
Storage credits
A storage credit is a GiB kept for a month. Storage is counted every hour in the bytes actually stored: machines’ disks, forks, checkpoints, the disks checkpoints keep, sleeping machines’ memory snapshots, the disks of machines on cold suspend, buckets and artifacts. Backups are not counted.
Where credits come from
- The plan’s credits, granted at the start of every month of the subscription. What is left at the month’s end lapses.
- Bought credits, in packs of 500. They are used once the month’s credits are gone, the oldest first, and last 12 months.
The organization’s Dashboard shows the month at a glance: credits used, credits left, whether the plan’s credits last the month at the rate so far (and if not, the day they run out), and what runs now costs an hour.
Usage & credits in the portal shows each balance (the month’s credits, the ones bought, what was used this month and what runs costs an hour now), the month so far against the plan’s credits and where it is heading at that rate, the credits used per hour over the last 48 hours or per day this month (agents, machines and Claude Code sessions; browsers and git in hours, free), earlier months, and the limits next to what is in use. When 80% of the month’s compute credits are used, the organization’s owners and admins get an email.
Plan & billing is where you buy credits (500, 1,000, 2,000 or any multiple of 500), turn on auto top-up, add or change the billing details and the payment method, change or cancel your plan, and find the invoices. Buying credits and auto top-up charge the payment method on file: without one, the portal asks for it first and then carries on where you were. A cancelled plan keeps working until its month ends and can be re-enabled until then.
When credits run out, a failed payment is waiting, or the subscription has ended, a bar across the top of every page of the organization says so.
Out of compute credits
With no compute credits left, and none bought, everything keeps working for 7 days: machines and agents start, wake and run as before. What they use in those days is taken from the next credits that arrive (bought, or the next month’s). The organization’s owners and admins get a mail on the first day and every day after, with the day machines stop, and the bar across the top of every page says it too.
After the 7 days:
- Machines and agents don’t start or wake. Creating a machine asleep still works.
- Machines that still run are put to sleep within the hour. Their state is kept: they wake where they were once there are credits again. The owners and admins get one more mail that says so.
- Browsers, git and storage keep working. Storage is never stopped; above the plan it is billed at the end of the month.
The 7 days end only once the balance is above zero again: credits that don’t cover what was used in them don’t start another week. A subscription that ended after a failed payment has had its week already, and stops at once.
Everywhere a start or wake is refused, it says so in the same words:
Out of compute credits. Machines and agents can’t start or wake until more credits arrive: buy credits under Plan & billing in the portal. Browsers, git and storage keep working.
- The portal shows it where you asked, with Buy credits.
spaceexits with code 7 (HTTP 429), the error’s coderate_limitedanddetails.out_of_creditstrue with--json(Troubleshooting).space-env(space-env fork,space-env machines createorwake) exits with status 1 and prints the region’s refusal, which startsout of credits: compute.and goes on in the same words.
As soon as credits arrive (bought, or the next month’s) and leave the balance above zero, machines start and wake again: credits that only pay back what was used are not enough.