Usage & Billing
Last updated September 26, 2022
Table of Contents
Starting November 28, 2022, free Heroku Dynos, free Heroku Postgres, and free Heroku Data for Redis® plans will no longer be available. If you have apps using any of these resources, you must upgrade to paid plans by this date to ensure your apps continue to run and retain your data. For students, we will announce a new program by the end of September. See our blog and FAQ for more info.
Heroku calculates billing based on wall-clock usage. This article explains the billing calculations.
This article does not apply to Heroku Enterprise accounts. Please see Heroku Enterprise for more information.
Billing Cycle & Current Usage
Heroku charges based on usage. In any given month, you receive the bill for the previous month of use, not the current one.
To see your balance for the current month, look at
Current Usage in the
Billing Information section on your account’s
Billing tab. It’s updated on a nightly basis, so it’s accurate up to the previous day (up to 00:00:00 UTC time).
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 Hobby dyno costs $7/month. Running 1 Hobby dyno costs roughly $0.25/day. If you scaled your formation to 1 Hobby dyno starting on 2022-01-01 00:00:00 and scaled down to zero before 2022-01-02 00:00:00, it would cost you less than $0.25.
When executing a one-off dyno with
heroku run, a dyno provisions for your command. The time spent executing the command accrues usage.
The price per dyno/month shown in the table is the maximum you are charged if you run the dyno 24 hours a day, 7 days a week since your last billing cycle.
|Dyno Type||Price per dyno/month|
|Eco (available soon)||$5 for 1000 dyno hours/month, shared across all your Eco dynos|
|Hobby (will be renamed as Basic)||$7|
For more information about the different dyno types, refer to the Dyno Types article.
For tips on optimizing your resources, see the Optimizing Dyno Usage article.
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 Hobby Basic Heroku Postgres database costs $9/month. If you create a Hobby Basic Postgres database and delete it after 15 days, it costs you roughly $4.50.
Destroying an add-on also destroys all associated data.
See the Elements Marketplace for pricing. The price per add-on/month shown is the maximum you are 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 the Heroku Postgres Database Tuning article.
Other Add-ons Usage and Costs
Heroku prorates all costs to the second calculated based on when you created or destroyed an add-on. See each add-on’s individual Elements Marketplace page for pricing. The price per add-on/month shown is the maximum you are charged if you run the dyno 24 hours a day, 7 days a week since your last billing cycle.