Skip to content
Shortlist a PaaS
Billing models

PaaS billing models compared: per instance, per request or per resource

How Heroku, Azure App Service, Elastic Beanstalk, Cloud Run, Container Apps, Fly.io, Vercel and others bill you — and what that means for an idle app or a traffic spike. No price lists, just the models.

Sources checked

Price lists change; billing models change far less. The model decides what you pay when your app sits idle overnight and what happens when traffic jumps. Here is how each platform describes what it charges for, from its own documentation, checked 30 November 2026. We deliberately leave amounts out.

1. Pay for instances or a plan that is switched on

You pay for capacity while it exists, busy or not.

  • Heroku: “Heroku prorates all costs to the second” and “computes usage from wall-clock time”. Its docs add: “Any dynos scaled above 0 accrue usage, regardless of traffic or activity.” Eco dynos are the exception — “a flat fee monthly subscription.”
  • Azure App Service: “You pay for the computing resources that your App Service plan allocates.” Several apps in one plan share its VM instances, and the Free tier carries no compute charge.
  • DigitalOcean App Platform: “Apps are billed by the second, with a one-minute minimum,” and the cost of a component is “the container size multiplied by the number of containers.”
  • Render: a flat workspace plan, metered features like bandwidth, and compute per service where “billing is prorated to the second.”
  • Google App Engine (standard): an hourly instance rate “after an app surpasses its free tier.” The flexible environment bills virtual machine resources “on a per-second basis with a 1 minute minimum usage cost.”

Good for: steady traffic you can size for. Watch for: paying for idle capacity.

2. Pay for usage while code runs

You pay per second (and sometimes per request) while instances are handling work.

  • Google Cloud Run: “Cloud Run charges you only for the resources you use, rounded up to the nearest 100 millisecond.” By default it charges for CPU and memory while an instance is starting, handling requests or shutting down; you can switch to instance-based billing, where “you are billed for the entire lifetime” of each instance.
  • Azure Container Apps (Consumption plan): resources “billed in vCPU-seconds and GiB-seconds,” plus “the number of HTTP requests your container app receives.” A Dedicated plan bills per instance instead.
  • Fly.io: “Machines are billed by the second while they’re running”; for stopped Machines it charges “only for the root file system.”
  • Vercel Functions: Active CPU is billed per CPU-hour only “during actual code execution and not during I/O operations,” provisioned memory is “Billed for the entire instance lifetime in GB-hours,” and invocations are “Billed per incoming request.”
  • AWS App Runner: “All container instance processing is billed per second”; idle provisioned instances are charged for memory. (AWS has closed App Runner to new customers.)

Good for: spiky or mostly-idle apps. Watch for: sustained heavy traffic, where per-second usage can add up.

3. The platform is free; you pay for what it builds

  • AWS Elastic Beanstalk: “There is no additional charge for AWS Elastic Beanstalk. You pay for the AWS resources (for example, Amazon EC2 instances or Amazon S3 buckets) you create.” Its newer Cluster mode adds Amazon EKS charges that Standard mode does not have.

Good for: teams already on AWS who want to see and control every resource. Watch for: load balancers and instances that keep running.

4. Subscription plus usage

  • Railway: “On top of the base subscription fee above, Railway charges for the resources that you consume,” and “The subscription fee goes towards your usage-costs.”
  • Netlify: “One credit pool covers deploys, compute, bandwidth, and requests.”

Free tiers and allowances

Most platforms mention a free tier or allowance, with limits: App Engine’s is in the standard environment only (“App Engine does not provide free tier in the flexible environment”), Elastic Beanstalk’s applies to Standard mode only, and DigitalOcean’s “covers only static site components.” Heroku’s billing docs say “All usage is included and charged for, including any apps you created for staging, tutorial, or testing purposes.”

To match a model to your traffic, try the PaaS shortlist.

Sources

All checked 30 November 2026: Heroku usage and billing · Azure App Service plans · DigitalOcean App Platform pricing · Render pricing · App Engine pricing · Cloud Run pricing · Azure Container Apps billing · Fly.io pricing · Vercel Functions usage and pricing · App Runner pricing · Elastic Beanstalk pricing · Railway plans · Netlify pricing

Shortlist a PaaSCompare platforms