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

# Limits & billing

> Runtime ceilings, output limits, and the exact metering model for compute.

Compute is drawn from the organization's credit balance: a computer you create is billed ahead in 10-minute blocks, and a session's computer is metered from the seconds it ran, booked against your [budget](https://vetta.sh/docs/concepts/budgets.md) at the end of each turn. This page is the reference for the caps and the exact per-unit rates.

> [!NOTE]
>
> Every rate on this page is **the price you pay** — the number booked to the [ledger](https://vetta.sh/docs/platform/billing.md) and reported on your spend breakdown. Model inference is priced separately; see [Model router & inference](https://vetta.sh/docs/concepts/model-router.md).

## The compute meter

A computer is priced on its *provisioned* resources — vCPU and memory — at the rates below. There is **no creation fee**, and **disk is not metered**: the boot disk is inside the allowance the computer ships with.

A computer you create yourself ([create](https://vetta.sh/docs/computer/index.md#create-a-computer)) is billed **ahead, in 10-minute blocks** of the clock (`:00`, `:10`, `:20`, …):

* **At create**, it is charged from its creation to the end of the current block. A computer that runs for 30 seconds pays for up to ten minutes.
* **While it runs**, each later block it runs in is charged in full. A computer paused mid-block keeps the rest of that block; a resume inside a block already paid is not charged again.
* **Create and resume** need a balance that covers one full block at the computer's size; otherwise they answer `402 insufficient_credits`. Running a command or a file operation on a paused computer resumes it, so it needs the same.
* **When a block cannot be paid in full**, or the organization's plan has lapsed, the computer is **paused**, not destroyed. Its disk is kept, and it can be resumed once the balance covers a block.

A session's computer is metered **per running second** instead, from the time its turns actually used it.

| Resource | Per second | Per hour |
| - | - | - |
| vCPU | under 1 credit | 252 credits |
| Memory (per GiB) | under 1 credit | 81 credits |

| State | Billed |
| - | - |
| `running` | vCPU + memory: 10-minute blocks for a computer you create, per second for a session's. |
| `paused` | **Nothing** — no vCPU, no memory, no storage charge. |
| `destroyed` | Nothing further. |

A session's computer is **`1 vCPU / 1 GiB`**, so a full hour of *running* time is **252 + 81 = 333 credits**. Because idle maps onto the [runtime's](https://vetta.sh/docs/concepts/runtime.md) wake/sleep cycle, a computer waiting between turns is metered for nothing at all — the mechanism behind Naive Managed Agents' low cost on multi-hour tasks.

## The browser

The optional [browser](https://vetta.sh/docs/computer/browser.md) is metered **per session minute, open to close** (rounded up, minimum one minute), as one `browser` line on the [ledger](https://vetta.sh/docs/platform/billing.md) debited when the session closes — there is no up-front hold, because a session's cost is knowable only at close. The model-driven actions (`act`, `extract` with an instruction, `observe`) add their spend to the same `browser` line, one entry per action. A browsing agent also pays the tokens it spends driving the browser and the computer time of the session driving it.

Its limit is the per-session timeout below; a session past it is closed and billed by the platform clock within a minute.

## Mobile devices

A [mobile device](https://vetta.sh/docs/computer/mobile.md) is metered **per phone-minute, create to end** (rounded up, minimum one minute), at 250 credits a minute for an Android phone and 400 for an iPhone, each including the residential network its traffic exits through. It is one `mobile` line on the [ledger](https://vetta.sh/docs/platform/billing.md), debited once when the device ends, with no up-front hold. Actions, app installs included, add nothing. A device that failed to provision bills nothing. A device stopped at its `max_duration_minutes` is billed for the minutes it actually ran until it ended, at most 5 minutes past its maximum.

There is no limit on how many devices an organization runs, only on what it can pay for: a create needs a balance that covers 10 minutes for every live device and the new one, each at its rate (2,500 credits for one Android phone, 4,000 for one iPhone), plus what the live ones have run so far (`402 insufficient_credits` otherwise). The platform checks running devices every minute: an organization whose plan has lapsed, or whose balance no longer covers what its devices have accrued, has them ended with `termination_reason: "unfunded"`, billed for the minutes they ran. A `past_due` plan keeps its devices through the payment grace period.

## Concurrency

There is no count limit on computers or mobile devices. What an organization runs is bounded by what it can pay for.

| Concurrency limit | Default | Notes |
| - | - | - |
| Computers per org | No count limit | Bounded by the balance: each create, and each resume of a paused computer, needs ten minutes of that computer at its size (`402 insufficient_credits` otherwise). |
| Live mobile devices per org | No count limit | Bounded by the balance: 10 minutes of runway per live [mobile device](https://vetta.sh/docs/computer/mobile.md) and the new one, at each one's rate (above). When the platform's phones are all in use, a create is `429 rate_limited`. |

## Boot & wake latency

Only cold boots pay the full provisioning cost; the wake/sleep cycle the [runtime](https://vetta.sh/docs/concepts/runtime.md) uses between turns is near-instant, which is what makes idle cheap.

| Transition | Typical latency | What happens |
| - | - | - |
| Cold boot (fresh `create`) | \~2 s | A micro-VM is provisioned from a clean image. |
| Boot from a [snapshot](https://vetta.sh/docs/computer/snapshots-and-volumes.md#checkpoints) | \~3 s | Disk state is restored before the VM runs. |
| Resume from `paused` | \~2 s | Disk and memory are kept; an explicit `resume`, or the next command or file operation, starts it. |

> [!NOTE]
>
> The fully virtualized **isolate** mode (`mode: "isolate"`, **coming soon**) targets near-instant boot and near-zero idle; the numbers above describe the micro-VM that ships today.

## Limits

| Limit | Value | Notes |
| - | - | - |
| Max runtime | 12 hours, fixed | A computer exceeding it is auto-destroyed. There is no per-computer override. |
| Pause when unfunded | balance below the next 10-minute block | The computer is paused, not destroyed; its disk is kept. |
| Shell output | 262,144 chars each for stdout/stderr | See [Shell](https://vetta.sh/docs/computer/shell.md). |
| File read/write | 4 MiB per call | See [Filesystem](https://vetta.sh/docs/computer/filesystem.md). |
| `publish_file` / `fetch_file` | 5 GiB per file | Moved in slices; see [Files](https://vetta.sh/docs/capabilities/files.md). |
| Browser session timeout | 1 min – 6 h (`timeout_minutes`, max 360) | Hard per-session TTL. |

> [!NOTE]
>
> The 12-hour max runtime bounds a computer's **total lifetime from create to destroy** — it is wall-clock, not billed time, so a computer that is paused for most of that window still hits the ceiling on schedule. Only `running` time is billed; the ceiling is a safety cap on how long the computer may exist.

> [!WARNING]
>
> A computer is **auto-destroyed** when it exceeds its max runtime. Persist anything you need to keep with [`publish_file`](https://vetta.sh/docs/capabilities/files) or a [checkpoint](https://vetta.sh/docs/computer/snapshots-and-volumes.md#checkpoints) before then.

## Inspecting spend

Compute spend appears as the `computer` component of the [agent's spend breakdown](https://vetta.sh/docs/concepts/budgets.md) and as a line item on the organization [ledger](https://vetta.sh/docs/platform/billing.md).

```bash CLI theme={"system"}
naive agent spend agt_01j8rf6tq2m4vz9xkp3n7c5hwd --by component
```

Spend is reported on the wire as integer **micro-USD** (`1 USD = 1_000_000`); the CLI renders dollars for humans.

```json theme={"system"}
{ "by_component": { "model": 11902000, "computer": 481000 } }
```

> [card] [Back to the computer overview](https://vetta.sh/docs/computer/index.md)
>
> The full computer surface at a glance.


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