Pricing is different for apps in the standard environment and the flexible environment. Apps in both environments may also incur charges 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 usage quotas and limits.
App Engine standard environment pricing
Apps in the standard environment have a free tier for App Engine resources. Any use of App Engine resources beyond the free tier incurs charges as described in this 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 surpasses its free tier. The billing rate depends on the instance class you specify for your app.
Instance class | Cost per hour per instance |
|---|---|
B1 | 0 hour to 9 hour Free per 1 day / project 9 hour and above $0.05 / 1 hour, per 1 day / project |
B2 | 0 hour to 9 hour Free per 1 day / project 9 hour and above $0.10 / 1 hour, per 1 day / project |
B4 | 0 hour to 9 hour Free per 1 day / project 9 hour and above $0.20 / 1 hour, per 1 day / project |
B4_1G | 0 hour to 9 hour Free per 1 day / project 9 hour and above $0.30 / 1 hour, per 1 day / project |
B8 | 0 hour to 9 hour Free per 1 day / project 9 hour and above $0.40 / 1 hour, per 1 day / project |
F1 | 0 hour to 28 hour Free per 1 day / project 28 hour and above $0.05 / 1 hour, per 1 day / project |
F2 | 0 hour to 28 hour Free per 1 day / project 28 hour and above $0.10 / 1 hour, per 1 day / project |
F4 | 0 hour to 28 hour Free per 1 day / project 28 hour and above $0.20 / 1 hour, per 1 day / project |
F4_1G | 0 hour to 28 hour Free per 1 day / project 28 hour and above $0.30 / 1 hour, per 1 day / project |
If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.
Accrual of instance hours begins when an instance starts and ends as described below, depending on the type of scaling you specify for the instance:
If the number of idle instances created by App Engine exceeds the maximum you specify in the Performance Settings tab of the API Console, the excess instances do not accrue instance hours.
Important: When you view your bill, you will not see the names of the individual 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 each instance 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.
Resource | Price (USD) |
|---|---|
Outgoing network traffic* | 0 gibibyte to 1 gibibyte Free per 1 day / project 1 gibibyte and above $0.138948 / 1 gibibyte, per 1 day / project |
Incoming network traffic | Free |
* Excludes traffic from the URL Fetch service to Google APIs at *.googleapis.com.
If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.
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 other recommended 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+ and PHP 7/8). The same pricing and quotas apply to the App Engine bundled services and APIs in both first- and second-generation runtimes.
Resource | Price (USD) |
|---|---|
Blobstore stored data* | 0 gibibyte day to 5 gibibyte day Free per 1 day / project 5 gibibyte day and above $0.000035616 / 1 gibibyte hour, per 1 day / project |
Dedicated memcache | $0.06 / 1 gibibyte hour |
Logs API | 0 mebibyte to 100 mebibyte Free per 1 day / project 100 mebibyte and above $0.12 / 1 gibibyte, per 1 day / project |
Search API**: Total storage (documents and indexes) | 0 gibibyte day to 0.25 gibibyte day Free per 1 day / project 0.25 gibibyte day and above $0.000246575 / 1 gibibyte hour, per 1 day / project |
Search API: Queries | 0 count to 1,000 count Free per 1 day / project 1,000 count and above $0.50 / 10,000 count, per 1 day / project |
Search API: Indexing searchable documents | 0 gibibyte to 0.01 gibibyte Free per 1 day / project 0.01 gibibyte and above $2.00 / 1 gibibyte, per 1 day / project |
Sending email, shared memcache, cron, APIs (Task Queues, Image, Files, Users) | No Additional Charge |
* Blobstore can use Cloud Storage buckets to store blobs, including the App Engine default bucket. Costs follow the pricing for Cloud Storage Multi-Regional buckets.
**For a detailed description of each type of Search API call, refer to the Java and Python documentation.
If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.
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 the runtime itself needs to run your app. This means your memory usage and costs can be higher than the maximum memory you request for your app.
The following table summarizes the hourly billing rates of the various computing resources in the flexible environment.
Resource | Price (USD) |
|---|---|
vCPU | $0.0526 / 1 hour |
Memory | $0.0071 / 1 gibibyte hour |
Persistent disk | Priced as Compute Engine persistent disk, which is called `Storage PD Capacity` on your bill. |
Outgoing network traffic | Priced as Compute Engine internet egress |
Incoming network traffic | Free |
If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.
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 to Manage billing administrators.
Billing settings
When you create a Google Cloud project, add a billing account and enable 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.
To view your app's charges, in the Google API Console, go to Billing. Select the billing account, then go to the History 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:
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 to Billing. Select the billing account, then go to the History page to view the transaction history.
Grace periods
You can view your app's current billing status in the App 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 the default levels.
To clear the outstanding charges you can go to the Transaction History page where you can click Make a Payment. You may need to go to the Billing 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 to Billing Enabled.