CPU, GPU AND RAM

256 GB RAM for RAG: when the index justifies the capacity

In this article
THE QUICK TAKE

RAG does not prescribe a fixed RAM capacity; justify the amount through component estimates and observed peaks.

A RAG server needs 256 GB RAM only when its index, data, concurrency and update behavior justify that capacity. Estimate individual structures and measure a representative collection first. The name RAG does not define an obligatory memory size, and raw vector bytes alone do not establish the complete server requirement.

Describe the retrieval structure

Record source-fragment count, embedding dimensions and representation, search-index type, payload fields and filters. Documents can create several vectors, and the system may keep multiple representations. Preserve those choices with model and dataset versions so the estimate changes when the architecture changes.

Qdrant capacity guidance considers memory and disk components separately. This is more useful than a universal amount of RAM per document because collection parameters, placement and replicas alter the calculation. Describe where each copy lives rather than counting replication as an unexplained multiplier.

Build a component budget

ComponentEstimate basisDetail to verify
Dense vectorsCount, dimensions and bytesMultiple representations
Search indexType and parametersMeasured structure size
Document fieldsPayload and indexesRequired filters
ReplicasChosen copiesDistribution across nodes
Working reserveUpdates and queriesPeak workload
Other processesSystem and neighboring servicesActually available RAM

Keep steady-state storage distinct from index construction and update peaks. A loaded idle collection is only one operating state. Concurrent queries can also change the working requirement and delay seen by users.

Calculate the coordinate baseline

For an illustrative million vectors with 768 coordinates and four bytes per coordinate, raw values occupy 1000000 × 768 × 4 = 3072000000 bytes. This excludes indexes, payload, copies and runtime expenses. It is a teaching calculation, not a measured collection size or evidence that 256 GB is required.

Add the actual structures and placement before drawing a capacity conclusion. Keep decimal gigabytes and binary gibibytes explicit. A numerical conversion changes the unit, not the physical amount of data, and does not resolve the missing operational components.

Validate placement and workload

Qdrant’s memory-tier documentation describes different ways to keep structures resident or access disk. Check available settings for the installed version. Disk placement does not eliminate the effects of RAM, cache behavior and random reads on latency.

Measure ingestion, updates, representative filtered searches and recovery on a sample collection. Preserve quality alongside resource peaks before extrapolating. An operations or capacity discussion can then explain whether more RAM is useful, rather than treating a 256 GB label as a universal RAG requirement.

Official references: qdrant.tech — capacity planning, qdrant.tech — memory tiers.

Related guides: A 128 GB RAM server for LLMs: useful roles beyond VRAM, A local RAG server: placing components around the GPU.

← All articles