Billing units
Reading a usage record
If your usage summary shows:standard sandbox ran for 1 hour (3600 compute_cpu_second). The default sandbox TTL is 3600 seconds — an unreleased sandbox bills for its full TTL even if idle.
Idle agents cost very little (capacity is throttled rather than torn down), so you primarily pay for active processing.
Check your usage
- curl
For current pricing, see the Console billing section and the pricing page. Rates are not duplicated here so the docs stay accurate over time.
Cost optimization
Billing follows active compute, so the levers are the work you run and the capacity you hold:- Release sandboxes promptly. A sandbox bills until it’s released or its TTL expires; don’t hold idle sandboxes.
- Right-size tiers. Run on the smallest tier (metrics confirm headroom) rather than over-provisioning.
- Prefer
serverless/fluidfleets for spiky traffic. Reservealways_oncapacity only for latency-critical workloads. - Attribute by environment. Separate environments make it clear which workloads drive spend.
Common mistakes
- Leaving sandboxes allocated. Release sandboxes when done; renewing keeps them billable.
- Not attributing usage per environment. Use separate environments to see where cost comes from.
Best practices
- Review usage regularly in the Console or with the usage API.
- Release sandboxes promptly and right-size instance tiers.
- Separate environments to attribute and forecast cost.
Related pages
Tiers & Limits
Tier capacities and account limits.
Scaling
How capacity affects cost.
Metrics
Relate performance to usage.
Sandboxes
Release to stop billing.

