Billing

Updated at:

Harness Agent billing items, rules, and a billing example.

Harness Agent is billed based on actual usage, metered per second. Charges consist of two parts:

  • Session runtime fee: Charges incurred while a sandbox executes tasks.
  • Data retention fee: Charges incurred when a sandbox is paused or a Snapshot is saved.

Billing Items

ItemBilled ObjectUnit PriceBilling Rule
Session runtime feeBasicCNY 0.156/hourBilled by the actual runtime duration of the sandbox
Session runtime feeStandardCNY 0.312/hourBilled by the actual runtime duration of the sandbox
Session runtime feePremiumCNY 0.624/hourBilled by the actual runtime duration of the sandbox
Data retention feesandbox paused, Snapshot savedCNY 0.0021/GiB·hourBilled by actual storage usage and retention duration

Each running sandbox includes 15 GiB of system disk by default at no additional charge.

Memory and disk data saved after a sandbox is paused, as well as independently created Snapshots, are measured by the actual usage reported by the platform.

Billing Example

Create a Standard sandbox instance:

  • Runs for 40 minutes.
  • Paused for 2 hours, with paused data occupying 8 GiB.
  • Resumed and runs for another 20 minutes.
  • A Snapshot is created during this period, occupying 6 GiB and retained for 3 hours.
ItemCalculationFee
Session runtime fee(40 + 20) ÷ 60 × 0.312CNY 0.3120
Data retention fee (sandbox paused)8 × 2 × 0.0021CNY 0.0336
Data retention fee (Snapshot saved)6 × 3 × 0.0021CNY 0.0378
TotalCNY 0.3834

The example above is calculated based on list prices. Actual amounts are subject to the billing and cost console and applicable discounts.