Data & AI Infrastructure

Modal

Serverless compute for AI with per-second billing and no idle charge.

Pricing
Starter
$0 plus compute
Team
$250 plus compute
Enterprise
Custom
GPU per second
B300 $0.002497, H100 $0.001192, A100 80GB $0.000747, L4 $0.000206, T4 $0.000150
Best for
Developers who need GPUs on demand for inference or training jobs.

Video tutorial

FREE Cloud GPU in 2026 🤯 Run AI Models Without Expensive Hardware · Tech with Kumaresan · Watch on YouTube ↗

What is Modal?

  • Serverless compute for AI with per-second billing.
  • No charge while idle.
  • Products: Inference, Sandboxes, Training and Model APIs.
  • Starter includes monthly free credits.
  • Team adds more credits, containers and SSO.

Set up and test a real workflow

  1. Create an account and install the client.
  2. Run a hello-world function.
  3. Run one GPU function and read the bill.
  4. Set a spending limit.
  5. Test cold-start time.
Common problems and how to fix them
ProblemWhat to change
Bill surprisesSet limits and read per-second rates.
Cold startsKeep a warm container if latency matters.

Try it: a real test

Sample brief
Run an image-classification batch of 1,000 images on a T4.
Report total time and cost.
Compare with an L4.
  1. Run on T4.
  2. Run on L4.
  3. Compare cost per 1,000 images.

What a usable result looks like

  • Spending limit set.
  • Job repeatable.
  • Logs saved.
Example results for the sample brief
CheckWhat good looks like
Cost knownPer-second charge calculated.
Speed measuredTotal time recorded.
Choice madeCheapest meeting your speed.

What to save from the trial

  • Function code.
  • Cost table.
  • GPU choice.

Another scenario

  • Use a Sandbox for untrusted code.
  • Scale to 10 containers.

Use cases and what to check

Use caseWhat to check
InferenceCheck cold start.
Batch jobsCheck cost.
TrainingCheck GPU concurrency.

Which plan should you try?

PlanPriceWhat you get
Starter$0 plus compute$30 a month free credits, 3 seats, 250 containers, 10 GPU concurrency, 1 TiB egress
Team$250 plus compute$100 a month credits, unlimited seats, 10,000 containers, 50 GPU concurrency, SSO and SCIM
EnterpriseCustomHIPAA, audit logs
GPU per secondB300 $0.002497, H100 $0.001192, A100 80GB $0.000747, L4 $0.000206, T4 $0.000150Per second

Provider pricing and access ↗ · Checked

Limits to check

  • Starter GPU concurrency is 10.
  • Compute is billed on top of plan fees.
  • Check egress limits.

When to choose it

Choose Modal when

  • You want GPUs without managing servers.

Skip it when

  • You need a flat monthly price.
  • Replicate · Run hosted machine-learning models and custom deployments through an API.
  • Together AI · Call hosted inference endpoints for selected models and compare serverless and dedicated capacity.
  • Hugging Face · Discover, evaluate, share, and host model, dataset, and application repositories.

Common questions

Is there a free tier?
Starter gives $30 a month in credits.
How is it billed?
Per second.
Does it charge when idle?
No.

Sources and further reading