> ## Documentation Index
> Fetch the complete documentation index at: https://arizeai-433a7140.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Modal

> Run Phoenix code evaluators in Modal's serverless container platform.

<img src="https://storage.googleapis.com/arize-phoenix-assets/assets/svgs/modal.svg" alt="Modal" style={{ height: '64px' }} />

[**Modal**](https://modal.com/) is a serverless container platform with sub-second cold starts and Python-first ergonomics. Phoenix uses Modal as a hosted backend for Python [code evaluators](/docs/phoenix/evaluation/server-evals/code-evaluators) that benefit from Modal's fast container scheduling, generous timeouts, and pay-per-execution pricing.

## Configure

1. Sign up at [modal.com](https://modal.com/) and create a token pair.
2. Add `MODAL_TOKEN_ID` and `MODAL_TOKEN_SECRET` from **Settings → Sandboxes**.

See [Settings → Sandboxes → Modal](/docs/phoenix/settings/sandboxes/modal) for full configuration details and [Sandbox Backends](/docs/phoenix/self-hosting/features/sandbox-runtimes) for self-hosting setup.
