Skip to content
sandboxrouting

Volcengine AgentKit Sandbox

volcengine, paid only, microVM isolation.

$0.0618/h

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

Terms

Price
$0.062/h (2 vCPU / 4 GB, 0.44 CNY)
Notes
size set by an E2B-compatible template; only the creating process reaches a sandbox
Adapter's note
Pay as you go: CPU and memory per second, outbound traffic per GB. The free Runtime/MCP quota doesn't cover sandboxes.

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

Volcengine AgentKit sandbox templates: microVMs on veFaaS. No free tier: 0.0000405 CNY per vCPU-second and 0.0000102 CNY per GB-second, plus 0.8 CNY per GB of outbound traffic. Converted at 7.1 CNY per USD. A template made in the AgentKit console with "E2B protocol compatible" turned on is driven by E2B's API (e2b-compatible.ts, over HTTP; the stock `e2b` SDK works too): E2B_API_URL=https://api.vefaas-e2b.sandbox-<region>.volcapig.com (cn-beijing or cn-shanghai), an `e2b_apikey_…` key and the template's id. The template fixes the image and size. veFaaS has no `/v2/sandboxes/{id}/connect`, so a sandbox is reachable only from the process that created it, and a paused one can't be resumed. Listing needs the template id, sent as the `vefaas_function_id` metadata filter. Docs: https://docs.volcengine.com/docs/agentkit/e2b-sdk-cli-integration-practice (E2B setup, limits), https://docs.volcengine.com/docs/agentkit/billing-items (prices), https://docs.volcengine.com/docs/agentkit/tool-overview (microVM), https://docs.volcengine.com/docs/agentkit/create-manage-e2b-api-key (keys).

Keys
VOLCENGINE_E2B_API_KEY , VOLCENGINE_E2B_TEMPLATE_ID ( VOLCENGINE_E2B_REGION optional)
Connects through
E2B's API (the e2b adapter's code), at api.vefaas-e2b.sandbox-<region>.volcapig.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/volcengine.ts, and the provider’s site
Route only here
const sbx = await router.create({ providers: ["volcengine"] });
Override its terms in sandboxrouting.json
{
  "providers": {
    "volcengine": {
      "freeTier": {
        "kind": "none"
      },
      "priority": 10
    }
  }
}