| Amount |
$200 per participant |
| What you get |
Compute credits for serverless GPUs and sandboxes |
| Good for |
Running Halo training jobs on H100s and B200s with no servers to manage, and sandboxed code execution for RL rollouts |
| Related tracks |
Best use of Modal |
| Support |
#support-modal on Discord |
1. Create a Modal account
- Sign up at modal.com/signup. A workspace is created for you automatically.
- Note your workspace name. It’s in the top-left corner of modal.com/apps. You’ll need it to redeem your code, and it’s case-sensitive.
- Add a payment method under Settings → Usage & Billing. Modal requires a card on file to use GPUs, even when you’re paying with credits.
2. Claim and redeem your code
- After you sign up (follow instructions on the page), fill in Modal / Credit claim
- We will automatically add credits to your account.
- There is going to be an alert about this in
#announcements-credits + you will receive an email about it
Credits go to the workspace you name, not to your email. If you’re on a team, decide which workspace you’ll share and redeem everyone’s codes there.
Check that it worked: your balance is under Settings → Usage & Billing.
3. Install and authenticate
pip install modal
modal setup # or: python -m modal setup
4. Use it with Halo
- Hosted sandboxes for RL environments: Halo can run RL environments’ code execution on Modal sandboxes. Add
MODAL_TOKEN_ID and MODAL_TOKEN_SECRET to your Halo .env, or mount ~/.modal.toml, then launch with --halo-rollout-backend modal. See Halo’s sandbox docs.
- GPUs: request them with
gpu="H100", or gpu="H100:8" for 8 GPUs in one container (8 is the maximum). See the GPU guide.
- There is the cookbook on how to use Modal to launch a training run in Halo https://github.com/whitecircle/halo/blob/a0534019ff8382b297267c06e8a12203ea3aa76c/human-docs/modal.md#L4
Gotchas
- Set a workspace budget under Settings → Usage & Billing, so you don’t keep spending after the credits run out.
- Costs at a glance: H100 is about $3.95/hr and B200 about $6.25/hr, per GPU. See pricing.
- If you belong to more than one workspace, switch with
modal profile activate <workspace>.