Skip to main content

Serverless Cluster Cost

Serverless clusters in Zilliz Cloud use a pay-per-operation model, where you are mainly charged for the resources consumed by your read and write operations. This ensures you only pay for the actual workload processed, without the need to provision fixed capacity in advance.

The total cost of a Serverless cluster is the sum of the following components:

In addition to the two primary billing items above, the following optional add-on charges may apply:

Vector database costs (write)

Write costs measure the compute resources consumed by insert, upsert, and delete operations.

Import and bulk insert operations do not incur costs.

Cost calculation

bash
Vector Database Cost (Write) = vCU Unit Price x Write vCU Usage
  • vCU Unit Price: $4 per million vCUs.

  • Write vCU Usage: Calculated based on the data size involved in write operations.

Example

The table below provides a quick reference chart of vCU usage and costs for writing specific amounts of data into a Serverless cluster.

For larger datasets, simply scale the vCU usage and cost proportionately. For example, writing 10 million 768-dimensional vectors would use approximately 7.5 million vCUs and cost around $30.

Data Size (*)Write vCU usage (million)Write Cost
1 million 128-dim vectors0.125$0.5
1 million 768-dim vectors0.75$3
1 million 1536-dim vectors1.5$6
1 million 2560-dim vectors2.5$10

*The data size in the table above excludes scalars.

*If your schema contains multiple vector fields, the write cost increases linearly. For example, if your schema has two 128-dimensional vector fields, the vCU usage for writing 1 million entities is 0.125 × 2 = 0.25, and the write cost is approximately $0.5 × 2 = $1.

For a precise calculation of the write vCU usage and cost, please refer to the following metrics:

OperationvCU Usage
Insert1 KB of inserted data = 0.25 vCU
Delete1 deleted entity = 1 vCU
Deleting a non-existent entity will also consume 1 vCU.
UpsertCalculated based on the size of the data updated and the number of entities deleted.
Deleting a non-existent entity will also consume 1 vCU.

Suppose you inserted 3 GB (3,145,728 KB) of entities into a Serverless cluster and then deleted 100,000 entities.

  • Insert operation vCU usage = 3,145,728 x 0.25 = 78,643 vCUs

  • Delete operation vCU usage = 100,000 x 1 = 100,000 vCUs

  • Total vCU usage = 1,000 + 78,643 = 178,643 vCUs

  • Total vector database cost (write) = 0.178643 x 4 = $0.72

Vector database costs (read)

This cost item measures the resources consumed by search, hybrid search, and query operations.

Cost calculation

bash
Vector Database Cost (Read) = vCU Unit Price x Read vCU Usage
  • vCU Unit Price: $4 per million vCUs

  • Read vCU Usage: Depends on the following 3 factors.

    • The number of search or query requests: The more searches or queries you conduct, the higher the vCU usage.

    • The size of the data scanned in each search or query: The more data scanned, the higher the vCU usage.

      Tips: During each search or query, Zilliz Cloud scans the whole collection in a cluster. If you use a partition key as a filter during a search or query, Zilliz Cloud will only scan part of the collection that matches the specified partition key, which can lower the overall read vCU usage.

    • The size of the data returned in each search or query: The more data returned, the higher the vCU usage. For example, returning all fields including the vector field in a search will consume much more vCUs than a search that only returns the ID field.

    📘Notes

    Each read operation will cost a minimum of 6 vCUs.

Example

The table below provides examples of vCU usage and costs for 1 million read requests on varying amounts of data:

Scan Data Size (*)Read vCU Usage (million)Read Cost
1 million 128-dim vectors5$20
1 million 768-dim vectors15$60
5 million 768-dim vectors35$140
10 million 768-dim vectors55$220
1 million 1536-dim vectors25$100
10 million 1536-dim vectors75$300
100 million 1536-dim vectors290$1160
10 billion 1536-dim vectors1,495$5980
1 million 2560-dim vectors30$120

*The data size in the table above excludes scalars.

In the table above, it can be noted that when the data size grow from 1 million to 10 million and even to 100 million, the vCU usage does not increase proportionately.

Storage cost

Storage costs are charged separately from vector database costs and depend on:

  • Cluster region, cluster type, and project plan

  • Storage usage

For details, see Storage.

Ctrl I