Select all dimensions that meaningfully drive cost on a managed vector database bill in 2026.
Same topic, related formats. Practice these next.
Same topic, related formats. Practice these next.
Four real cost axes: storage (vectors × dim), reads (QPS), writes (upserts), and replication tier. Distance metric and naming convention are distractors.
Think of a managed vector database the way you would think of renting warehouse space plus paying for the trucks that load and unload it. The space charge depends on how many boxes you store and how big each box is: that is the vectors × dimension axis. The truck charges depend on how often you ship things out (queries) and how often you ship things in (upserts). And if you ask for a second warehouse in another city as backup, that doubles the bill. Which color you paint the warehouse, or what specific way the trucks weigh the boxes, does not change the rent. Those are the distractors in the question.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example.
Everything important, quickly.
4 min: the four cost axes (storage, reads, writes, replication), why dimension dominates storage, why upserts cost more than reads, and why distance metric is not a billing axis.
| Cost axis | What drives it | Typical knob |
|---|---|---|
| Storage | vectors × dimension × bytes_per_dim | Compress vectors via PQ or BQ |
| Reads (QPS) | Per-query candidate count × distance compute | Lower ef_search / nprobe |
| Writes (upserts) | Per-upsert index maintenance cost | Bulk-load offline, avoid bursty inserts |
| Replication | Replica multiplier across all other axes | Match tier to RPO/RTO requirements |
Real products, models, and research that use this idea.
What an interviewer would ask next. Try answering before peeking at the approach.
Red flags and common mistakes that signal junior thinking. Click to expand.
Treating the distance metric as a cost lever. It is a build-time choice that affects retrieval semantics, not the hardware the vendor provisions.
The night-before-the-interview bullets. Scan these on the way to the call.
Primary sources. Skim if you want the original framing.