> ## Documentation Index
> Fetch the complete documentation index at: /llms.txt
> Use this file to discover all available pages before exploring further.

# Resources and limits

> What a machine gets, the sizes you can pick, what an organization can hold, and what each lifecycle state costs.

Every machine starts from the same default size, every organization starts with the same quotas, and an idle machine hibernates on its own. Every limit on this page can be raised. If you need more machines or a different size, email [contact@boxd.sh](mailto:contact@boxd.sh). The boxd team generally approves requests the same day.

## What every machine gets

| Resource | Per machine |
| - | - |
| vCPUs | 2 by default (1, 2, 4 or 8, see [Machine sizes](#machine-sizes)) |
| Memory | 8 GiB by default (4, 8, 16 or 32 GiB) |
| Disk | 100 GB, fixed (copy-on-write) |
| HTTPS/SSH address | Own domain (`name.boxd.sh`) and a dedicated SSH port on boxd's shared proxy IP |
| HTTPS subdomains | As many [subdomain proxies](/guides/proxies.md) as you want |
| Raw TCP/UDP port forwards | 3 ([port forwarding](/guides/port-forwarding.md)) |
| Checkpoints | 10 per machine |
| Runtime | Unlimited |

Disks are copy-on-write, so storage only grows as you actually write data. A fresh fork takes near-zero extra disk until it starts diverging from its source machine.

## Machine sizes

A machine comes in one of four sizes. Naming either dimension picks the size, so `--vcpu 1` means 1 vCPU with 4 GiB.

| vCPUs | Memory | |
| - | - | - |
| 1 | 4 GiB | |
| 2 | 8 GiB | the default |
| 4 | 16 GiB | |
| 8 | 32 GiB | |

```bash
boxd machine new myapp --vcpu 4          # pick a size at creation
boxd machine resize myapp --memory 16G   # change it later
boxd manage size                         # the org's default size and its quota
boxd manage size set --vcpu 1            # org admin: what new machines get when no size is named
```

* **Creating.** A size applies to fresh machines only. A fork and a machine created from a snapshot keep their source machine's size, and passing a size there is an error.
* **Resizing.** The new size is saved right away. A running machine reboots to apply it, so its disk persists and running processes are lost. A stopped machine picks it up at its next start. Resume or wake a machine in standby or hibernation first.
* **The org default.** It only affects machines created afterwards. Every existing machine keeps its size.
* **The quota.** This is the largest size a single machine may have, 8 vCPU / 32 GiB unless the boxd team raised it for your org.

The SDKs take the same sizes on `create`: see [TypeScript](/reference/typescript-sdk.md#creating-machines) and [Python](/reference/python-sdk.md#creating-machines).

## Organization limits

| Limit | Default |
| - | - |
| Machines | 50 per organization (your default org included) |
| API keys | 25 per user |
| Custom domains | 25 per user |

An org without a payment method is capped at 2 machines. Add a payment method and the cap goes to the full 50.

Every machine counts toward the cap, hibernated and stopped ones included. Deleted machines don't. Filling the cap with hibernated machines is normal use, since a hibernated machine bills for its disk only.

With several [regions](/guides/regions.md), the machine limit applies in each region on its own. An org with a limit of 50 can have 50 machines in Frankfurt and another 50 in New York, and `boxd manage machine-limit` shows how many are in use in each.

> [!TIP]
>
> Hitting a cap? Email [contact@boxd.sh](mailto:contact@boxd.sh) and describe what you're running. The boxd team generally approves requests the same day.

### Need more machines?

The org's owner can ask for a higher machine limit without leaving boxd: from **Request more machines** on the console's billing page, from the CLI, or from an SDK. Ask for the new total you want, above your current limit and up to 1000, and say why if you like. One request is open at a time, and the owner gets an email when the limit changes. Any member can see the limit, how many machines count against it, and whether a request is open.

```bash
boxd manage machine-limit                                              # the limit, machines in use, any open request
boxd manage machine-limit request --max-vms 100 --message "CI runners"  # owner only: login or an API key of theirs
```

In the SDKs: `orgs.get_machine_limit()` / `orgs.request_machine_limit()` in [Python](/reference/python-sdk.md#machine-limit) and `orgs.getMachineLimit()` / `orgs.requestMachineLimit()` in [TypeScript](/reference/typescript-sdk.md#machine-limit). For more than 1000 machines, email [contact@boxd.sh](mailto:contact@boxd.sh).

## What each state costs

You don't manage any of this by hand. A machine hibernates on its own when traffic stops and wakes when it returns. Usage is metered per second:

| State | Memory lives | Wake time | Billed for |
| - | - | - | - |
| **running** | In RAM, vCPUs scheduled | Already running | Active vCPU only, memory in use, disk written |
| **standby** (auto-suspend) | Kept in host RAM | Sub-millisecond | Memory in use, disk written |
| **hibernated** (auto-hibernate) | Written to disk | About 85ms | Disk written |
| **stopped** | Not kept | A fresh boot | Disk written |

**You only pay for active vCPU**, not for the vCPUs a machine reserves. A 2 vCPU machine that is active 10% of an hour pays for 0.2 vCPU-hours, and that is the typical case: on average, only 10% of a machine's reserved vCPU is active. RAM bills on the memory the machine holds, not the GiB it was given, and disk bills on what has been written, not the 100 GB provisioned.

Auto-suspend is off by default, and auto-hibernate kicks in after 4 hours without network traffic in either direction. Your app never notices the transitions. That is why a hibernated preview, an idle source machine, or a long-lived agent workspace can sit around for weeks and bill for disk only. See [Suspend, resume, and hibernate](/guides/suspend-resume.md).

## Pricing

See [boxd.sh/pricing](https://boxd.sh/pricing) for the current rate card, and email [contact@boxd.sh](mailto:contact@boxd.sh) for organization pricing.

## Self-hosted

When you self-host boxd, you set the quotas yourself. `boxd-ctl org set-quota` overrides the platform defaults per org.
