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

# Understand the Account resource pool

> Use current Memory, shared CPU, Storage, persistent Computer limits, network policy, and eligibility observations to plan and run Deepest Machines.

Deepest assigns resources to an **Account**. Computers and Sandboxes in that Account share one pool for running Memory, shared CPU (`shared_cpus`), Storage, and network Fair Use policy. Creating another Machine never multiplies your CPU budget, storage quota, or network allowance.

> [!NOTE]
>
> **Commercial Beta plans & runtime authority:** Deepest Commercial Beta is invite-only with **no Free plan**. Listed monthly/annual prices are published formal plan reference prices; during Beta, self-serve checkout and automatic renewal are disabled. Always read `resources.get()` at runtime as the single source of truth for an Account's effective limits and eligibility rather than hardcoding plan numbers.

## Formal Commercial Beta plans

| Plan | Shared CPU | Running Memory | Storage | Persistent Computers | Sandbox | Paid Network Fair Use | Reference Price (Beta display) |
| - | - | - | - | - | - | - | - |
| **Starter** | 2 shared cores | 4 GiB | 20 GB | 50 | Disabled | 100 Mbps (200 GB → 10 Mbps; 400 GB → 2 Mbps) | \$9/mo (\$8/mo billed annually) |
| **Pro** | 4 shared cores | 8 GiB | 50 GB | 500 | Enabled | 100 Mbps (200 GB → 10 Mbps; 400 GB → 2 Mbps) | \$18/mo (\$16/mo billed annually) |
| **Max 16** | 8 shared cores | 16 GiB | 100 GB | 1,000 | Enabled | 100 Mbps (200 GB → 10 Mbps; 400 GB → 2 Mbps) | \$35/mo (\$30/mo billed annually) |
| **Max 32** | 8 shared cores | 32 GiB | 100 GB | 1,000 | Enabled | 100 Mbps (200 GB → 10 Mbps; 400 GB → 2 Mbps) | \$68/mo (\$60/mo billed annually) |

* **Persistent Computer limits (`50 / 500 / 1,000 / 1,000`):** Stopped, reserved, and pending Computers continue to occupy slots. **Clone** creates a new Computer and consumes a slot; **Start, Stop, Resize, Snapshot, and Restore** do not consume additional slots. Confirmed **Delete** releases a slot. **Sandboxes** do not count against the persistent Computer limit.
* **Starter excludes Sandboxes:** `sandbox_enabled` is `false` on Starter; Sandbox calls fail with `SANDBOX_NOT_ENABLED`.

## Read the pool and Machines together

In the Console, open **Machines** to review the **Account resource pool** (**Memory**, **Storage**, and **Shared CPU**). From an Agent or trusted local process using [`@deepest/sdk`](https://docs.deepest.dev/api-and-sdk/typescript):

```js theme={null}
import { Deepest } from "@deepest/sdk";

const deepest = new Deepest({
  baseUrl: process.env.DEEPEST_API_URL,
  apiKey: process.env.DEEPEST_API_KEY,
});

const pool = await deepest.resources.get();
const computers = await deepest.computers.list();
const sandboxes = await deepest.sandboxes.list();
if (!pool.ok || !computers.ok || !sandboxes.ok) {
  throw new Error("Inspect the failed envelope before acting.");
}

console.log({
  eligibility: pool.result.entitlement,
  memoryAvailableMiB: Math.max(0, pool.result.ram_limit_mib - pool.result.ram_used_mib),
  sharedCpuCores: pool.result.shared_cpus,
  storageStatus: pool.result.storage_status,
  storageUsedBytes: pool.result.storage_used_bytes,
  sandboxEnabled: pool.result.sandbox_enabled,
  counts: pool.result.machine_counts,
  countConstraints: pool.result.machine_count_constraints,
});
console.table(computers.result);
console.table(sandboxes.result);
```

> [!WARNING]
>
> A resource read is an observation, **not a reservation**. Another authorized caller can consume capacity before your next Create or Start, and platform admission checks physical capacity on every request. Never replace a failed or missing observation with `0` or assume an error means no Machines exist.

## Running Memory is configured Memory

The running pool tracks each Machine's **configured** Memory (`ram_mib`), not instantaneous Linux RSS or guest `free`:

* `running`, `starting`, `paused`, and draining Machines occupy running Memory until release is confirmed.
* A **stopped** Computer occupies **0 running Memory**, while keeping its disk on Account Storage.
* An unresolved (`UNKNOWN`) operation holds Memory conservatively until settled; a lost response is never evidence that Memory was released.
* New Computer/Sandbox allocations and Computer Resize targets require **256 MiB increments** with a **256 MiB minimum**. (`1 GiB = 1,024 MiB`; Storage and network thresholds use bytes.)
* Inside Linux, usable memory reported by `/proc/meminfo` is slightly lower than `ram_mib` due to kernel and device overhead.
* Stopped Computers can collectively exceed `ram_limit_mib` in configured size; each Start must fit currently available running Memory.

### First-Computer recommendation

When an active Account has zero Computer records (including zero reserved or pending creation intents) and sufficient available Memory, `resources.get()` includes `recommended_first_computer_ram_mib`. It is a convenience hint (up to half the pool, capped at 4 GiB, rounded down to 256 MiB), not a reservation or automatic creation. Its absence means at least one Computer record/intent exists or Memory is insufficient—never treat an omitted hint as permission to create with a guessed default.

## Shared CPU is one Account budget

`shared_cpus` is the Account's aggregate CPU allowance. Each new or cold-started Guest exposes `shared_cpus` vCPUs so a single active Machine can burst up to the full Account CPU budget while neighbors are idle.

When multiple Computers or Sandboxes run CPU-intensive tasks concurrently, Linux cgroup scheduling shares that same `shared_cpus` quota across all running Machines in the Account—latency and throughput scale with competition. Keep unneeded Machines stopped so active workloads get full shared CPU headroom.

A live change to an Account's CPU entitlement applies on the next normal cold Start, not necessarily mid-flight to an already running Guest.

## Storage remains in use after Stop

Account Storage tracks owned writable disks, snapshots, and clones using Host storage accounting (`storage_used_bytes`), where shared blocks are measured once rather than summed from virtual disk sizes.

Stopping a Computer releases running Memory but **retains its disk and Storage usage**. Deleting a file inside Linux or running `fstrim` does not immediately credit `storage_used_bytes`, especially when snapshots still reference old blocks.

When `storage_status` reaches `over_limit`, growth operations (**Create, Clone, Snapshot**) are rejected with `STORAGE_LIMIT_EXCEEDED`. Existing Computers can still be started for authorized cleanup (subject to active entitlement and available Memory); Deepest never deletes your files automatically to fit a lower quota.

**1. Inspect files and snapshots**

Check what consumes space inside the Computer and review whether attached [disk snapshots](https://docs.deepest.dev/computers/snapshots-and-restore.md) retain deleted blocks.

**2. Delete only explicitly disposable data**

Remove unwanted guest files and discard snapshots you no longer need.

**3. Stop the Computer explicitly**

Save work and call `stop()`—storage reclamation requires a stopped Computer.

**4. Run Storage Reclaim and re-read Resources**

Call [Storage Reclaim](https://docs.deepest.dev/computers/storage-reclaim.md) and read `resources.get()` again to verify actual Account usage. Reclaim makes no guarantee of a fixed byte reduction while snapshots or concurrent writes remain.

## Machine counts and constraints

`machine_counts` reports Computers and Sandboxes separately:

| Observation | Meaning |
| - | - |
| `total` | Retained Machine identities, **including** stopped Machines plus `reserved` and `pending` subsets (snapshots are separate). |
| `reserved` | Undispatched creation intents; already counted inside `total`. |
| `pending` | Unresolved lifecycle transitions; already counted inside `total` and may conservatively occupy Memory. |
| `occupied` | Machines currently charged to the running Memory pool. |
| `resident` | Observed active runtime instances; omitted when residency cannot be confirmed. |

> [!WARNING]
>
> Do **not** compute `total + reserved + pending`—`reserved` and `pending` are already included in `total`.

Check `machine_count_constraints` for active limits. When an active plan defines a persistent Computer limit (`50 / 500 / 1,000 / 1,000`), `machine_count_constraints` reports `kind: "computer"`, `scope: "retained"`, `source: "entitlement"`, `limit`, and `used` (which includes stopped, reserved, and pending Computers). An empty `machine_count_constraints` array means no numeric Machine-count limit is currently reported—it is **not** an unlimited-capacity guarantee. An omitted field is not equivalent to an empty array.

## Network policy and observations

All Machines share the Account's network policy. Paid plans (Starter, Pro, Max 16, Max 32) use the `paid` class: **100 Mbps** normal Account rate cap, scaling down to **10 Mbps** after **200 GB** and **2 Mbps** after **400 GB** of Guest public Internet traffic (RX + TX combined, measured per UTC calendar month). Throttling resets monthly and never disconnects or deletes Machines.

* `network_entitlement`: desired plan policy while `entitlement.status === "active"`.
* `network`: recent verified observation (`status` such as `known` or `partial`, `observed_at_ms`, `effective_policy`, `account_rate_cap_bps` in bits/sec, and optional `egress_usage_bytes` in decimal bytes). A configured rate cap is a ceiling, not guaranteed throughput.
* Missing `network` or omitted `egress_usage_bytes` means **unknown**, never zero usage or unlimited speed.
* Platform-forwarded SSH, Preview, Share, and Desktop traffic uses a separate metering path from Guest outbound Internet RX+TX.
* If an Account's network class changes while Machines are resident, `effective_policy` updates on the next Start after all Account Machines have stopped.

See [Outbound networking and bandwidth](https://docs.deepest.dev/network/outbound-and-bandwidth.md) for details.

## Eligibility and retention

Check `entitlement.status` before planning work:

| Status | Practical effect | Next action |
| - | - | - |
| `active` | Eligible for Create, Start, Resize, and runtime access within pool and platform capacity | Check `expires_at` margin before long tasks |
| `none` | Signed in without active compute entitlement (Beta has no Free plan) | Redeem an Invite in the Console; do not loop Start |
| `retention` | Entitlement expired; running Machines are stopped and Computer disks enter the 30-day retention window | Restore entitlement before `retention_deadline` to keep original disks |

Dates (`expires_at`, `retention_deadline`) are absolute **Unix milliseconds**, not durations.

After entitlement expires, public pool limits can drop to zero while physical stopping settles. Computer disks remain preserved for **30 days** without providing free compute or offline export. Restoring active entitlement within the retention window recovers the original Computer IDs and disks in place—it does not reinstall or auto-Start them. Sandboxes keep their independent **24-hour** hard expiry regardless of Computer retention.

## Worked resource decisions

> [accordion] Reuse an existing Computer or create a new one?
>
> Suppose an Account has 8,192 MiB total, a 4,096 MiB Computer running, and a 1,024 MiB Sandbox running (`5,120 MiB` used, `3,072 MiB` available).
>
> A 2,048 MiB task fits the Memory arithmetic—and first check `machine_count_constraints` (`persistent_computers`) and whether the existing 4,096 MiB Computer already holds the right repo and environment. Reusing avoids an extra slot and extra Memory; creating another Machine makes sense only for an independent disk or dependency boundary, and still requires server admission.

> [accordion] Budget parallel work against shared CPU
>
> With the same 8,192 MiB pool and `shared_cpus: 2`, adding a second 2,048 MiB Computer raises occupied Memory to 7,168 MiB (`1,024 MiB` remaining), **but adds zero CPU cores**. If both Computers run heavy builds concurrently, they compete for the same two shared cores along with any active Sandbox. Serialize CPU-bound builds when total CPU is the bottleneck, or use multiple Machines when tasks mostly wait on I/O or need separate environments.

> [accordion] Free Memory without deleting work
>
> Stopping the 1,024 MiB Sandbox above returns occupied Memory to 4,096 MiB once Stop confirms—do not double-spend expected capacity before Stop settles. Remember that a stopped Computer keeps its disk (and still occupies a `persistent_computers` slot), and a running shrink (`resize`) returns `restart_required` without freeing Memory until an explicit Stop → Resize → Start completes.

> [accordion] Recover from over\_limit Storage
>
> Suppose Storage limit is 20 GB and `storage_used_bytes` is 21 GB (`storage_status: "over_limit"`). Stopping a Computer frees running RAM, **not Storage**. Start the intended Computer (permitted when eligible and Memory fits), delete verified disposable files and obsolete snapshots, explicitly Stop, run [Storage Reclaim](https://docs.deepest.dev/computers/storage-reclaim.md), and re-read `resources.get()` to confirm usage dropped below limit.

## Recovering from resource refusals

| Error / Signal | Safe decision |
| - | - |
| `LIMIT_EXCEEDED` (`dimension: "memory"`) | Re-read Resources; stop unneeded running work, choose smaller Memory (256 MiB steps), or upgrade entitlement |
| `LIMIT_EXCEEDED` (`dimension: "persistent_computers"`) | Delete unneeded Computers (Stop alone keeps the slot occupied); Sandboxes do not use Computer slots |
| `LIMIT_EXCEEDED` (`reserved_intents`, `share_records`, `secret_grants`) | Resolve the specific dimension (`reserved_intents` / Shares / Machine grants); shrinking Memory does not fix these |
| `STORAGE_LIMIT_EXCEEDED` | Clean disposable data/snapshots on an existing Computer, Stop, and run Storage Reclaim |
| `LIFECYCLE_BUSY` (HTTP 429, `retry: "safe"`) | Wait at least `error.retry_after_seconds` (equal to `Retry-After`) and retry explicitly with the original key where applicable |
| `RUNTIME_UNAVAILABLE` (`retry: "safe"`) | Account entitlement does not guarantee immediate host capacity; wait and retry deliberately |
| `UNKNOWN` (`retry: "query-first"`) | Query the original Machine/intent before mutating again; never create replacements |

Exact field definitions live in the [API Reference](https://docs.deepest.dev/api-reference.md). Continue with [Access and retention](https://docs.deepest.dev/account/access-and-retention.md) or [Computer lifecycle](https://docs.deepest.dev/computers/lifecycle.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.