Usage & Billing
Last updated August 23, 2023
Table of Contents
Heroku calculates billing based on wall-clock usage. This article explains the billing calculations. For specific guidance on minimizing your costs for different environments, see Optimizing Resource Costs.
This article doesn’t apply to Heroku Enterprise accounts. For more information, see Heroku Enterprise.
Billing Cycle and Current Usage
Heroku charges based on usage, except for the Eco Dynos Plan. In any given month, you receive the bill for the previous month of use, not the current month. All usage is included and charged for, including any apps you created for staging, tutorial, or testing purposes.
To see your balance for the current month, in the
Billing Information section on your account’s
Billing tab, look at
Current Usage. It’s updated nightly, so it’s accurate as of the the previous day, up to 00:00:00 UTC time.
The Eco Dyno Plan is a flat fee monthly subscription. You are charged for this plan for each month that you are subscribed, whether you used any Eco dynos that month or not. See Eco Dynos Plan for more info.
Dyno Usage and Costs
Heroku computes usage from wall-clock time, not CPU time. Any dynos scaled above 0 accrue usage, regardless of traffic or activity. Heroku prorates all costs to the second. You can scale down your dynos when they’re not in use.
For example, a Basic dyno costs US$7 per month. Running 1 Basic dyno costs roughly $0.01 per hour. If you scale your formation to 1 Basic dyno starting on 2022-01-01 00:00:00 and scale down to zero at 2022-01-01 02:00:00, it costs you approximately $0.02 for those 2 hours.
Dynos used in your review apps also count towards your usage.
The max price per month shown in the table is the maximum price you’re charged if you run the dyno 24 hours a day, 7 days a week since your last billing cycle.
|Dyno Price Per Hour
|Max Price Per Month
|$5 for 1,000 dyno hours per month,
shared across all your Eco dynos
For more information about the different dyno types, see Dyno Types.
The Eco dyno plan provides 1,000 dyno hours for $5 per month. All Eco dynos in your account share this dyno hours pool. The Eco dynos plan always renews on the first day of each month. If you subscribe to Eco after the first day, you’re charged the full $5 for that month.
Heroku Data Add-Ons Usage and Costs
A data add-on accrues usage as long as it’s enabled. Heroku prorates all costs to the second, calculated based on when you created or destroyed an add-on.
For example, a Mini Heroku Postgres database costs US$5 per month. If you create a Mini Postgres database and delete it after 15 days, it costs you roughly US$2.50.
Destroying an add-on also destroys all associated data.
For pricing, see the Elements Marketplace. The price per add-on per month shown is the maximum that you’re charged if you run the dyno 24 hours a day, 7 days a week since your last billing cycle.
For tips on optimizing your Postgres database, see Heroku Postgres Database Tuning.
Other Add-Ons Usage and Costs
Heroku prorates all costs to the second, calculated based on when you created or destroyed an add-on. For pricing, see each add-on’s individual Elements Marketplace page. The price per add-on per month shown is the maximum that you’re charged if you run the dyno 24 hours a day, 7 days a week since your last billing cycle.