Billing items, free quota, and a billing example for Managed Agents.
Managed Agents billing takes effect at 2026-08-17 09:00:00 (UTC+8). The prices and quota below apply to that release; actual billing time and amounts are subject to the Console bill.
Billing items
Managed Agents charges consist of four parts, each billed independently.
| Item | Rate | Description |
|---|---|---|
| Session runtime fee | CNY 0.5/hour | Base billing item. Billed by the runtime duration of created and enabled (running) sessions; partial hours are calculated by actual duration. |
| Model invocation fee | Per the actual rate of the invoked model | Token consumption from models (such as the Qwen series) invoked at runtime. Not included in the runtime fee; charged at Bailian's public pay-as-you-go rate for the corresponding model. |
| Tool and MCP invocation fee | Per the actual rate of the invoked tool or MCP | Fees from invoking tools or MCP services, billed separately. For example, the built-in web_search tool is billed at CNY 0.03 per call, and web_fetch is free of charge for a limited time |
| Sandbox persistence | CNY 0.003/snapshot/hour | Charged by the actual snapshot existence duration after sandbox persistence is enabled; partial hours are calculated by actual duration. Not charged when persistence is disabled |
The runtime fee accrues while a session is running and is not charged while idle. Terminate sessions that are no longer in use to reduce the runtime fee. For session state management, see Manage Sessions.
Free quota
After billing takes effect, a free quota of 10 hours of session runtime is granted.
| Item | Description |
|---|---|
| Granted quota | 10 hours of runtime in total, across any number of sessions |
| Deduction scope | Deducts only the session runtime fee (CNY 0.5/hour); does not deduct the model invocation fee, the tool/MCP invocation fee, or sandbox persistence |
| Validity | Valid for 30 days from the quota effective date; expires afterward |
Sandbox persistence
After sandbox persistence is enabled, each snapshot is billed by its actual existence duration at CNY 0.003/snapshot/hour; partial hours are calculated by actual duration. When the session runs again, it restores from the previous snapshot, which is not released immediately. After the run successfully creates a new snapshot, the system releases the previous snapshot. You can view the cumulative snapshot retention for a session on the Usage tab of the session details page.
Example (snapshot retention only; runtime is not included): the snapshot retention period is 3 days. After a session run ends, its snapshot is retained for 2 days, and then the session runs again. After the run successfully creates a new snapshot, the previous snapshot is released. The old snapshot is retained for 2 days and the new snapshot for 3 days, 5 days (120 hours) in total, so the sandbox persistence fee is 120 × 0.003 = CNY 0.36.
Billing example
The following example does not enable sandbox persistence. Run 2 sessions, each for 5 hours. During this period, both sessions invoke the qwen-plus model, consuming 1,000,000 input tokens and 200,000 output tokens (input CNY 0.004/1K tokens, output CNY 0.012/1K tokens).
| Item | Calculation | Amount |
|---|---|---|
| Session runtime fee | (5 + 5) hours × CNY 0.5/hour | CNY 5.0 |
| Model invocation fee | (1000 × 0.004) + (200 × 0.012) | CNY 6.4 |
| Total | CNY 11.4 |
View usage
View runtime, interaction turns, token usage, model usage, and tool call details on the console Usage page. You can also call the Usage API for the same metrics: POST /usage/summary returns summaries for a workspace, agent, or session, and POST /usage/trend shows changes by hour, UTC+8 calendar day, or calendar month. Actual charges are based on the console bill.