{"uid":"cap_Kx_26NfOTmwiU5Wg_G9SB","slug":"modal-create-15348f6f","name":"Modal Sandbox Create","description":"Create a sandbox for code execution","url":"https://modal.mpp.tempo.xyz/sandbox/create?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":null,"responseSchema":null,"example":{"request":{"runtime":"python3.11","gpu_type":"t4","memory_mb":4096,"notify_email":"zero-qa@agentmail.to","timeout_seconds":3600,"environment_name":"test-sandbox-ml"},"response":{"sandbox_id":"sb-fbgpFfmJSEsj7sxVmjIJq1"}},"exampleRequest":{"runtime":"python3.11","gpu_type":"t4","memory_mb":4096,"notify_email":"zero-qa@agentmail.to","timeout_seconds":3600,"environment_name":"test-sandbox-ml"},"tags":["gpu","serverless","sandbox","compute"],"displayCostAmount":"0.013842","displayCostAsset":"USDC","priceDynamic":true,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"dynamic","summary":"$0.013842/call","primary":{"kind":"dynamic","protocol":"mpp","network":"tempo","amountUsd":"0.013842","per":"call","confidence":"exact"},"accepted":[{"kind":"dynamic","protocol":"mpp","network":"tempo","amountUsd":"0.013842","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_TPPD4mgWx7oUfpwSOKGm-","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"0.013842","costPer":"request","priority":0,"asset":"0x20c0000000000000000000000000000000000000","unit":"request","depositMicros":null,"planRef":null}],"brandName":"Modal","brandSlug":"modal","brandBaseUrl":"https://modal.com","brandDocsUrl":"https://modal.com/docs","whatItDoes":"Creates a new isolated serverless sandbox environment for code execution on Modal's GPU-enabled infrastructure","exampleAgentPrompt":"Spin up a new Modal GPU sandbox so I can run some Python ML code in an isolated environment — I need it ready to accept commands right away.","exampleUseCases":null,"resultDescription":"Returns a sandbox ID and details about the newly provisioned isolated execution environment, including resource allocation and status, which can then be used with the Exec endpoint to run commands.","failureModes":["Insufficient compute resources available — resource exhaustion error","Invalid configuration parameters — 400 bad request","Authentication failure — unauthorized access","Quota exceeded for sandbox creation — rate limit error","GPU type unavailable in region — resource unavailable error"],"whenToPreferThis":"Use this endpoint when you need to create a fresh, isolated serverless sandbox for code execution on Modal, especially for GPU-intensive AI/ML workloads or when you need to safely execute untrusted code. Prefer this over alternatives when you need Modal-specific GPU sandboxing with pay-per-call pricing and strong isolation guarantees.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":1,"lastUsedAt":"2026-07-22T20:22:58.396Z","lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T00:40:10.042Z","isFirstParty":false,"canonicalSlug":"modal-create-15348f6f"}