Modal is the better pick for most teams serving their own model pay-as-you-go: its H100 lists at about $4.29 an hour against $6.50 on Baseten, and it bills by the second. Nodus is the cheaper third option for batch inference and fine-tuning, with the H100 listed at $2.60 an hour and an OpenAI-compatible API for open-weight models. Baseten is the better pick when you need negotiated production capacity, a deployment inside your own cloud account, or built-in staging and production environments.
We build Nodus, which competes with both. Every Baseten and Modal fact below links to their own pricing page or docs, and the costs are worked out in the open.
How do Baseten and Modal compare at a glance?
Both run your model on dedicated GPUs that scale with traffic, and both also sell shared per-token model APIs. They differ in how you package the model, how they bill idle time and what they offer large customers.
| Baseten | Modal | |
|---|---|---|
| Billing unit | Per minute; partial minutes round up | Per second |
| NVIDIA H100 list rate | $0.10833/min (about $6.50/hr), with 16 vCPU and 118 GiB RAM included | $0.001192/s ($4.29/hr), CPU and memory billed separately |
| Billed during cold start | Yes, model load is billed; image pull is not | Yes, application load time is billed |
| Idle time before scale-down (default) | 900 seconds (scale_down_delay, 0 to 3,600) |
60 seconds (scaledown_window, 2 seconds to 20 minutes) |
| Scale to zero | Default (min_replica: 0) |
Default (min_containers unset) |
| How you deploy | Truss config.yaml, then baseten model push
|
Python decorators, then modal deploy
|
| Shared per-token API | Model APIs, OpenAI- and Anthropic-compatible, prices listed | Model APIs, contact sales |
| Free credit | Credits for new workspaces, amount not listed; no free tier | $30 a month on Starter, $100 a month on Team |
| Large-customer options | Volume discounts, reserved compute, single-tenant, self-hosted in your VPC | Volume discounts, committed spend through AWS and GCP |
Sources: Baseten pricing, Baseten billing, instance types, autoscaling, hosting options, inference overview; Modal pricing, cold starts, scaling, web endpoints. Prices checked December 1, 2026.
Is Modal cheaper than Baseten per GPU-hour?
Yes on list price, by about 34% on the H100. Modal charges $0.001192 a second, which is $4.29 an hour. Baseten charges $0.10833 a minute, which it rounds to $6.50 an hour on its pricing page.
The rates do not buy exactly the same thing. Baseten's H100 instance includes 16 vCPUs and 118 GiB of RAM (instance types). Modal adds CPU at $0.0000131 per physical core per second and memory at $0.00000222 per GiB per second, charged on whichever is higher, your request or your use (Modal pricing).
If you requested the same 16 vCPUs (8 physical cores) and 118 GiB on Modal, that adds $0.38 and $0.94 an hour, for $5.61 in total. Modal is still cheaper, and most serving containers request far less memory than that.
Two Modal settings move the number the other way. Pinning a region costs 1.15x to 1.75x the base price, so an H100 in a selected region runs $4.93 to $7.51 an hour. And Modal GPU Functions are preemptible by default, with no non-preemptible option for GPUs (preemption). Baseten, for its part, offers volume discounts and reserved compute by quote.
What does one H100 endpoint cost for a month on each?
We priced one workload on both: a model on a single H100 with steady traffic from 8 a.m. to 6 p.m. on 22 weekdays a month, and none otherwise. A month is 730 hours. We assumed each morning's cold start takes 3 billed minutes on both platforms; your real load time depends on model size and caching.
Always on, with one replica kept warm all month:
- Baseten: 730 hours x 60 x $0.10833 = $4,744.85.
- Modal: 730 hours x 3,600 x $0.001192 = $3,132.58.
Scale to zero, with default idle settings, each busy day bills 600 serving minutes, 3 load minutes and the idle tail before shutdown:
- Baseten: (600 + 3 + 15) = 618 minutes x 22 days = 13,596 minutes x $0.10833 = $1,472.85.
- Modal: (600 + 3 + 1) = 604 minutes x 22 days = 797,280 seconds x $0.001192 = $950.36.

Scaling to zero cuts the bill by 69% to 70% on both platforms; the platform gap stays near a third.
Scale-to-zero matters more than the choice of platform for this traffic pattern. Both bills fall by 69% to 70% when the replica sleeps outside working hours. Modal stays about 34% to 35% cheaper in both modes, because the H100 rate drives almost all of the cost. Modal's CPU and memory charges are not included above; add them at the rates in the previous section for the resources you request.
Why does the idle timeout change the bill?
Because you pay for every minute a replica waits for traffic that may not come. Baseten waits 900 seconds after load drops before removing replicas (autoscaling). Modal keeps an idle container for 60 seconds by default (cold starts).

With one quiet stretch a day the idle tail is small; with many gaps a day it repeats every time.
In our example the tail is small: 15 minutes a day costs $1.62 on Baseten, and one minute costs $0.07 on Modal. It grows with gaps. Every time traffic pauses long enough to scale down, the next request waits for a cold start and you pay the tail again.
Baseten's longer default trades money for fewer cold starts, and you can set it anywhere from 0 to 3,600 seconds. Modal's window can be set from 2 seconds to 20 minutes, and both platforms let you keep a minimum number of replicas warm.
A useful rule: set the idle timeout a little longer than the typical gap between bursts in your traffic. Shorter than that, you pay cold starts; much longer, you pay for an idle H100.
How do cold starts work on each?
Both platforms bill the time your model spends loading, so a slow start costs money as well as latency. Baseten does not bill the image pull, but it does bill cold start and model load once the replica is up (Baseten billing). Modal bills application load time and says its containers boot in about one second, before your imports and model loading run (Modal pricing, cold starts).
The fixes look alike. Baseten delivers weights through its Baseten Delivery Network and caches torch.compile artifacts so a new replica can reuse them (startup times). Modal recommends downloading weights ahead of time into the image or a Volume, and loading them in an enter method so no request waits on initialization. If p99 latency matters, both docs give the same last answer: keep at least one replica warm.
Which deployment workflow is easier?
Modal is easier if your team writes Python and wants the infrastructure in the same file. You decorate a function with a GPU and an @modal.fastapi_endpoint or ASGI app, then run modal deploy (web endpoints). modal serve live-reloads while you develop.
Baseten is easier if you already have a serving container. A Truss config.yaml names the base image, the start command, the weights and the GPU, and baseten model push builds and deploys it. Baseten's vLLM example serves an OpenAI-compatible endpoint this way. Published deployments promote into environments such as staging and production with rolling deployments, so the endpoint URL stays fixed as versions change (deployments).
One cost to know: image builds after baseten model push are billed at the instance rate, while development deployments made with --watch are not.
Where is each one the better choice?
Pick Baseten when:
- You need committed capacity and pricing for production. Baseten sells volume discounts, reserved and priority compute, and custom regions by quote.
- Inference must run in your own cloud account. Self-hosted runs Baseten's workload plane in your VPC on AWS, GCP or OCI, on the Enterprise plan (self-hosted).
- You want staging and production environments with rolling promotion built in.
- Your compliance team asks for SOC 2 Type II and HIPAA, which Baseten's security docs list.
Pick Modal when:
- Traffic is spiky and you want per-second billing with a 60-second idle default.
- Your team prefers Python decorators to YAML and containers.
- You want to start small: Starter includes $30 of compute a month, with up to 10 GPUs in use at once.
- The same codebase also runs batch jobs, sandboxes or training next to the endpoint.
When is Nodus a better fit than either?
Nodus fits when the work is not a public endpoint for your own container. Our Functions have no equivalent of Modal's web endpoints, @modal.web_endpoint and @modal.asgi_app; our docs point serving to nodus.InferenceEndpoint for catalog models instead (Nodus for Modal users). To serve your own custom container behind a URL, pick Baseten or Modal. We fit three other jobs.
Batch and offline inference. A Nodus Function maps over thousands of inputs with .map(), scales to zero by default and releases idle workers after one minute unless you change scaledown_window (scaling and warm workers). The H100 is listed at $2.60/hr on the Nodus pricing page. A month with 40 H100-hours of offline scoring costs:
- Baseten: 40 x 60 x $0.10833 = $259.99.
- Modal: 40 x 3,600 x $0.001192 = $171.65.
- Nodus: 40 x $2.60 = $104.00.

For offline work, the same GPU hours cost 39% less on Nodus than on Modal at list rates.
Calling open-weight models without deploying anything. Nodus serves open-weight models such as GPT-OSS 120B through one OpenAI-compatible API, in Beta, and a named endpoint adds its own rate limit and spending cap (inference guide, Python inference).
Fine-tuning before you serve. Nodus restores training checkpoints on new capacity when a machine is lost; we compare that in detail in Nodus vs Baseten and Nodus vs Modal. Weights you fine-tune on Nodus can then be served on Baseten or Modal.
FAQ
Does Baseten bill partial minutes?
Yes. Baseten meters usage by the minute, and if a replica dies mid-request, partial minutes round up (Baseten billing). A replica that never boots costs nothing.
Can Modal GPU endpoints be made non-preemptible?
No. Modal's nonpreemptible option is not supported for GPU Functions; a preempted Function restarts on the same input (preemption). Design inference requests to be safely retried.
Does a Baseten budget stop a dedicated deployment?
No. Budget enforcement rejects only Model API requests, and dedicated deployments keep running and accruing charges (Baseten billing). Set max_replica to bound the cost of an endpoint.
What is a cheaper alternative to Baseten and Modal for batch inference?
Nodus lists the H100 at $2.60/hr against $4.29 on Modal and $6.50 on Baseten, and its Functions scale to zero between batches. Our serverless GPU pricing breakdown models when per-second billing beats a fixed machine.
Originally published on the Nodus blog.
Top comments (0)