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

# Billing Examples

> Worked Agent Sandbox cost examples for short tasks, development sessions, pause and resume, always-on workloads, shared storage, and common billing questions.

These examples cover short tasks, development sessions, pausing and resuming, and always-on workloads to help you estimate the cost of an Agent Sandbox. Compute is billed per second. Disk is currently free.

## Unit Prices

| Item | Unit Price | Billing Notes |
| - | - | - |
| CPU | \$0.0000098 / vCPU / second | Based on billable runtime |
| Memory | \$0.0000032 / GiB / second | Based on billable runtime |
| Disk | Currently free | Disk costs \$0 in the examples below |
| Templates and snapshots | \$0.00009 / GiB / hour | Shared 60 GiB free allowance per account |
| Volume | Public beta | Excluded from these estimates |

The short task, single development session, and always-on workload examples each use one instance and retain no templates or snapshots. The pause-and-resume example separately includes storage for the retained sandbox state. Monthly estimates assume 30 days. Small charges are shown without rounding.

## Short Task

**Configuration:** 1 vCPU + 2 GiB memory; 15 GiB Disk usage. The sandbox runs for 60 seconds and is then destroyed.

| Item | Calculation | Cost (USD) |
| - | - | - |
| CPU | 1 × 60 × 0.0000098 | 0.000588 |
| Memory | 2 × 60 × 0.0000032 | 0.000384 |
| Disk | Currently free | 0 |
| **Total** | **CPU + memory + Disk** | **0.000972** |

## Single Development Session

**Configuration:** 2 vCPU + 4 GiB memory; 50 GiB Disk usage. Runtime: 1 hour (3,600 seconds).

| Item | Calculation | Cost (USD) |
| - | - | - |
| CPU | 2 × 3,600 × 0.0000098 | 0.07056 |
| Memory | 4 × 3,600 × 0.0000032 | 0.04608 |
| Disk | Currently free | 0 |
| **Total** | **CPU + memory + Disk** | **0.11664** |

## Pause for One Hour, Then Resume

**Configuration:** one instance, 1 vCPU + 2 GiB memory; actual memory usage is 1 GiB and Disk usage is 10 GiB. Run for 30 minutes, pause for 1 hour, then resume for another 30 minutes. When paused, the 1 GiB of memory state and 10 GiB of Disk data are saved in a snapshot. This example assumes an 11 GiB snapshot and 10 GiB of unused shared storage allowance.

| Item | Calculation | Cost (USD) |
| - | - | - |
| CPU | 1 × 3,600 × 0.0000098 | 0.03528 |
| Memory | 2 × 3,600 × 0.0000032 | 0.02304 |
| Disk | Currently free | 0 |
| Snapshot storage | (11 - 10) × 1 × 0.00009 | 0.00009 |
| **Total** | **CPU + memory + Disk + snapshot storage** | **0.05841** |

CPU and memory are not billed while paused; memory during runtime is billed based on the configured 2 GiB; snapshot storage is estimated for the paused hour only.

## Always-On Workload

**Configuration:** 2 vCPU + 4 GiB memory; 50 GiB Disk usage. The sandbox runs continuously, 24 hours per day for 30 days, totaling 720 hours.

| Item | Calculation | Monthly Cost (USD) |
| - | - | - |
| CPU | 2 × 86,400 × 30 × 0.0000098 | 50.8032 |
| Memory | 4 × 86,400 × 30 × 0.0000032 | 33.1776 |
| Disk | Currently free | 0 |
| **Total** | **CPU + memory + Disk** | **83.9808** |

## Shared Storage Allowance

One account retains 40 GiB of templates and 40 GiB of snapshots, totaling 80 GiB, for 30 days (720 hours). Assume capacity remains constant and the full shared 60 GiB free allowance is available.

| Item | Calculation | Cost (USD) |
| - | - | - |
| Free storage | 60 GiB × 720 hours (within the free allowance; no charge) | 0.00 |
| Billable storage | Billable capacity: 80 - 60 = 20 GiB; cost: 20 × 720 × 0.00009 | 1.296 |
| **Total** | **0.00 + 1.296** | **1.296** |

If this storage is retained alongside the always-on workload above, the combined cost is 83.9808 + 1.296 = \$85.2768.

## Frequently Asked Questions

All compute examples in this table use 1 vCPU + 2 GiB memory. The combined CPU and memory rate is \$0.000972 per minute, converted from the per-second rates. Compute costs below include only CPU and memory.

Storage capacity in these examples is the total template and snapshot storage across one account, sharing a 60 GiB free allowance. Each example is calculated independently.

| Question | Billing Rule | Example and Cost |
| - | - | - |
| **How are batch tasks billed?** | Add the billable runtime of all tasks, then multiply by the compute rate for the selected configuration. | Run 1,000 tasks for 5 minutes each.  Calculation: 1,000 × 5 × 0.000972  **Compute cost: \$4.86** |
| **Does concurrency change the cost?** | With the same configuration and total billable runtime across all instances, the total compute cost is the same. | Run 100 sandboxes for 10 minutes each: 1,000 instance-minutes in total. Concurrent and sequential execution are both billed for these 1,000 minutes.  Calculation: 100 × 10 × 0.000972  **Compute cost: \$0.972** |
| **Why can storage charges continue after a sandbox is destroyed?** | CPU and memory runtime charges stop when the sandbox is destroyed. Retained templates and snapshots continue to incur storage charges based on how long they are stored. | After destroying the sandbox, retain 40 GiB of templates and 40 GiB of snapshots for 30 days (720 hours). Total capacity is 80 GiB, with 20 GiB above the free allowance.  Calculation: (80 - 60) × 720 × 0.00009  **Storage cost: \$1.296** |
| **How is a mid-month storage change billed?** | Calculate each period with a different capacity separately, then add the costs. Only capacity above the shared 60 GiB free allowance is billed in each period. | Store 40 GiB for the first 10 days at \$0. Store 80 GiB for the next 20 days; only the extra 20 GiB is billed.  Calculation: 0 + (80 - 60) × 20 × 24 × 0.00009  **Monthly storage cost: \$0.864** |


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