# UCloud Agent Sandbox

Official pricing: https://astraflow.ucloud.cn/docs/agent-sandbox  
Category: agent-sandbox · Isolation: firecracker

## Pricing regimes (raw)

- **On-demand (UCloud China account, CNY list price)** (resource): $0.016094/vCPU-h, $0.008047/GiB-h

## Features

Yes: snapshots, memory snapshots, fork/clone, pause/resume, persistent disk, volumes, idle auto-stop, ≥24 h sessions, custom image (Docker or snapshot), start from your own snapshot, your own Docker/OCI image, full VM (own kernel), Docker inside, root, desktop GUI, computer-use API, code interpreter, preinstalled agents, SSH, HTTPS preview URLs, egress allowlist, open internet, Python, Node.js, credential injection, wake on request, live fork (no pause), memory fork, automatic snapshots, snapshots on demand, gVisor or VM (no shared kernel), inbound access rules, firewall inside (nftables), secret proxy, secret proxy for any API, extra volumes, shared volumes

No: nested virtualization, browser, browser + desktop control, anti-bot stealth, CAPTCHA solving, residential IPs, public IPv4, static egress IP, self-hosting, BYOC, open source, HIPAA, GPU, Windows, macOS, HTTP method/path egress rules, live resize, EU data residency, MCP server, agent harness API, hosted agent API (their own agent)

Unknown: everything else. Evidence (source + quote) per feature: https://battleships.dev/data/providers/ucloud.json → feature_evidence

## Caveats

- Official SDK directs signup to UCloud Astraflow and states it is based on E2B open source; do not import E2B pricing or all E2B features.
- Rates are CNY list prices from the fee page (astraflow.ucloud.cn/docs/agent-sandbox/product/fee.md), converted at the fx.json ECB reference rate (0.14902 USD/CNY, 2026-09-28). Tax/VAT inclusion not stated. Account needs Chinese real-name verification (free quota text says real-name-verified accounts).
- Regions: cn-wlcb (Ulanqab, default), cn-sh (Shanghai), us-ca (Los Angeles); templates do not carry across regions. Per-region price differences not published (same rate assumed).
- Local disk: 10 GB per sandbox, free and ephemeral; no larger local disk offered (disk_gib_month null). Persistent storage (templates, snapshots, paused sandboxes) CNY 0.0005/GB-h beyond a 60 GB free allowance (~$0.0544/GB-month); the quotas page separately says 10 GB storage per user, conflicting with the 60 GB allowance.
- Egress price not published; public bandwidth capped at 5 MB/s per the quotas page.
- Free quota: 480 core-hours + 960 GiB-hours for real-name-verified accounts, valid 30 days (encoded as one_time_credit ~$15.45 at the list rates).
- Isolation technology not documented (null). Features set to null were not verified. No sandbox was purchased or tested.

## How this provider charges


As of 2026-09-28. Prices are USD unless explicitly labelled otherwise. Source type: official published list/promo or unknown, never a fabricated quote.

Official SDK directs signup to UCloud Astraflow and states based on E2B open source; do not import E2B pricing or all E2B features.

| Regime | When it applies | How billed / numbers | Source |
|---|---|---|---|
| Hosted runtime | Public product/SDK | No verified public sandbox rate; confirmation needed. | https://astraflow.ucloud.cn/docs/agent-sandbox |

## Gotchas

- Official SDK directs signup to UCloud Astraflow and states based on E2B open source; do not import E2B pricing or all E2B features.
- Not fully priceable in ENGINE_CARD: unknown USD resource rates or machine shape. Null is not zero; do not rank as a free provider.
- Features set to null were not verified. No sandbox was purchased or tested; feature/performance statements are documentation claims. Null maximums are unknown unless a cited note explicitly states unlimited.
- A complete monthly bill requires known snapshot/egress/plan limits; do not silently treat missing ancillary charges as free.

## Worked workload

4 vCPU / 8 GiB; 50 simultaneous instances × 8 h/day × 22 days = **8,800 instance-hours**, **35,200 vCPU-hours**, **70,400 GiB-hours**. At 30% observed CPU:10,560 active-vCPU-hours only where the meter actually uses utilization. Assume one start/instance/day:1,100starts. Retain50GiB snapshots for a month;100GiB outbound. Active disk capacity was not specified.

A numerical total is not defensible from the public evidence. Need an eligible4/8 machine rate, C50 and8h limits, snapshot retention/price and network tariff. Resource template:35,200×CPU_rate×(0.30 if active else1)+70,400×RAM_rate+plan+50×snapshot_rate+max(0,100−free_egress)×egress_rate. Unknown inputs stay unknown, not zero.

## Sources

- https://astraflow.ucloud.cn/docs/agent-sandbox
- https://pypi.org/project/ucloud-sandbox/
