{"uid":"cap_MlFCWLMaf10NxsyKcTTzl","slug":"modal-terminate-727e5f2f","name":"Modal Sandbox Terminate","description":"Terminate a sandbox","url":"https://modal.mpp.tempo.xyz/sandbox/terminate?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":null,"responseSchema":null,"example":null,"exampleRequest":null,"tags":["gpu","serverless","sandbox","compute"],"displayCostAmount":"0.0001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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":"static","summary":"$0.0001/call","primary":{"kind":"static","protocol":"mpp","network":"tempo","amountUsd":"0.0001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"mpp","network":"tempo","amountUsd":"0.0001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_4ydNtHs0wEHL9OxK8Xf9f","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"0.0001","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":"Terminates a running Modal sandbox, stopping all processes and releasing associated compute resources","exampleAgentPrompt":"Terminate the Modal sandbox with ID sb-abc123 — I'm done running my code and want to stop it and free up the compute resources.","exampleUseCases":null,"resultDescription":"A confirmation that the sandbox has been terminated, along with the updated sandbox state indicating it is no longer running.","failureModes":["Sandbox ID not found — sandbox may have already been terminated or never existed","Sandbox already in a terminal state (already stopped/terminated)","Authorization error — caller does not have permission to terminate this sandbox","Network timeout during termination request","Invalid or malformed sandbox ID"],"whenToPreferThis":"Use this endpoint when you need to explicitly stop a Modal sandbox that is currently running, especially after code execution has completed or if you need to forcefully clean up compute resources. Prefer this over letting sandboxes expire naturally when you want immediate resource release and cost control.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T00:39:49.944Z","isFirstParty":false,"canonicalSlug":"modal-terminate-727e5f2f"}