DEV Community

Damien Gallagher
Damien Gallagher

Posted on

OpenSearch Trillion-Scale Vectors: Limits, Cost Drivers and S3 Vectors

TL;DR

  • OpenSearch Service can now hold and search trillion-scale vectors in one domain, using "cost-optimized vector storage" on OpenSearch 3.9+ with OI2 instances.
  • AWS quotes p90 under 25 ms on hot data and recall above 90%. It says cost per vector is more than 40x lower than default settings.
  • Available in 12 Regions, including Ireland, Frankfurt and London. Pricing for the feature itself: not stated.
  • Watch the 40x claim: the baseline isn't defined, and the latency figure is for hot data only.
  • My view: real for a small group of teams. Most people should look at S3 Vectors first.

Contents


What launched

On 29 November 2026 AWS announced that Amazon OpenSearch Service can store and search trillion-scale vectors in a single domain. The post says hot data gets p90 latency under 25 ms with recall above 90%, on OpenSearch 3.9 and above. It also claims more than 40x lower cost per vector than default settings.

Item What the announcement says
Feature name Cost-optimized vector storage
Engine OpenSearch 3.9 or later
Instances OI2 (for the warm tier)
Status Presented as available now; no preview label
Latency / recall p90 under 25 ms for hot data, recall above 90%
Regions N. Virginia, Ohio, Oregon, Canada (Central), Frankfurt, Ireland, London, Spain, Mumbai, Singapore, Sydney, Tokyo
Feature price Not stated

The post is short on method. It does not say how many nodes, what dimension count, or what "default settings" means in the 40x figure. Treat that number as marketing until you can reproduce it on your own data.


How it works, going by the docs

AWS lists five pieces that make up the feature:

  • half_float vectors. Half the space of 32-bit float.
  • Writable warm nodes. Each OI2 warm node can address 5x its local cache in data.
  • 1-bit compact codes with rescoring. Small codes for the search, full vectors to re-rank, to keep recall up.
  • Memory-optimized search. Only the parts of the index that a search touches get loaded.
  • GPU-accelerated index builds. Faster ingest.

The tiering underneath is the multi-tier storage architecture. Frequently searched data sits on hot nodes. The rest sits on warm OI2 nodes backed by S3, and it stays writable, which is the big change from UltraWarm. The docs list hot node families OR1, OR2, OM2 or OI2, and OI2 for warm. They require OpenSearch 3.3 or later for the tiering itself, and node-to-node encryption, encryption at rest and enforced HTTPS.

Some details from that page that affect design:

  • All search requests on warm indices go to the primary shard. A replica serves reads only if the primary is down.
  • Cross-cluster replication works for hot indices only.
  • Shrink, Split and Clone don't work on warm indices.
  • There is no cold tier in this architecture.
  • Hot to warm moves don't trigger a force merge. You can orchestrate one with an Index Management policy.

I couldn't find a docs page that describes the vector-specific settings (how you switch on 1-bit codes, or how the GPU build is triggered). If you read one, send it my way. Until then I'm not going to guess parameter names.


Limits and quotas I could find

The quotas page gives the ceiling for warm OI2 nodes. 80% of local storage is cache, and addressable warm storage is 5x the cache.

Instance Local storage (GB) Max addressable warm (GB)
oi2.large.search 468 1,875
oi2.xlarge.search 937 3,750
oi2.2xlarge.search 1,875 7,500
oi2.4xlarge.search 3,750 15,000
oi2.8xlarge.search 7,500 30,000

Node count per domain (hot plus warm): 334 on 1 AZ, 668 on 2 AZ, 1,002 on 3 AZ. Warm nodes alone cap at 250, 500 and 750. The default per-account limit for OI2.xlarge and above is 80 nodes, so once you add the graph, replicas and hot nodes, expect to hit that default.


What this means for you

Who needs this

Going by the numbers, you need a very large corpus. A single 3-AZ domain tops out at 750 warm nodes. I'd say this suits a team that already runs OpenSearch, needs filters, hybrid search and sub-second latency at huge scale, and wants one query path over all of it. Think agent memory across millions of users, or a search product with a very long tail of old content.

If your queries are a few per second and latency of a few hundred milliseconds is fine, look at S3 Vectors first. From the limits page it caps at 2 billion vectors per index, 10,000 indexes per bucket and 10,000 buckets per Region. No cluster to size, no shards to babysit. The trade is a different feature set and a different latency profile, which that page doesn't state. My earlier post on S3 Vectors filters covers the metadata side.

What it costs

The feature has no separate price that I could find. You pay for the instances, plus any GPU indexing. These are on-demand figures for us-east-1 from the price list file, published 25 Nov 2026:

  • oi2.large.search: $0.29172/hour
  • oi2.4xlarge.search: $2.33376/hour
  • oi2.8xlarge.search: $4.66752/hour
  • Vector Index Acceleration: $0.24 per OCU-hour (same file; the pricing page describes it as 6 GB GPU memory, 8 GiB RAM and 2 vCPUs per OCU, billed on usage)

Rough storage-only sizing, with my assumptions. I'm assuming 1 trillion vectors at 1,024 dimensions. That is my number, not AWS's. Nothing below includes the graph, 1-bit codes, replicas, hot nodes, masters or EBS, because the docs I read don't give per-vector overhead.

  • half_float at 2 bytes per dimension: 1 trillion x 1,024 x 2 = 2,048,000 GB.
  • One oi2.8xlarge addresses 30,000 GB, so that is about 68.3, call it 69 nodes.
  • 69 x $4.66752 x 730 hours = about $235,000 per month.

Now the same data on S3 Vectors, using the S3 price list ($0.06 per GB-month storage, $0.20 per GB put, published 29 Nov 2026). I'm assuming 4 bytes per dimension, which I haven't confirmed is how S3 Vectors meters.

  • Storage: 4,096,000 GB x $0.06 = $245,760 per month.
  • One-off put: 4,096,000 GB x $0.20 = $819,200.
  • At 2 billion vectors per index you need at least 500 indexes.

Storage-only, the two land in the same ballpark, which I did not expect. The difference is in everything left out: query pricing on S3 Vectors, and hot nodes, replicas and overhead on OpenSearch. Run your own numbers in the pricing calculator before you believe either of mine.

Trying it

I haven't run any of this. The warm tier setup below is based on the docs, not tested by me. It is syntax-checked with bash -n only. The create-domain call in the docs uses OpenSearch 3.3; for this feature you want 3.9, so change the version and confirm the string.

aws opensearch create-domain \
  --domain-name my-domain \
  --engine-version OpenSearch_3.9 \
  --cluster-config InstanceCount=3,InstanceType=or2.large.search,DedicatedMasterEnabled=true,DedicatedMasterType=m6g.large.search,DedicatedMasterCount=3,WarmEnabled=true,WarmCount=3,WarmType=oi2.2xlarge.search \
  --region eu-west-1

: "move an index to warm, then check it (from the multi-tier docs)"
curl -XPOST 'https://localhost:9200/index-name/_tier/warm'
curl -XGET  'https://localhost:9200/index-name/_tier'
Enter fullscreen mode Exit fullscreen mode

I trimmed the docs' encryption, EBS and access-policy flags to keep it short. Put them back before running it. If you use fine-grained access control on an existing domain, the docs say non-admin users need a storage_tiering_manager role to manage warm indices, and it may not exist yet.

Pitfalls

  • Latency is hot-only. The p90 figure is for hot data. Warm latency is not stated. Decide what share of queries hit warm before you promise anything.
  • Warm reads hit the primary. Replicas don't take search load, so replicas buy resilience, not throughput.
  • Recall above 90% is a floor, not a promise. Measure it on your embeddings and your filters.
  • Upgrade path. 3.9 means following the upgrade rules I covered in my OpenSearch 3.9 post: go through 2.19 first from older versions.
  • Quotas. Request node-limit increases early.

A pattern I'd try: keep recent, hot content in OpenSearch and push the long tail to S3 Vectors, with one retrieval service in front that queries both. That is my idea, not an AWS reference design.

Next step: pick your busiest index, count its vectors and dimensions, and run the sizing above with your real numbers. If it comes out under a few billion vectors, ask whether you need this at all.


Related posts


Sources

Drafted with AI assistance. I review and edit every post.

Top comments (0)