# Runtime > Runtime is a cloud of Linux machines: sandboxes for AI agents, functions, apps, sites, containers, CI/CD, scheduled jobs, browsers, desktops, notebooks and dev environments. Each machine is a Firecracker microVM with its own kernel, disk and network, made in milliseconds and billed for the CPU it uses and the memory it holds. Usage is billed as measured, at the price card's rates. The API is at `https://api.withruntime.com/v2` (version 2026-10-27), described by https://api.withruntime.com/v2/openapi.json and the API reference below. Every call takes an API key as `Authorization: Bearer `; the SDKs, the CLI (`npx withruntime`) and the MCP server read it from `RUNTIME_API_KEY`. ## Prices - CPU: $0.03 per busy vCPU-hour - Memory: $0.008 per GB-hour - Function calls: $0.20 per million - CI/CD: $0.001 per vCPU-minute, 4 GiB each - Warm: $0.18 per GB-month - Standard: $0.10 per GB-month - Cold: $0.02 per GB-month - Traffic out: $0.03 per GB - Dedicated IPv4: $5 per address, a month - WireGuard tunnel: $5 a month, 16 devices - Traffic in is free. No traffic out is free. - Pro: $25 a month, $25 of usage included - Growth: $99 a month, $110 of usage included - Scale: $499 a month, $575 of usage included - Enterprise: $24,990 a year, $3,000 of usage included each month Every price and limit: https://withruntime.com/docs/reference/pricing.md ## Products - [Sandboxes](https://withruntime.com/docs/sandboxes.md): A Linux machine for code you do not fully trust, such as an AI agent's: run anything in it, pause it with its memory kept, and resume it where it was. Starts at 2 vCPU, 4 GB of memory and 4 GB of disk; pauses after 300 seconds idle. API: https://withruntime.com/docs/reference/sandboxes.md - [Functions](https://withruntime.com/docs/functions.md): Answer HTTP requests with one TypeScript handler that pauses when idle and resumes on the next request. Starts at 1 vCPU, 1 GB of memory and 4 GB of disk; pauses after 60 seconds idle. API: https://withruntime.com/docs/reference/functions.md - [Apps](https://withruntime.com/docs/apps.md): Keep a web app running on port 8080, started the way Render and Heroku start one. Starts at 2 vCPU, 2 GB of memory and 4 GB of disk; never pauses for being idle. API: https://withruntime.com/docs/reference/apps.md - [Sites](https://withruntime.com/docs/sites.md): Serve a folder of static files at an HTTPS address, paused when nobody visits. Starts at 1 vCPU, 1 GB of memory and 4 GB of disk; pauses after 60 seconds idle. API: https://withruntime.com/docs/reference/sites.md - [CI/CD](https://withruntime.com/docs/ci.md): Run a repository's checks on a machine with git, Docker, Node, Bun and Python, or as a GitHub Actions runner. Starts at 4 vCPU, 16 GB of memory and 16 GB of disk; pauses after 300 seconds idle. API: https://withruntime.com/docs/reference/ci.md - [Browsers](https://withruntime.com/docs/browsers.md): A headless Chromium for an agent, driven with Playwright or Puppeteer over the Chrome DevTools Protocol. Starts at 2 vCPU, 4 GB of memory and 4 GB of disk; pauses after 60 seconds idle. API: https://withruntime.com/docs/reference/browsers.md - [Desktops](https://withruntime.com/docs/desktops.md): A Linux desktop with Chromium for an agent that uses a computer, its screen read and driven through the API, and shown in the browser and to VNC clients. Starts at 2 vCPU, 4 GB of memory and 4 GB of disk; pauses after 300 seconds idle. API: https://withruntime.com/docs/reference/desktops.md - [Notebooks](https://withruntime.com/docs/notebooks.md): JupyterLab with NumPy, pandas and matplotlib, its kernels kept in memory while it is paused. Starts at 2 vCPU, 4 GB of memory and 4 GB of disk; pauses after 300 seconds idle. API: https://withruntime.com/docs/reference/notebooks.md - [Dev environments](https://withruntime.com/docs/workspaces.md): A development environment with VS Code in the browser, like Codespaces and Gitpod. Starts at 4 vCPU, 8 GB of memory and 16 GB of disk; pauses after 30 minutes idle. API: https://withruntime.com/docs/reference/workspaces.md - [Containers](https://withruntime.com/docs/containers.md): Run one OCI image from any registry, reached at an HTTPS address. Starts at 1 vCPU, 1 GB of memory and 4 GB of disk; pauses after 300 seconds idle. API: https://withruntime.com/docs/reference/containers.md - [Jobs](https://withruntime.com/docs/jobs.md): Run a command on a schedule, or once, each run on a fresh machine billed only while it runs. API: https://withruntime.com/docs/reference/jobs.md - [Images](https://withruntime.com/docs/images.md): Build your own image from a recipe, a Dockerfile or any public OCI image, and boot every product from it. API: https://withruntime.com/docs/reference/images.md ## Guides - [Run an agent's code](https://withruntime.com/docs/agent-loop.md): Run code an AI model writes in a sandbox, read its result and feed failures back to the model. - [Changelog](https://withruntime.com/changelog.md): What shipped in Runtime, newest first. - [Commands and processes](https://withruntime.com/docs/commands.md): Run a command to its end, or start a process and talk to it while it runs. - [Errors and retries](https://withruntime.com/docs/errors.md): The shape of every error, which ones the SDKs retry, and how to make a retried call safe. - [Files](https://withruntime.com/docs/files.md): Read, write, list and move files in a sandbox, of any size. - [Identity tokens](https://withruntime.com/docs/identity-tokens.md): Let code in a sandbox reach AWS, Google Cloud or your own API with a short-lived signed token, and no stored key. - [API keys and access](https://withruntime.com/docs/keys.md): Authenticate with an API key, and give each key only the actions it needs. - [Sandbox lifecycle](https://withruntime.com/docs/lifecycle.md): Every state a sandbox can be in, and which call or event moves it between them. - [Limits](https://withruntime.com/docs/limits.md): How large a sandbox can be, how many can run at once, and how to read your account's limits. - [MCP](https://withruntime.com/docs/mcp.md): Give a coding agent Runtime's tools and Runtime's docs over MCP. - [Networking](https://withruntime.com/docs/networking.md): Control where a sandbox can connect out, and reach a sandbox from outside over HTTPS or TCP. - [Pause and resume](https://withruntime.com/docs/pause-and-resume.md): Pause a sandbox to stop paying for its CPU and memory, and resume it where it left off. - [Pricing](https://withruntime.com/docs/pricing.md): What Runtime charges for, how each charge is measured, and what each plan includes. - [Products](https://withruntime.com/docs/products.md): Every Runtime product, what each one is for and the size it starts at. - [SDKs and the CLI](https://withruntime.com/docs/sdks.md): Install an SDK or the CLI, and find any call's example in every language. - [Secrets](https://withruntime.com/docs/secrets.md): Let code in a sandbox call an API with your key without the key ever entering the sandbox. - [Snapshots, forks and images](https://withruntime.com/docs/snapshots.md): Keep a sandbox's disk and memory as a snapshot, start new sandboxes from it, and fork a running sandbox. - [Quickstart](https://withruntime.com/docs/start.md): Create a sandbox, run a program in it and delete it, in about a minute. - [Switch from Daytona](https://withruntime.com/docs/switch-from-daytona.md): Move code from Daytona's SDK to Runtime: each Daytona call and the Runtime call that replaces it. - [Switch from E2B](https://withruntime.com/docs/switch-from-e2b.md): Move code from E2B's SDK to Runtime: each E2B call and the Runtime call that replaces it. - [Switch from AWS Lambda](https://withruntime.com/docs/switch-from-lambda.md): Run code you used to run in AWS Lambda or a Lambda microVM in a Runtime sandbox instead. - [Switch from Modal](https://withruntime.com/docs/switch-from-modal.md): Move code from Modal Sandboxes to Runtime: each Modal call and the Runtime call that replaces it. - [Switch from Vercel Sandbox](https://withruntime.com/docs/switch-from-vercel.md): Move code from Vercel Sandbox to Runtime: each Vercel call and the Runtime call that replaces it. - [Serve a web app](https://withruntime.com/docs/web-app.md): Start a web server in a sandbox and share its port at a private HTTPS address. ## API reference - [apps](https://withruntime.com/docs/reference/apps.md) - [browsers](https://withruntime.com/docs/reference/browsers.md) - [builds](https://withruntime.com/docs/reference/builds.md) - [ci](https://withruntime.com/docs/reference/ci.md) - [containers](https://withruntime.com/docs/reference/containers.md) - [desktops](https://withruntime.com/docs/reference/desktops.md) - [domains](https://withruntime.com/docs/reference/domains.md) - [egress-ips](https://withruntime.com/docs/reference/egress-ips.md) - [feedback](https://withruntime.com/docs/reference/feedback.md) - [functions](https://withruntime.com/docs/reference/functions.md) - [identities](https://withruntime.com/docs/reference/identities.md) - [images](https://withruntime.com/docs/reference/images.md) - [job-runs](https://withruntime.com/docs/reference/job-runs.md) - [jobs](https://withruntime.com/docs/reference/jobs.md) - [keys](https://withruntime.com/docs/reference/keys.md) - [me](https://withruntime.com/docs/reference/me.md) - [networks](https://withruntime.com/docs/reference/networks.md) - [notebooks](https://withruntime.com/docs/reference/notebooks.md) - [otel](https://withruntime.com/docs/reference/otel.md) - [overview](https://withruntime.com/docs/reference/overview.md) - [ports](https://withruntime.com/docs/reference/ports.md) - [previews](https://withruntime.com/docs/reference/previews.md) - [pricing](https://withruntime.com/docs/reference/pricing.md) - [projects](https://withruntime.com/docs/reference/projects.md) - [roles](https://withruntime.com/docs/reference/roles.md) - [sandboxes](https://withruntime.com/docs/reference/sandboxes.md) - [secrets](https://withruntime.com/docs/reference/secrets.md) - [sites](https://withruntime.com/docs/reference/sites.md) - [snapshots](https://withruntime.com/docs/reference/snapshots.md) - [tunnels](https://withruntime.com/docs/reference/tunnels.md) - [usage](https://withruntime.com/docs/reference/usage.md) - [v1-key-scopes](https://withruntime.com/docs/reference/v1-key-scopes.md) - [volumes](https://withruntime.com/docs/reference/volumes.md) - [webhooks](https://withruntime.com/docs/reference/webhooks.md) - [workspaces](https://withruntime.com/docs/reference/workspaces.md) Every guide whole: https://withruntime.com/llms-full.txt