Skip to main content
Configure Modal through its SDK or the host environment variables MODAL_TOKEN_ID and MODAL_TOKEN_SECRET. Supply both variables together when using explicit tokens.

Configure

Provider Params

Every provider accepts the common Environment schema plus its own declared provider options. Use the command below to list all accepted keys. Pass provider options alongside shared fields in --env-params or the flat YAML provider section. Image, resources, outbound policy, and environment variables retain their unified entry points; native aliases and unknown keys are rejected.
Use resources, run_resources, and evaluation_resources. Provider capabilities still differ: unsupported requirements fail explicitly, while storage limits follow the documented provider support policy. See Resource Limits.

Provider Behavior

The adapter loads setup.image from a registry. Public, no-network, and allowlist policies are supported. A public baseline initializes native allowlists when a later phase requires a policy transition. A custom startup command is not supported. Use setup.workdir for the default command directory and setup.build_timeout_seconds for environment creation. The Benchmark selects the task workspace independently through its prepared input; neither setting replaces that workspace or an individual command timeout.