Skip to content
sandboxrouting

Tencent Cloud Agent Sandbox

tencent, paid only, microVM isolation.

$0.133/h

No free usage the router counts. At 2 vCPU and 4 GiB the router ranks it at $0.133/h. It is used only with allowPaid on.

Terms

Price
$0.13/h (2 vCPU / 4 GiB, 0.94 CNY)
Notes
size set by a sandbox tool made in the console
Free concurrency
50 at once
Adapter's note
Pay as you go. 15 GiB of system disk is free per running instance; CPU and memory are billed per second. Default quota: 50 instances per region.

Tencent, Volcengine and Rayrun bill in yuan; their prices are converted at 7.1 CNY per USD, kept in src/providers/currency.ts.

The adapter

Tencent Cloud Agent Sandbox (Agent Runtime, product 1814): sandboxes on Tencent's Cube secure sandbox, each with its own kernel. No free compute: 0.000081 CNY per vCPU-second and 0.000025 CNY per GiB-second while running, plus 15 GiB of system disk free per running instance. Converted at 7.1 CNY per USD. It speaks E2B's API (the stock `e2b` SDK works with E2B_DOMAIN=<region>.tencentags.com), which e2b-compatible.ts calls over HTTP with an API key made in the console. A sandbox is started from a "sandbox tool" made in the console first; the tool's name is the E2B template and fixes the size (Code Interpreter: 2 vCPU, 1000 MiB). Quotas per account and region: 50 instances, 50 vCPU, 100 GiB, 20 paused. Docs: https://cloud.tencent.com/document/product/1814/123816 (quick start, E2B migration), https://cloud.tencent.com/document/product/1814/133249 (billing), https://cloud.tencent.com/document/product/1814/123815 (quotas and tool sizes), https://cloud.tencent.com/document/product/1814/123813 (Cube, one kernel per sandbox). The docs show only create, run code and kill through the SDK, so pause, timeouts, URLs and listing are left out until they're confirmed against the service.

Keys
TENCENT_AGS_API_KEY , TENCENT_AGS_TOOL ( TENCENT_AGS_REGION optional)
Connects through
E2B's API (the e2b adapter's code), at <region>.tencentags.com
Capabilities
Native file listing
Isolation
microVM
Operating system
Linux
Longest sandbox
no limit declared
Longest command
no cap declared
Timeout
The provider stops it at the deadline
Billing
Wall clock, every second it runs
Source
src/providers/tencent.ts, and the provider’s site
Route only here
const sbx = await router.create({ providers: ["tencent"] });
Override its terms in sandboxrouting.json
{
  "providers": {
    "tencent": {
      "freeTier": {
        "kind": "none"
      },
      "priority": 10
    }
  }
}