App Engine pricing
Pricing is different for apps in thestandard environment and theflexible environment. Apps in both environments may also incurcharges from other Google Cloud products, depending on which products they use in addition to App Engine. Also, apps in both environments are subject to certain usagequotas and limits.
App Engine standard environment pricing
Apps in the standard environment have afree tier for App Engine resources. Any use ofApp Engine resources beyond the free tier incurs charges as described inthis section.
To estimate costs for App Engine resources in the standard environment,use the pricing calculator.The following table summarizes the hourly billing rate that applies after an app surpassesits free tier. The billing rate depends on theinstance class youspecify for your app.
If you pay in a currency other than USD, the prices listed in your currency onCloud Platform SKUsapply.
Accrual of instance hours begins when an instance starts and ends as describedbelow, depending on thetype of scalingyou specify for the instance:
- Basic or automatic scaling: accrual ends fifteen minutes after an instance finishes processing its last request.
- Manual scaling: accrual ends fifteen minutes after an instance shuts down.
If the number of idle instances created by App Engine exceeds the maximum you specifyin the Performance Settings tab of the API Console, the excess instances do not accrueinstance hours.
Important: When youview your bill, you will not see the names of theindividual instance classes in your billing line items. Instead, you see instance hours from the"B" classes reported as "Backend Instances", and instance hours from the "F" classes reported as"Frontend Instances". The bill will apply the appropriate multiple of instance hours for eachinstance class you use. For example, if you use an F4 instance for one hour, you see"Frontend Instance" billing for four instance hours at the F1 rate.Network resources in the standard environment
The following table summarizes the billing rates for App Engine network resources in the standard environment.
If you pay in a currency other than USD, the prices listed in your currency onCloud Platform SKUsapply.
Legacy App Engine resources
The resources listed in the following table are available in the standard environment for first-generation runtimes (Go 1.11, Java 8, PHP 5 and Python 2) and some second-generation runtimes (Go 1.12+, Java 11/17, PHP 7/8 and Python 3).
When migrating to newer App Engine runtimes, we encourage you to use unbundled Google Cloud services, third-party services, or otherrecommended replacements that offer equivalent functionality as the proprietary App Engine bundled services.
Note: A subset of the App Engine bundled services is available for use in migration projects to second-generation runtimes (Python 3,Java 11,Go 1.12+ andPHP 7/8). The same pricing and quotas apply to the App Engine bundled services and APIs in both first- and second-generation runtimes.If you pay in a currency other than USD, the prices listed in your currency onCloud Platform SKUsapply.
App Engine flexible environment pricing
App Engine does not provide free tier in the flexible environment.
Apps running in the flexible environment are deployed to virtual machine types that you specify.These virtual machine resources are billed on a per-second basis with a 1 minute minimum usage cost.
Billing for the memory resource includes the memory your app uses plus the memory that theruntime itself needs to run your app. This means your memory usage and costs can behigher than themaximum memoryyou request for your app.
The following table summarizes the hourly billing rates of the various computing resources in the flexible environment.
If you pay in a currency other than USD, the prices listed in your currency onCloud Platform SKUsapply.
Pricing for related Google Cloud products
App Engine uses Cloud Build to build and deploy apps. Cloud Build has its own quotas, and each time you deploy your app to App Engine you use some of this quota. Cloud Build provides a free tier, so you won't incur costs for deploying App Engine apps until you surpass the free tier. For information about Cloud Build quotas and pricing, seeCloud Build Pricing.
The following list provides pricing information for Google Cloud resources that are frequently used by App Engine apps:
- Memorystore for Redis pricing
- Serverless VPC Access for Memorystore
- Cloud Storage pricing
- Cloud Logging pricing
- Cloud Tasks pricing
- Pub/Sub pricing
Managing billing
You must be a project owner to be a billing administrator and complete basic billing tasks. For more information, see the support help page on how toManage billing administrators.
Billing settings
When you create a Google Cloud project, add a billing account andenable billing. App Engine requires all projects to provide a valid payment instrument. You will only be charged for computing resources that are above the free usage limits.
If you already have a billing account when you create a project, billing is enabled for that project by default. If you have more than one billing account when you create a project, you must select an account to associate with your project. If you don't have a billing account when you create a project, then you must add a billing account and enable billing for that project.
If you disable an app, you should also disable billing for that app, as the app can still be charged for fixed billing costs, like datastore storage.
Understanding billing
To view your app's charges, in the Google API Console, go to Billing. Select the billing account, then go to theHistory page.
Only billing administrators can view the transaction history. No paper invoices are sent to the billing contact.
The transaction history shows all account activity related to resource charges and payments. The report uses the US Pacific timezone.
Note: Daily usage costs are rounded to the penny when they are displayed in the App Engine dashboard, but the transaction history accumulates the actual full costs. Therefore the sum of the daily charges may not be identical to the amount reported (and billed) in the transaction history. Daily usage is posted on dashboard the next day but it can take longer to update the transaction history, so the transaction history may not include the most recent usage history.Daily and monthly charges
Charges are posted daily and monthly:
- Daily: Every day you are charged for the resources you actually use. Usage up to the free tier limits is included in the usage total, but not in the billable amount. Usage above the free tier is charged at the regular rates.
- Monthly: At the beginning of each month all daily charges for the previous month are summed, applicable taxes are computed, and the total charges are debited from the payment method that is linked to the app.
Taxes
Some countries tax App Engine fees. If taxes apply in your country of residence, your bill will include any applicable taxes. Taxes are added to your charges after daily spend has been calculated. To see any taxes in your bill, in the Google API Console, go toBilling. Select the billing account, then go to theHistory page to view the transaction history.
Grace periods
You can view your app's current billing status in theApp Engine dashboard in the API Console. If a payment fails, the app's account is delinquent and enters a grace period status. You have until the end of the grace period to pay the outstanding balance. During the grace period, the app will continue to run with its budget constraints. If payment is not received, your quotas may be reverted to thedefault levels.
To clear the outstanding charges you can go to theTransaction History page where you can clickMake a Payment. You may need to go to theBilling Settings page first, where you can add another payment source or correct a problem with an existing account, such as an expired card. If payment succeeds, the billing status will change toBilling Enabled.
Help
See theCloud Billing guide for more information.
Report billing problems to Cloud Services by filling out this online form.
What's next
- Read theApp Engine documentation.
- Try thePricing calculator.
- Learn aboutApp Engine solutions and use cases.