跳到正文
@OpenRouter· @OpenRouter · X·· 22 天前AI 评分59
AI 导读

OpenRouter 公布其沙箱容器的使用规则,容器可以复用:在下一次请求里带上上一次的 shell 结果,或把 environment 设为 container_reference 并传入 container_id,文件会保留。外网访问默认关闭,可按单次运行通过 network_policy 打开,例如指定允许列表。沙箱时间按每活跃秒 $0.0001 计费,推理单独计费。

正文

5/ Sticky containers, closed network, clear price.

To reuse a container, include the last shell result in the next request, or set environment to container_reference with a container_id. The files are still there. Outbound network is off by default. Turn it on per run with network_policy, for example an allowlist of https://t.co/Dn4H0qonw6 and https://t.co/dgz6Hy3twq. Sandbox time costs $0.0001 per active second. Inference is billed separately.

来源:@OpenRouter · x.com