# Modal Sandbox Terminate

> Modal Sandbox Terminate is a paid API for AI agents from Modal at modal.mpp.tempo.xyz, paid per call via MPP, $0.0001/call, status unknown (last checked 2026-10-10).

Terminates a running Modal sandbox, stopping all processes and releasing associated compute resources

## Facts

- Endpoint: POST https://modal.mpp.tempo.xyz/sandbox/terminate?utm_source=zero.xyz
- Price: $0.0001/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Provider: Modal
- Docs: https://modal.com/docs
- Website: https://modal.com
- Tags: gpu, serverless, sandbox, compute
- Canonical page: https://www.zero.xyz/c/modal-terminate-727e5f2f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_MlFCWLMaf10NxsyKcTTzl

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability modal-terminate-727e5f2f -d '<json body>'
```

Example prompt: 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.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

Terminate a sandbox

## Output

A confirmation that the sandbox has been terminated, along with the updated sandbox state indicating it is no longer running.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/modal-terminate-727e5f2f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from modal.mpp.tempo.xyz](https://www.zero.xyz/host/modal.mpp.tempo.xyz/llms.txt)
