Cloud Spanner pricing

This document explains Cloud Spanner pricing details.

You can also use the Google Cloud Platform Pricing Calculator to estimate the cost of using Cloud Spanner.

If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.

Cloud Spanner pricing overview

When you use Cloud Spanner, you are charged for the following:

  1. The amount of compute capacity in your instance.

    Cloud Spanner keeps track of the compute capacity (measured in processing units or nodes) of an instance over time. You are charged for the number of nodes multiplied by the hourly rate.

    Because an instance's compute capacity can be smaller than 1 node (1000 processing units), this number might be a fraction. For example, an instance with compute capacity of 200 processing units that ran for 6 hours would be charged for 1.2 node hours (200 processing units × 6 hours ÷ 1000 processing units per node).

    Any compute capacity that you provision will be billed for a minimum of one hour. For example, if you temporarily scale up your instance for only 30 minutes, you will still be charged for one hour.

    After the one hour minimum, billing for compute capacity is prorated. For example, if you provision a 5 node instance at 1:00PM and then at 2:01PM (more than an hour later) you remove one node, the 5th node is billed for 61 minutes.

  2. The amount of storage that your databases use.

    Cloud Spanner charges you for the average amount of data in your Cloud Spanner databases, including tables, secondary indexes, and metadata over a one-month period, multiplied by the monthly rate.

  3. The amount of storage that your backups use.

    Cloud Spanner charges you for the average amount of storage used by your Cloud Spanner backups over a one-month period, multiplied by the monthly rate.

  4. The amount of network bandwidth used.

    Some types of network egress traffic, such as application reads of Cloud Spanner databases, are subject to bandwidth charges, as shown below. There are no bandwidth charges for Cloud Spanner replication or network ingress traffic.

These charges include all of the replicas that Cloud Spanner runs for your instance. You are charged for each instance, not for each replica.

Project storage usage and bandwidth usage are calculated in gigabytes (GB), where 1 GB = 230 bytes.

Project storage and bandwidth usage charges accrue daily. You can view unbilled usage at any time on the Google Cloud Console.

The following tables show the pricing for each component of Cloud Spanner.

Compute capacity

Regional configuration Description Cost per node per hour (including all replications)
Americas
northamerica-northeast1 Montréal $0.99
northamerica-northeast2 Toronto $0.99
southamerica-east1 São Paulo $1.35
southamerica-west1 Santiago $1.26
us-central1 Iowa $0.90
us-east1 South Carolina $0.90
us-east4 Northern Virginia $0.99
us-west1 Oregon $0.90
us-west2 Los Angeles $1.08
us-west3 Salt Lake City $1.08
us-west4 Las Vegas $0.99
Asia Pacific
asia-east1 Taiwan $0.90
asia-east2 Hong Kong $1.26
asia-northeast1 Tokyo $1.17
asia-northeast2 Osaka $1.17
asia-northeast3 Seoul $1.17
asia-south1 Mumbai $1.26
asia-south2 Delhi $1.26
asia-southeast1 Singapore $1.03
asia-southeast2 Jakarta $1.17
australia-southeast1 Sydney $1.215
australia-southeast2 Melbourne $1.215
Europe
europe-north1 Finland $1.035
europe-west1 Belgium $0.90
europe-west2 London $1.08
europe-west3 Frankfurt $1.08
europe-west4 Netherlands $1.035
europe-west6 Zürich $1.17
europe-central2 Warsaw $1.08
Multi-region configuration Description Cost per node per hour
asia1 Asia $3.90
eur3 Europe $3.00
eur5 Europe $3.00
eur6 Europe $3.00
nam3 North America $3.00
nam6 North America $5.00
nam7 North America $3.00
nam8 North America $3.00
nam9 North America $5.00
nam10 North America $3.00
nam11 North America $3.00
nam12 North America $5.00
nam-eur-asia1 North America, Europe, and Asia $9.00
If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.

Database storage

You are billed only for the storage that you use, including tables, secondary indexes, and the overhead for those indexes.

Regional configuration Description Storage per GB per month
Americas
northamerica-northeast1 Montréal $0.33
northamerica-northeast2 Toronto $0.33
southamerica-east1 São Paulo $0.45
southamerica-west1 Santiago $0.42
us-central1 Iowa $0.30
us-east1 South Carolina $0.30
us-east4 Northern Virginia $0.33
us-west1 Oregon $0.30
us-west2 Los Angeles $0.36
us-west3 Salt Lake City $0.36
us-west4 Las Vegas $0.33
Asia Pacific
asia-east1 Taiwan $0.30
asia-east2 Hong Kong $0.42
asia-northeast1 Tokyo $0.39
asia-northeast2 Osaka $0.39
asia-northeast3 Seoul $0.39
asia-south1 Mumbai $0.42
asia-south2 Delhi $0.42
asia-southeast1 Singapore $0.34
asia-southeast2 Jakarta $0.39
australia-southeast1 Sydney $0.405
australia-southeast2 Melbourne $0.405
Europe
europe-north1 Finland $0.345
europe-west1 Belgium $0.30
europe-west2 London $0.36
europe-west3 Frankfurt $0.36
europe-west4 Netherlands $0.345
europe-west6 Zürich $0.39
europe-central2 Warsaw $0.36
Multi-region configuration Description Storage per GB per month
asia1 Asia $0.65
eur3 Europe $0.50
eur5 Europe $0.50
eur6 Europe $0.50
nam3 North America $0.50
nam6 North America $0.70
nam7 North America $0.50
nam8 North America $0.50
nam9 North America $0.70
nam10 North America $0.50
nam11 North America $0.50
nam12 North America $0.70
nam-eur-asia1 North America, Europe, and Asia $0.90
If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.

Backup storage

You are billed only for the storage that you use. A backup is billed from the time it is complete until the time it is deleted. A completed backup is billed for a minimum of 24 hours, irrespective of time of deletion (if less than one day).

Regional configurations Multi-region configurations
$0.10 per GB per month $0.30 per GB per month
If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.

Network

Ingress Free
Egress within the same region Free
Egress between regions within the US (per GB) $0.01
Inter-continental egress At Internet egress rate
If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.

Internet egress rates

For instances with regional configurations, internet egress rates are as shown below.

For instances with multi-region configurations, internet egress is charged as follows:

  • Egress from read-write transactions, which consists of the reads and queries in a read-write transaction, is always charged based on the egress cost from the default leader region.
  • Egress from other reads is charged based on the egress cost of the nearest region that has read-write or read-only replicas. For example, assuming that you are using the multi-region configuration nam-eur-asia1:

    • For clients in us-central1, egress is free, because the region is part of the multi-region configuration.
    • For clients in us-west1, egress is charged from us-central1, which is the closest region in the multi-region configuration.
    • For clients in asia-south1, egress is charged from asia-east1, which is the closest region in the multi-region configuration.
If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.

Database export and import pricing

There are no additional charges from Cloud Spanner for use of the export or import tools; you pay the standard rates for data storage when you import a database to Cloud Spanner. However, there are other potential charges associated with importing and exporting databases:

  • You will be charged the standard rates for Dataflow batch workers when you run an export or import job. The total charge will depend on the amount of data being imported or exported as well as performance factors. For example, if your Cloud Spanner instance is already under heavy load, import and export jobs might take longer, resulting in a larger overall charge for Dataflow workers.

  • If you run an import job in a region that does not overlap with your Cloud Storage bucket configuration, you pay Cloud Storage's standard rates for network egress. To minimize charges, ensure that you choose a region for your import job that overlaps with your bucket configuration. See Choosing an import region for more details.

  • If you run an export job in a region that does not overlap with your Cloud Spanner instance configuration, you pay the standard rates for network egress. To minimize charges, ensure that you choose a region for your export job that overlaps with your instance configuration. See Choosing an export region for more details.

What's next

Request a custom quote

With Google Cloud's pay-as-you-go pricing, you only pay for the services you use. Connect with our sales team to get a custom quote for your organization.
Contact sales