Skip to content

Latest commit

 

History

History
92 lines (57 loc) · 5.04 KB

File metadata and controls

92 lines (57 loc) · 5.04 KB
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
fpt ghec
*
*
contentType concepts
category
Understand product costs

Note

{% data reusables.cli.public-preview-sandbox %}

How sandbox usage is measured

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.

Compute

The compute meter tracks the time a cloud sandbox is running. Compute is not metered while a sandbox is stopped.

Memory

The memory meter tracks the memory allocated to a cloud sandbox while it is running. Memory is not metered while a sandbox is stopped.

Storage

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.

Free and billed use

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.

Paying for use

You pay for cloud sandboxes using the payment method set up for your {% data variables.product.github %} account. See AUTOTITLE.

Pricing

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

How costs are assigned to a billable account

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.

Managing your budget for cloud sandboxes

{% 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.

Viewing your cloud sandbox usage

To view your cloud sandbox usage, billable amounts, and the monthly preview entitlement, see AUTOTITLE and AUTOTITLE.

Further reading