| title | Billing for cloud and local sandboxes for {% data variables.product.prodname_copilot %} | ||||
|---|---|---|---|---|---|
| shortTitle | Cloud and local sandboxes | ||||
| intro | Learn how usage of {% data variables.product.prodname_copilot_short %} cloud and local sandboxes is measured and billed. | ||||
| versions |
|
||||
| contentType | concepts | ||||
| category |
|
Note
{% data reusables.cli.public-preview-sandbox %}
Billing applies to cloud sandboxing only. Local sandboxing is included in the standard {% data variables.product.prodname_copilot %} seat at no additional cost.
A cloud sandbox session incurs charges across three meters:
- Compute: the time a cloud sandbox session is running.
- Memory: the memory allocated to a cloud sandbox session while it is running.
- Storage: snapshot storage for stopped sessions.
Usage is measured from the moment a session starts until it is stopped or deleted. Memory is measured based on the memory allocated to the session, not the memory actively in use.
The compute meter tracks the time a cloud sandbox is running. Compute is not metered while a sandbox is stopped.
The memory meter tracks the memory allocated to a cloud sandbox while it is running. Memory is not metered while a sandbox is stopped.
The storage meter tracks snapshot storage for stopped sessions. When you stop a cloud sandbox, {% data variables.product.github %} retains a snapshot of the sandbox's state so you can resume it later. Snapshot storage is metered from the time the sandbox is stopped until the sandbox is deleted.
For more information about cloud and local sandboxes, see AUTOTITLE.
During public preview, eligible {% data variables.product.github %} accounts receive a $10 monthly entitlement to try cloud sandboxes. This entitlement is available through the end of July 2026. Any usage beyond the monthly entitlement is billed to your account.
After the preview period ends, the entitlement no longer applies and all usage is billed.
You pay for cloud sandboxes using the payment method set up for your {% data variables.product.github %} account. See AUTOTITLE.
| Meter | Description | Unit | Price (USD) |
|---|---|---|---|
| Compute | Time that a cloud sandbox session is running. | Compute second | $0.000024 |
| Memory | Memory allocated to a cloud sandbox session while it is running. | GiB second | $0.000003 |
| Storage | Snapshot storage for stopped sessions. | GiB month | $0.005 |
Cloud sandbox usage is billed to the account that owns the sandbox.
You are prompted to select an owner for the session only if you are not currently in a Git repository. In this case, when you create a cloud sandbox session with copilot ‑‑cloud, you are prompted to select an owner—your own personal account is listed first, ahead of any organizations you belong to. You must choose either your personal account or one of the listed organizations, and all usage for that session is billed to the account you select.
If you are in a repository, the owner of the repository is billed and no owner selection is required.
{% data reusables.billing.default-over-quota-behavior %}
You can set budgets and alerts to monitor and control your cloud sandbox spending. For more information, see AUTOTITLE and AUTOTITLE.
When you create a budget for cloud sandboxes, you can choose between two budget types:
- Product-level budget: caps spending across all cloud sandbox usage, regardless of SKU.
- SKU-level budget: caps spending for a specific cloud sandbox SKU (for example, "Sandbox Linux"). For a full list of cloud sandbox SKUs, see AUTOTITLE.
If you enable Stop usage when budget limit is reached, additional cloud sandbox usage is blocked once the budget reaches 100%, and a banner notifies users in the affected scope.
Note
Cloud sandboxes for {% data variables.product.prodname_copilot %} are not part of the "Bundled AI credits" budget type. Bundled AI credits budgets apply only to SKUs that consume AI credits (such as {% data variables.product.prodname_copilot %} AI credits, cloud agent AI credits, and {% data variables.product.prodname_spark %} AI credits). To control cloud sandbox spending, use a product-level or SKU-level budget.
To view your cloud sandbox usage, billable amounts, and the monthly preview entitlement, see AUTOTITLE and AUTOTITLE.