# Plans, limits and credit

> How plans, limits, and credit work, and what each limit error means.

This is the Markdown of https://docs.dvm.run/concepts/plans/. Every page of the dvm.run docs is served as Markdown at its address plus `.md`; the list of pages is https://docs.dvm.run/llms.txt.

This page explains how credit and plan limits work and what each error means. For current plan limits and rates, see [dvm.run/pricing](https://dvm.run/pricing/).

## Credit

Sandboxes draw from your account’s credit by their vCPUs and memory, for as long as they run, paused time included. Replaying a run to inspect it is free.

A sandbox will not start if your remaining credit cannot cover at least one minute of it; the API returns `402` with `your credit is used up: what's left pays for less than a minute of this sandbox`.

Some plans relax these restrictions: see the [pricing page](https://dvm.run/pricing/) for each plan’s limits and where credit limits do not apply.

## Limits

All limits apply per account. Your plan sets:

* **Concurrent sandboxes.** How many active sandboxes (queued, running, or paused) you can have at once. Starting another returns `409` with `you have N sandboxes going, the most the <plan> plan allows; stop one first`.
* **Concurrent replays.** Counted separately from active sandboxes, up to the same limit. A seek that exceeds it returns `409` with `too many timeline seeks in progress; try again in a moment`.
* **Sandbox size.** The maximum vCPUs and memory per sandbox. Requesting more returns `400` with `a sandbox on the <plan> plan may have up to <cpus> vCPUs and <memory> MiB`.
* **Maximum duration.** A sandbox runs for at most your plan’s time limit, or as long as your starting credit covers if that is shorter. When it reaches its time limit, it fails with that reason and can still be inspected.
