App Hosting requires a project with the Firebase Blaze pricing plan enabled. This plan has the following no-cost limits for Google Cloud products invoked by App Hosting:
Product | Feature | No-cost | Billed |
---|---|---|---|
Cloud Run | CPU | 180k vCPU-seconds | $0.00002400 / vCPU-second |
Memory | 360k GiB-seconds | $0.00000250 / GiB-second | |
Requests | 2M requests | $0.40 / million requests | |
Cloud Build | Build-minutes | 2500 build-minutes | $0.006 / build-minute |
Artifact Registry | Storage | 0.5 GB / month | $0.10 / GB / month for over 0.5 GB |
Egress | No Cost | See Artifact Registry pricing for a full list of egress prices | |
Cloud Logging | Logging Storage | 50 GiB / project / month | $0.50/GiB |
Logging Retention | No cost for 30 days | $0.01 / GiB / month for logs retained more than 30 days | |
Secret Manager | Active Secret Versions | 6 versions / month | $0.06 per version per location |
Access Operations | 10,000 operations / month | $0.03 per 10,000 operations | |
Rotation Notifications | 3 rotations / month | $0.05 per rotation |
No-cost usage is aggregated across projects by billing account and resets every month; you are billed only for usage past the limits.
Calculate costs
Starting June 14, 2025, you begin incurring costs for your Firebase App Hosting project once you exceed the pay-as-you-go Blaze pricing plan allowances. You will be charged for the following Firebase App Hosting line items:
Uncached Outgoing Bandwidth refers to the data transferred directly from the origin servers of the Firebase App Hosting service to fulfill user requests. Origin servers are located between an App Hosting backend's Cloud Run service and Cloud CDN. This occurs when the requested content is not already stored in the Cloud CDN cache (that is, it's uncached). Consequently, the origin server must fetch the data and send it to the user.
This process incurs costs for two primary reasons:
- Populating Cloud CDN caches: When a user requests uncached content, it triggers a process to fetch that data from the origin server and store a copy in the Cloud CDN cache for future requests. This initial transfer of data from the origin to the CDN contributes to the overall cost.
- Transferring data to the end user: Once the content is available (either directly from the origin or from the CDN after the initial cache population), it must be transmitted to the end user's device at the requested destination. This data transfer also contributes to the cost.
Cached Outgoing Bandwidth refers to the data transferred in gibibytes from Cloud CDN's caches to the end user's device at the requested destination.
You will also be charged for the usage of the underlying Google Cloud products that your backend uses:
- Cloud Run
- Cloud Build
- Artifact Registry
- Secret Manager
- Cloud Logging
The exact price points for these line items can be viewed on our pricing page.
Billing examples
The cost of running a dynamic Web app on App Hosting can vary widely depending on factors like traffic, storage, and specific services used. The examples in this section are provided as a general guide, but your actual costs may differ.
Costs in our example are based on these assumptions about the configuration and usage of the Web app:
Assumptions | |
---|---|
Effective Concurrency | 10 |
Builds per month | 10 |
Minutes per build | 5 |
Traffic | 80% NorthAm |
Log Retention | < 30 days |
Example cost calculations assume that each visit to the Web app has these characteristics:
Single Visit | |
---|---|
~Billed Requests | 109 |
~Billed Transfer (MiB) | 1.792467117 |
~CPU/mem time (s) | 7.367 |
With these assumptions, we can extrapolate the following costs for this example scenario. At a level of 10k visits there are virtually no costs, with costs of any significance beginning to accrue at the 1M visit level.
SKU | Price | Unit | No-cost Tier | 10K visits usage | 10K visits cost | 1M visits usage | 1M visits cost |
---|---|---|---|---|---|---|---|
Cloud Run - CPU | $0.00 |
vCPU second | 180,000.00 |
7,367.69 |
$0.00 |
736,769.00 |
$13.36 |
Cloud Run - memory | $0.00 |
GiB second | 360,000.00 |
3,683.84 |
$0.00 |
368,384.00 |
$0.02 |
Cloud Run - requests | $0.40 |
M SSR requests | 2.00 |
0.17 |
$0.00 |
17.00 |
$6.00 |
Cloud Build - build minutes | $0.01 |
build-minute | 2,500.00 |
40.00 |
$0.00 |
250.00 |
$0.00 |
Artifact Registry - storage | $0.10 |
GiB (stored) | 0.50 |
2.00 |
$0.15 |
0.50 |
$0.15 |
Secrets Manager - Active Secret Versions | $0.06 |
versions | 6.00 |
3.00 |
$0.00 |
6.00 |
$0.00 |
Secrets Manager - Access Operations | $0.03 |
10K operations | 10,000.00 |
0.10 |
$0.00 |
5.00 |
$0.00 |
Secrets Manager - Rotation Notifications | $0.05 |
rotations | 3.00 |
0.00 |
$0.00 |
0.00 |
$0.00 |
Cloud Logging - Logging Storage | $0.50 |
GiB | 50.00 |
0.50 |
$0.00 |
50.00 |
$0.00 |
Cloud Logging - Logging Retention | $0.01 |
GiB / month | 30 days | $0.00 |
$0.00 |
||
Total | $0.15 |
$19.53 |