This document explains Spanner pricing details.
You can also use the Google Cloud Platform Pricing Calculator to estimate the cost of using Spanner.
If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.
Spanner offers editions, a tier-based pricing model that provides greater flexibility, better cost transparency, and opportunities for cost savings. You can choose between the Standard, Enterprise, and Enterprise Plus editions, letting you pick the right set of capabilities to fit your needs and budget. To learn more about Spanner editions, read the overview and blog.
When you use Spanner, you are charged for the following:
Note: When you use RAG Engine on Gemini Enterprise Agent Platform with a RAG-managed database, you will be charged for the RAG-managed Spanner instance, because a RAG-managed database uses a Spanner instance as the backend. For more information, see RAG Engine on Gemini Enterprise Agent Platform billing.
For all base instance configurations (instance configurations with fixed regions and replication topologies), you are charged compute capacity and storage costs for your instance. If you're using a dual-region or multi-region instance configuration, you are also charged for data replication.
If you create a custom instance configuration and add optional read-only replicas to the base instance configuration, Spanner charges you for the amount of compute capacity, data replication, and database storage used by the base instance configuration and by each optional read-only replica added.
For both base instance configurations and custom instance configurations, backup storage charges include all replicas that store the backup.
Project storage usage, replication, and network bandwidth usage are calculated in gigabytes (GiB), where 1 GiB = 230 bytes.
Project storage, replication, and network bandwidth usage charges accrue daily. You can view unbilled usage at any time on the Google Cloud console.
The following sections show the pricing for each component of Spanner.
Spanner editions
Spanner editions offer tier-based, pay-as-you-use pricing, and optional one-year and three-year committed use discounts (CUDs) for your instances.
You are billed for the number of replicas, which are the physical representation of the node, multiplied by the hourly rate:
Spanner offers granular instances where an instance's compute capacity can be smaller than 1 node (1000 processing units). For example, an instance with compute capacity of 200 processing units that ran for 6 hours will 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.
Choose a regional configuration from the drop-down in the following table:
Edition | Default* (USD) | Cloud Spanner CUD - 1 Year* (USD) | Cloud Spanner CUD - 3 Year* (USD) |
|---|---|---|---|
Standard | $0.90 / 1 hour | $0.72 / 1 hour | $0.54 / 1 hour |
Enterprise | $1.23 / 1 hour | $0.984 / 1 hour | $0.738 / 1 hour |
Enterprise Plus | $1.71 / 1 hour | $1.368 / 1 hour | $1.026 / 1 hour |
* Prices reflect cost per node (including all three replicas)
Choose a dual-region configuration (available in the Enterprise Plus edition) from the drop-down in the following table:
Edition | Default* (USD) | Cloud Spanner CUD - 1 Year* (USD) | Cloud Spanner CUD - 3 Year* (USD) |
|---|---|---|---|
Enterprise Plus | $4.617 / 1 hour | $3.6936 / 1 hour | $2.7702 / 1 hour |
* Prices reflect Cost per node (including all replicas)
Choose a multi-region configuration (available in the Enterprise Plus edition) from the drop-down in the following table:
Edition | Default* (USD) | Cloud Spanner CUD - 1 Year* (USD) | Cloud Spanner CUD - 3 Year* (USD) |
|---|---|---|---|
Enterprise Plus | $3.705 / 1 hour | $2.964 / 1 hour | $2.223 / 1 hour |
* Prices reflect cost per node (including all replicas)
Compute capacity pricing for adding optional read-only replicas (available in the Enterprise and Enterprise Plus edition):
You can create a custom instance configuration and add optional read-only replicas to the base regional or multi-region instance configuration. You can't create custom dual-region instance configurations. Spanner charges you for the compute capacity of these read-only replicas in addition to the compute capacity of the base instance configuration.