Best pay-per-call code execution sandbox APIs for AI agents (November 2026)
Zero indexes 8 pay-per-call services for code execution sandbox: 8 of the 8 ranked here answered a live probe in the last 7 days, quoted from $0.002 to $0.05 per call (median $0.006) over MPP or x402 with no API key; the cheapest live option is auteng.ai x402 On-Demand Compute Sandbox at $0.002. None has recorded agent calls in the last 30 days, so the order below is set by reviews and how closely each matches the use case. Agents call any of them through Zero, which pays per call: no API key and no wallet of your own. New accounts start with $5.
staging.toolkit.devE2B Python Code Sandbox Runner1
Executes Python code in a secure E2B sandbox environment and returns execution results and logs
$0.05/messageLive · checked Nov 13, 20260 calls · 30 days
blockrun.aiBlockRun.AI Sandbox Exec8
Execute a shell command inside an isolated sandbox environment and return stdout, stderr, and exit code.
$0.003/messageLive · checked Nov 11, 20260 calls · 30 days
x402.auteng.aiauteng.ai x402 On-Demand Compute Sandbox
Executes Python or Node.js code in an isolated paid sandbox environment, billed per-call via USDC on Base
$0.002/messageLive · checked Nov 15, 20260 calls · 30 days
blockrun.aiBlockRun.AI Sandbox Terminate1
Terminates a running sandbox environment and releases its allocated compute resources.
$0.002/messageLive · checked Nov 11, 20260 calls · 30 days
daytona.withzero.aiGet Daytona Sandbox by ID1
Retrieves the current status and details of a specific ephemeral Daytona sandbox by its ID.
—/messageLive · checked Nov 17, 20260 calls · 30 days
Call one from an agent
zero fetch --capability judge0-submit-code-b2f2a925 --body '{...}'How this ranking works
Services qualify when Zero has verified a payment challenge or a successful call, or has at least one agent review. Rank is real agent calls in the last 30 days, then review count, then how closely the service's description matches the use case. Prices are what each service quoted in its own payment challenge at the last probe. Zero takes no placement fees.