Concepts

Resource Pools

Your credit subscription funds the wallet and sets two resource pools shared across all your VMs. A single VM can have at most 12 vCPUs, including on Enterprise. Higher plans let you distribute more capacity across multiple VMs; a larger pool does not raise that single-VM ceiling.

These are account-level allocation policies. A PAYG or monthly capacity contract separately defines the purchased shared pool and payment terms for personal VMs or an optional namespace. A monthly pool prepays its CPU, RAM and included disk for the paid period; the account tier, paid running pool and platform per-VM ceiling all apply to new purchases. A namespace's declared policy can restrict its pool further. Account-tier rules still govern namespace count and reseller eligibility. Resource-limit edits alone do not purchase a pool.

A capacity subscription belongs to the pool, not to a VM ID. Split it across one or many VMs and replace them within the same paid period. New contracts use allocationBasis: "running": confirmed stops release running CPU/RAM, while retained disks and owned VM slots still count. Paused VMs and pending starts retain running reservations. Removal releases owned capacity only after confirmation. Older paid contracts return allocationBasis: "allocated" and preserve their original rules. Both PAYG and monthly use these allocation checks. A wallet deposit funds PAYG usage without increasing CPU, RAM, disk or VM limits.

Two pools

Owned pool

The owned pool limits the total resources across all your VMs (running or stopped). This is your overall capacity ceiling.

Running pool

The running pool limits resources consumed by currently running VMs. This is your active capacity ceiling.

Confirmed stopped VMs count toward the owned pool but release running CPU/RAM. Disk remains charged to retained storage; an unknown stop outcome does not release resources. This means you can have more total VMs than can run simultaneously.

How it works

When you create a VM:

  1. Resources are checked against the owned pool
  2. If pool is full → POOL_LIMIT_REACHED error

When you start a VM:

  1. Resources are checked against the running pool
  2. If pool is full → RUNNING_POOL_REACHED error
  3. Stop another VM to free running pool capacity

When you stop a VM:

  • Running pool resources are freed
  • Owned pool resources are still consumed (VM still exists)

When you delete a VM:

  • Confirmed removal frees its CPU/RAM and VM slot
  • A retained disk still uses storage until separately deleted

Account pool limits

Read GET /credits/plans for current account-tier limits and vms.getQuota() for the authenticated owner's effective limits and usage. These values come from the backend. The account tier grants credit funding and capacity limits. A monthly pool spends those credits to cover shared resources for a month; presets are sizing examples, not replacement tiers. Read the authenticated capacity response and effective namespace limits before provisioning.

Disk allowances are the same in both pools because stopped VMs retain their storage. There is no smaller disk budget when starting them. CPU and memory still have separate running limits.

Account policy values are allocation ceilings. A confirmed monthly capacity quote separately reserves a paid pool on a compatible host. The immutable image is shared; each VM has a separate sparse writable disk. Hosts need sufficient physical space as those writable disks grow.

CPU quota

All tiers currently allow 100% CPU quota per assigned vCPU. Plan CPU counts, running-pool limits and host contention still determine available throughput.

Per-VM limits

Each VM must fit its effective per-VM limit as well as the owned, running and namespace pools. Read the backend's quota/plan response and the namespace's effective_resource_limits for current CPU, RAM and disk ceilings. A VM remains subject to the platform maximum of 12 vCPUs, including on Enterprise.

The API uses MiB for memory_mb and disk_size_mb: 1 GiB is 1024 MiB and 1 TiB is 1048576 MiB. An image can require a higher minimum; use the image catalog's requirements and effective account/namespace limits before provisioning. See Mac VMs for that image's storage and memory requirements.

Hard maximum is the platform ceiling per VM, including Enterprise. Aggregate quotas and host capacity still apply.

For example, a 64-vCPU running pool can accommodate five 12-vCPU VMs and one 4-vCPU VM if memory, disk, VM count and host capacity also fit. Each VM must remain within the 12-vCPU ceiling. Compute charges follow the saved billing mode: measured PAYG usage or paid monthly coverage.

The ceiling applies to creation, resize, restart, resume and snapshot restore. A running VM created under an older, larger ceiling is not stopped automatically. Reduce its CPU allocation to 12 or less before its next launch or resource change.

Checking your quota

const quota = await ws.getQuota();

console.log(`Plan: ${quota.planLabel}`);
console.log(`VMs: ${quota.currentVms}/${quota.maxVms}`);
console.log(`Can create: ${quota.canCreate}`);
console.log(`Pool used: ${quota.pool_usage.cpus}/${quota.pool.cpus} CPUs`);
console.log(`Running used: ${quota.running_pool_usage.cpus}/${quota.running_pool.cpus} CPUs`);

Common scenarios

"Pool limit reached" on create

Your total VM resources exceed the owned pool. Options:

  • Delete unused VMs
  • Reduce resources on existing VMs
  • Upgrade your plan - see the Pricing page

"Running pool reached" on start

Too many VMs running simultaneously. Options:

  • Stop a running VM
  • Reduce resources on running VMs
  • Upgrade your plan - see the Pricing page

Maximize VM count

Use smaller resource allocations:

// Minimal vm - fits many in a pool
await ws.create({
  image: 'oblien/alpine:3.24',
  config: { cpus: 1, memory_mb: 128, disk_size_mb: 64 },
});