Analysis updated 2026-05-18
Compare real latency across S3 Vectors, OpenSearch Serverless, Aurora pgvector, and Pinecone before choosing one for a project.
Estimate monthly hosting costs for a vector database at 10 million, 100 million, or 1 billion vectors.
Plug your own traffic numbers into the cost calculator without provisioning any AWS resources.
Run a recurring automated benchmark to track vector store performance trends over time.
| rdarrylr/aws-vector-hosting-comparison | 0xhassaan/nn-from-scratch | 3ks/embedoc | |
|---|---|---|---|
| Stars | 0 | 0 | — |
| Language | Python | Python | Python |
| Last pushed | — | — | 2023-06-08 |
| Maintenance | — | — | Dormant |
| Setup difficulty | hard | moderate | hard |
| Complexity | 4/5 | 4/5 | 1/5 |
| Audience | developer | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
Requires an AWS account, Bedrock model access, and Terraform to provision real cloud infrastructure.
This project is a hands-on cost and speed comparison tool for teams trying to decide where to store vector embeddings on AWS. Vector embeddings are the numeric representation of text or images that AI search and recommendation systems rely on, and there are several different places you can store them, each with its own pricing and performance tradeoffs. This repository sets up four of those options at once, Amazon S3 Vectors, Amazon OpenSearch Serverless, Aurora PostgreSQL with pgvector, and Pinecone, so you can measure them side by side instead of guessing. It loads the same 50,000 sample embeddings into all four stores, runs the same search queries against each, and records real response time measurements. It then prints an estimated monthly bill for each option at three different scales, from 10 million to 1 billion vectors, across six typical usage patterns. There is also a standalone cost calculator that works without touching AWS at all, so you can plug in your own expected traffic numbers and see projected costs before committing to a store. Everything needed to set this up is included: a Terraform configuration to create the AWS infrastructure, and Python scripts to generate the embeddings, load them, and run the benchmark. A Makefile ties the whole workflow together with simple commands like build, load data, run benchmark, and tear everything down. Pinecone is optional and can run entirely on its free tier for this demo. Running the full comparison once, at the 50,000 vector scale used in the demo, is expected to cost well under one US dollar in AWS charges. The project also sets up an automated benchmark that reruns every six hours if you leave the infrastructure running, useful for tracking performance trends over time rather than a single snapshot. This is written in Python and is companion code to a blog post explaining the same comparison in more detail.
A benchmark tool that loads the same data into four AWS-compatible vector stores, measures real query speed, and estimates monthly costs at different scales so you can pick the right one.
Mainly Python. The stack also includes Python, Terraform, AWS.
No license information was found in the README, so usage rights are unclear.
Setup difficulty is rated hard, with roughly 1h+ to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.