This document explains Datastore mode pricing details.
Free quota
Firestore in Datastore mode offers free quota that allows you to get started at no cost. To exceed the free quota, you must enable billing for your project.
Quotas are applied daily and reset around midnight Pacific time.
Free quota | |
---|---|
Entity reads | 50,000 per day |
Entity writes | 20,000 per day |
Entity deletes | 20,000 per day |
Stored data | 1 GB |
Small operations | 50,000 per day |
Network egress | 10 GiB per month |
Multi-region location pricing
United States nam5
Pricing beyond the free quota | |
---|---|
Document reads | $0.06 per 100,000 documents |
Document writes | $0.18 per 100,000 documents |
Document deletes | $0.02 per 100,000 documents |
Stored data | $0.18/GiB/month |
Small operations | Free |
If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.
Europe eur3
Pricing beyond the free quota | |
---|---|
Document reads | $0.06 per 100,000 documents |
Document writes | $0.18 per 100,000 documents |
Document deletes | $0.02 per 100,000 documents |
Stored data | $0.18/GiB/month |
Small operations | Free |
If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.
Regional location pricing
North America
Los Angeles us-west2
Pricing beyond the free quota | |
---|---|
Document reads | $0.036 per 100,000 documents |
Document writes | $0.108 per 100,000 documents |
Document deletes | $0.012 per 100,000 documents |
Stored data | $0.108/GiB/month |
Small operations | Free |
If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.
Salt Lake City us-west3
Pricing beyond the free quota | |
---|---|
Document reads | $0.036 per 100,000 documents |
Document writes | $0.108 per 100,000 documents |
Document deletes | $0.012 per 100,000 documents |
Stored data | $0.108/GiB/month |
Small operations | Free |
If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.
Las Vegas us-west4
Pricing beyond the free quota | |
---|---|
Document reads | $0.033 per 100,000 documents |
Document writes | $0.099 per 100,000 documents |
Document deletes | $0.011 per 100,000 documents |
Stored data | $0.165/GiB/month |
Small operations | Free |
If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.
Montréal northamerica-northeast1
Pricing beyond the free quota | |
---|---|
Document reads | $0.033 per 100,000 documents |
Document writes | $0.099 per 100,000 documents |
Document deletes | $0.011 per 100,000 documents |
Stored data | $0.099/GiB/month |
Small operations | Free |
If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.
South Carolina us-east1
Pricing beyond the free quota | |
---|---|
Document reads | $0.06 per 100,000 documents |
Document writes | $0.18 per 100,000 documents |
Document deletes | $0.02 per 100,000 documents |
Stored data | $0.18/GiB/month |
Small operations | Free |
If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.
Northern Virginia us-east4
Pricing beyond the free quota | |
---|---|
Document reads | $0.033 per 100,000 documents |
Document writes | $0.099 per 100,000 documents |
Document deletes | $0.011 per 100,000 documents |
Stored data | $0.099/GiB/month |
Small operations | Free |
If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.
South America
São Paulo southamerica-east1
Pricing beyond the free quota | |
---|---|
Document reads | $0.045 per 100,000 documents |
Document writes | $0.135 per 100,000 documents |
Document deletes | $0.015 per 100,000 documents |
Stored data | $0.135/GiB/month |
Small operations | Free |
If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.
Europe
London europe-west2
Pricing beyond the free quota | |
---|---|
Document reads | $0.039 per 100,000 documents |
Document writes | $0.117 per 100,000 documents |
Document deletes | $0.013 per 100,000 documents |
Stored data | $0.117/GiB/month |
Small operations | Free |
If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.
Frankfurt europe-west3
Pricing beyond the free quota | |
---|---|
Document reads | $0.039 per 100,000 documents |
Document writes | $0.117 per 100,000 documents |
Document deletes | $0.013 per 100,000 documents |
Stored data | $0.117/GiB/month |
Small operations | Free |
If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.
Zürich europe-west6
Pricing beyond the free quota | |
---|---|
Document reads | $0.042 per 100,000 documents |
Document writes | $0.126 per 100,000 documents |
Document deletes | $0.014 per 100,000 documents |
Stored data | $0.210/GiB/month |
Small operations | Free |
If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.
Asia
Mumbai asia-south1
Pricing beyond the free quota | |
---|---|
Document reads | $0.035 per 100,000 documents |
Document writes | $0.104 per 100,000 documents |
Document deletes | $0.012 per 100,000 documents |
Stored data | $0.104/GiB/month |
Small operations | Free |
If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.
Jakarta asia-southeast2
Pricing beyond the free quota | |
---|---|
Document reads | $0.038 per 100,000 documents |
Document writes | $0.115 per 100,000 documents |
Document deletes | $0.013 per 100,000 documents |
Stored data | $0.192/GiB/month |
Small operations | Free |
If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.
Hong Kong asia-east2
Pricing beyond the free quota | |
---|---|
Document reads | $0.06 per 100,000 documents |
Document writes | $0.18 per 100,000 documents |
Document deletes | $0.02 per 100,000 documents |
Stored data | $0.18/GiB/month |
Small operations | Free |
If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.
Tokyo asia-northeast1
Pricing beyond the free quota | |
---|---|
Document reads | $0.038 per 100,000 documents |
Document writes | $0.115 per 100,000 documents |
Document deletes | $0.013 per 100,000 documents |
Stored data | $0.115/GiB/month |
Small operations | Free |
If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.
Osaka asia-northeast2
Pricing beyond the free quota | |
---|---|
Document reads | $0.038 per 100,000 documents |
Document writes | $0.115 per 100,000 documents |
Document deletes | $0.013 per 100,000 documents |
Stored data | $0.195/GiB/month |
Small operations | Free |
If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.
Seoul asia-northeast3
Pricing beyond the free quota | |
---|---|
Document reads | $0.038 per 100,000 documents |
Document writes | $0.115 per 100,000 documents |
Document deletes | $0.013 per 100,000 documents |
Stored data | $0.192/GiB/month |
Small operations | Free |
If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.
Australia
Sydney australia-southeast1
Pricing beyond the free quota | |
---|---|
Document reads | $0.038 per 100,000 documents |
Document writes | $0.115 per 100,000 documents |
Document deletes | $0.013 per 100,000 documents |
Stored data | $0.115/GiB/month |
Small operations | Free |
If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.
Small operations
Small operations include:
- Calls to allocate IDs.
- Keys-only queries. A keys-only query is counted as a single entity read for the query itself. The individual results are counted as small operations.
- Projection queries that do not use the
distinct on
clause. This type of query is counted as a single entity read for the query itself. The individual results are counted as small operations.
Small operations are free, but you must enable billing to exceed the free quota per day.
Network bandwidth
You are charged for the network bandwidth used by your Firestore in Datastore mode requests, as shown in the following sections. The network bandwidth cost of a request depends on the request's response size, the location of your Datastore mode database, and the destination of the response.
General network pricing
For requests that originate within Google Cloud Platform (for example, from an application running on Google Compute Engine), you are charged as follows:
Traffic type | Price |
---|---|
Ingress | Free |
Egress within a region | Free |
Egress between regions in the same multi-region | Free |
Egress between regions within the US (per GiB) | $0.01 (first 10 GiB per month are free) |
Egress between regions, not including traffic between US regions | Google Cloud Platform internet egress rates |
If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.
Internet egress rates
You will be charged for internet egress for the following:
- Google Cloud requests between regions, not including traffic between US regions
- Requests from outside of Google Cloud
Export and import operations
Export and import operations are charged for entity reads and writes at the rates shown in the table above. If you cancel an export or import, you will be charged for operations performed up until the time that the cancel request has propagated through Firestore in Datastore mode.
Locating quota usage information for your app
To see your application's Datastore mode usage, including quota consumption, visit the App Engine Quota Details page. You'll need to do this even if your application does not run in App Engine.
The Datastore mode resources used by your application are listed in the Storage page that is displayed. You can optionally click Show resources not in use to take a look at the complete list of quota information that is available.
Storage size consideration
It's important to note that data stored in Firestore in Datastore mode may incur significant storage overhead. This overhead depends on the number and types of associated properties, and includes space used by built-in indexes and composite indexes. Each entity stored in your database requires the following metadata:
- The entity key, including the kind, the ID or key name, and the keys of the entity's ancestors.
- The name and value of each property. Since Firestore in Datastore mode is schemaless, the name of each property must be stored with the property value for any given entity.
- Any built-in and composite index rows that refer to this entity. Each row contains the entity kind, any number of property values depending on the index definition, and the entity key.
Learn how Datastore mode storage is calculated at Storage Size Calculations.