Choosing Qdrant quantization for your compression target
Pick scalar or 4-bit TurboQuant for 4 to 8x compression, binary or TurboQuant for 16 to 32x, and product quantization for about 64x, then recover recall with rescoring and oversampling. That choice matters to a team whose vector collection no longer fits in RAM at full precision, since the memory footprint of the vectors is usually what forces the decision, not search speed alone. Quantization stores a compressed approximation of each vector that the index can score cheaply, so more of the working set can stay in memory. The approximation is lossy, so the ordering of close neighbors can shift. Quantization is worth that trade only when memory is the binding constraint and the collection has outgrown the machines you can afford. Before choosing, confirm your current footprint with a sizing estimate based on vector count, dimensions and datatype.
Each method trades compression for accuracy in a different way. Scalar quantization maps each float component to a smaller integer type, which gives the gentlest compression of the group, and 4-bit TurboQuant sits in the same 4 to 8x band with its own encoding. Binary quantization reduces each dimension to a single bit, which reaches 16 to 32x but discards the most information, so it often depends most heavily on rescoring. TurboQuant can also reach 16 to 32x, so test it against binary on your own data rather than assuming either wins. Product quantization encodes groups of dimensions against learned codebooks, reaching about 64x for the strongest memory limits. Run each candidate against a labeled query set before you commit to one.
Recall recovery belongs to the same decision. Rescoring rechecks the top candidates from the compressed vectors against the original vectors, and oversampling fetches more candidates than you need so rescoring has room to correct errors. Both cost something: rescoring reads originals, which may sit on disk, and oversampling adds work to every query. Measure recall at the compression level you are considering, with and without these settings, and confirm the result meets your target before you size RAM for the compressed copy. Check the Qdrant quantization documentation for your running version to confirm which options exist and how they are configured for each collection.
Which quantization method fits which compression target
This table compares scalar, 4-bit TurboQuant, binary, higher bit-width TurboQuant and product quantization by compression range, recall risk, CPU and memory cost, and the data shapes each suits. Read the compression column first, then check the rescoring note before you commit. Recall depends on your own vectors and queries, so confirm it on your data before you size hardware around any option.
| Method | Typical compression range | Recall risk and rescoring | Best-fit data shapes and trade-offs |
|---|---|---|---|
| Scalar quantization | About 4 to 8x (illustrative range for 32-bit floats) | Low to moderate. Rescoring with original vectors recovers most lost ranking accuracy. | General text embeddings with broad value distributions. Low CPU overhead at query time. |
| 4-bit TurboQuant | About 4 to 8x (illustrative range) | Moderate. Confirm whether your Qdrant version and settings expect rescoring for your collection. | Embeddings where scalar quantization loses too much recall and you still want a moderate footprint. |
| Binary quantization | About 16 to 32x (illustrative range) | High. Usually needs oversampling and rescoring with full-precision vectors. | High-dimensional embeddings whose sign patterns still separate neighbors well. Confirm recall on your data first. |
| TurboQuant at higher bit widths | Between scalar and binary ranges, depending on bit width | Lower than binary at the same footprint. Confirm settings and rescoring with the current Qdrant docs. | Mixed workloads that need more recall than binary but more compression than scalar. |
| Product quantization | About 64x (illustrative range) | Highest. Plan oversampling and rescoring, and measure recall on a labeled query set. | Very large collections where RAM is the binding constraint and some recall loss is acceptable. |
| CPU and memory trade-off | Lower compression costs less CPU during search | Higher compression saves RAM but adds CPU work for decoding and rescoring. | Ask your team to benchmark latency at the target compression, not only at full precision. |
| Rescoring and oversampling | Applies to all lossy options | Oversampling fetches more candidates, and rescoring re-ranks them with original vectors. Both raise latency and keep original vectors on disk or in RAM. | Confirm the exact settings for your Qdrant version in the official documentation. |
| Recall validation | Required before production | Compare quantized results with exact search on your own queries. | Use the Qdrant recall measurement guidance on the team's own data and re-run the check after model or setting changes. |
How to set up quantization and confirm recall
This sequence measures a baseline on exact search, applies the quantization method that fits your compression target, and confirms that recall and latency stay within the limits you set before you size memory. Each step ends with a check so you know whether to move on.
Build a labeled query set and exact baseline
Before changing anything, collect a representative set of queries with known relevant results, drawn from real traffic where possible. Run them against the uncompressed collection with exact search enabled so every result is computed against full-precision vectors. Record recall at your target k and the latency at your expected load. This baseline is the reference for every later comparison. You are done when the query set, the k value and the baseline numbers are written down and someone other than the author has reviewed the labels.
Choose the method by compression target
Pick the method from the compression you need. Scalar quantization and 4-bit TurboQuant are the options for roughly 4 to 8x compression. Binary quantization or TurboQuant fit roughly 16 to 32x. Product quantization is the choice for about 64x. Confirm the exact ratios, supported datatypes and the TurboQuant settings for your Qdrant version against the Qdrant documentation and your release, since they can change between minor versions. You are done when you have one method, one compression target and a written reason that ties the choice to your recall baseline.
Enable quantization with always_ram and rescoring
Create a test copy of the collection, or a new collection, with the chosen quantization configuration. Set the quantized vectors to stay in RAM with always_ram, so the search path does not read compressed vectors from disk, and turn on rescoring so top candidates are recomputed against the original vectors. Keep the original vectors on disk if memory is tight. Confirm the configuration with the collection info call, which should show the quantization method and the always_ram flag. You are done when the collection reports the intended settings and the ingested point count matches the source.
Set oversampling and confirm the candidate pool
Oversampling asks the search to fetch more candidates from the compressed index than k, which rescoring then reorders using full-precision vectors. Start with a modest oversampling factor set on the query, and record it with the recall result. Check that the returned result count equals k for a sample of queries, because too little oversampling can leave gaps in recall. You are done when the oversampling value is written into the query configuration and a sample of queries returns the expected number of results.
Re-run recall and latency against the baseline
Run the same labeled query set and the same load profile used for the baseline against the quantized collection. Compare recall at k with the exact baseline and compare p50 and p99 latency at the same concurrency. Adjust oversampling and rescoring if recall drops, and rerun. The acceptance threshold should be agreed before the test, with your application owner, not chosen after seeing the numbers. You are done when recall and latency both meet the written threshold on the same query set, and the final settings are recorded.
Repeat the check on a full-size sample
A small test collection can hide recall loss that appears at scale or in filtered queries. Load a sample that is large enough to resemble production, include the payload filters your application uses, and repeat the recall and latency checks. Include the filtered queries as a separate result so filter-driven recall loss is visible. You are done when the filtered and unfiltered results both meet the threshold on the larger sample.
Size memory from the confirmed configuration
Only after the settings pass recall and latency checks should you size RAM and disk. Calculate memory from the quantized vector size, the always_ram placement, the original vectors kept on disk, the HNSW graph, payloads, payload indexes and the replication factor if you run a cluster. Confirm the figures against the Qdrant capacity guidance and your own measurements, and leave headroom for growth and optimizer activity. You are done when the sizing worksheet uses the confirmed settings and a load test on the target hardware reproduces the tested recall and latency.
How rescoring and oversampling recover recall
Compressed vectors lose ranking accuracy because the compressed representation is an approximation of the original embedding. Two vectors that were close at full precision can swap order once their values are rounded to fewer bits, or reduced to a single bit per dimension in binary mode. The search engine then ranks candidates by approximate distance, so the true nearest neighbors may not reach the top results. The loss is largest at the highest compression ratios, which is why the compression target in this guide should be set against the recall you can accept, not the memory you would like to save.
Rescoring recovers part of that loss. The engine first retrieves candidates using the compressed vectors, then recomputes their distances with the original full-precision vectors and re-sorts the list. Oversampling controls how many candidates enter that second pass. With oversampling, the engine fetches a multiple of the requested limit from the compressed index, so the rescoring step has more true neighbors to choose from. A higher multiple improves recall but adds distance computations and, when originals are stored on disk, more random disk reads per query. Latency and disk I/O rise with both the oversampling factor and the result limit, and they are most visible when originals are not held in RAM.
Both settings apply at query time, in the search request's quantization parameters, so you can change them without re-ingesting or rebuilding the collection. That makes them the cheapest lever to test. The right values depend on your embedding model, dimension count, filters and recall target, so confirm them with a labeled query set and an exact search baseline before fixing them in production. The Qdrant documentation on quantization describes the parameters, and the recall check should be repeated whenever the model, collection or compression method changes.
Every compression choice ends at a recall check
The path starts with the memory target, which sets how much compression the collection needs. The memory target then selects one of three ranges: light, heavy or extreme. Each range hands off to rescoring and oversampling, which recover accuracy lost to compression. The final step is a recall check against a labeled query set. If recall falls short, the loop returns to tuning the quantization and HNSW settings, then to rescoring, before the collection ships.
Decision path from memory target through compression range to recall check.
Security and operational risks in quantized deployments
Quantization changes how vectors are stored and scored, but it does not change who may read or change them. The cards below cover the risks that stay constant across compression choices, and the checks to run before and after a collection changes.
Original and quantized vectors share access rules
Quantized vectors are a compressed copy of the same embeddings, and the original vectors and payloads often remain in the collection. Treat both representations as sensitive data, because embeddings can carry information about the source text. Confirm with your own environment which copies are stored, where they sit, and which accounts can read them through the API or from disk.
Qdrant security docsKeys and JWT scopes apply regardless of compression
Admin and read-only API keys, and JWT tokens with per-collection read or write permissions, govern the collection whatever quantization method it uses. A binary or product-quantized collection is not more protected than a scalar one. Test that a read-only key cannot change quantization settings, and that a JWT scoped to one collection cannot reach another.
Access control docsRecall must be rechecked after upgrades
Quantized search returns approximate results, and a new minor release can change how scoring, rescoring or oversampling behave. Before upgrading, record recall on a labeled query set against the current cluster, then repeat the check on the new version. Plan this step into every upgrade window, and confirm the exact behavior with the release notes for the version you run.
- Latest release
- v1.19.2
Snapshots must preserve quantization settings
A snapshot holds collection data, but a restore is only safe if the quantization configuration comes back with it. Test a restore into a non-production cluster and compare the collection configuration, quantization settings and recall against the source. Remember that snapshots restore only to clusters on the same or the next minor version, so the target version also matters.
Snapshot docsAudit logs must capture configuration changes
Switching quantization, rebuilding a collection or changing its HNSW settings alters search results and can weaken protection of the stored data. Qdrant writes JSON audit logs of authenticated API operations, so confirm that collection configuration changes appear in your logs and that the logs are shipped to a system your security team reviews. Ask your team which events they need to see.
- Audit logging since
- v1.17.0
Unsecured defaults on self-deployed instances
Self-deployed Qdrant listens on all network interfaces and has no authentication configured by default. A quantized collection deployed with those defaults exposes the same data as any other. Before any compressed collection receives traffic, confirm that API keys, TLS and network restrictions are in place and that the instance is not reachable from untrusted networks.
Security defaultsQuestions buyers ask about Qdrant quantization
How much effort does a Qdrant quantization evaluation take?
The effort depends mostly on the size and representativeness of your vector set, how many quantization methods and settings you compare, and how much of the test runs against production-like hardware. A small evaluation on one collection with two or three candidate settings is a short exercise for an experienced engineer. A comparison across several collections, with recall measured at different oversampling and rescoring levels, takes longer because every run needs a fresh exact baseline and a review of the results. No figure is supplied for this work, so ask any partner to break its quote into data preparation, baseline runs, tuning rounds, and the final report, and ask how many collections and settings each round covers.
Can our in-house team evaluate quantization without a partner?
Yes, if the team has someone comfortable with vector search, a way to run Qdrant outside production, and time to read recall numbers critically. The method is not hard to follow: build an exact search baseline, run approximate search with each candidate quantization setting, and compare recall at k and latency. The harder parts are labeling queries that reflect real user intent and deciding which recall level is acceptable for your application. A partner is most useful when the team lacks that labeling experience, needs an independent review for a security or governance file, or wants the evaluation completed alongside the deployment work.
What does our team need to provide for the evaluation?
Three inputs drive the quality of the result. First, a labeled query set that reflects the questions users actually ask, including filtered queries if your application uses payload filters. Second, an exact baseline, meaning results from a full search without approximation on the same vectors, which the recall comparison depends on. Third, representative vectors: the same embedding model, dimensions, and datatype you will run in production, drawn from a realistic spread of your data rather than a small sample. Also provide the target search latency, the hardware you plan to use, and the Qdrant version you will deploy, since the supported quantization behavior is tied to the release in use.
How should we choose between scalar and binary quantization?
Choose by the compression you need and the recall you can accept. Scalar quantization is the usual first candidate for a moderate reduction in memory, and it tends to keep recall close to the unquantized result with less tuning. Binary quantization compresses far more aggressively, but it depends more on the embedding model and on the vectors' distribution, so it usually needs rescoring and oversampling to recover recall. Test both against the same labeled query set and compare recall at k, latency and memory use. Confirm in the Qdrant documentation which methods your version supports and which settings apply to your datatype before you commit.
Does quantization reduce what we pay to host Qdrant?
It can, because quantized vectors need less RAM, which may let you run a collection on smaller nodes or fewer of them. The saving depends on how much of your total memory is vectors versus HNSW graphs, payloads and payload indexes, and on whether you keep replicas, since each replica holds its own copy. Quantization does not remove the other memory costs, so measure the full footprint before and after. Also account for the engineering time spent on evaluation and any extra CPU used for rescoring. Ask your infrastructure team to price the node sizes that fit the reduced footprint, and confirm the final figures in your own environment.
What recurring work follows a quantization decision?
The decision is not final once it is deployed. Re-run the recall check whenever the embedding model changes, when you add a large volume of new data with a different distribution, or when you change collection settings. Keep the labeled query set and exact baseline under version control so the comparison can be repeated. Check each Qdrant upgrade's release notes for changes to quantization behavior, and test on a staging copy before rolling the change to production. For self-hosted clusters, this work is ongoing, so plan who owns it after the initial evaluation ends.
What does DeployOpen do for quantization evaluation?
DeployOpen can plan and run the evaluation as part of a fixed-scope engagement, covering the candidate methods, the labeled query set, the exact baseline, the recall and latency results, and a written recommendation with the settings to deploy. The scope, deliverables and timeline are agreed in writing before work starts, and the quote follows from that scope. The work runs inside your own infrastructure. DeployOpen does not issue audit reports or certifications, so any evidence for a compliance review would be prepared for your independent assessor to review.
What changes after quantization goes live
Quantization is not a one-time setting. Once it is live, the team owns a set of recurring checks, and the most important one is re-running the recall measurement whenever the inputs change. That means new data, a new embedding model, a change to m, ef_construct or search ef, or a change to the quantization settings themselves. Keep the exact-search baseline and the labeled query set from the launch test, and run the same comparison again before the change reaches production. A model swap in particular can move the score distribution enough that a compression level which passed last quarter now loses relevant results. Confirm with your own query set rather than assuming the earlier result still holds.
Memory use also changes after go-live, because ingestion keeps adding vectors and the quantized copies grow with the collection. Watch resident memory and disk per node against the sizing you approved, and track how fast the collection grows, not only its current size. Quantized vectors can be held in RAM while original vectors stay on disk, so a growing collection can shift pressure onto storage or cause latency to rise without any change to the configuration. Set alert thresholds with headroom, and review them whenever the vector count or payload volume moves. Ask your Qdrant support contact or the Qdrant installation documentation which storage and memory behavior applies to your version before you tune anything.
Plan every Qdrant upgrade as a re-test event. A new minor release can change defaults, optimizer behavior and how quantized data is handled, so the recall check, latency test and memory baseline should run against the target version before the rollout starts. DeployOpen can support this work through retainer-based monitoring, sizing reviews and re-testing after model or index changes, scoped in writing with your team. Your team still owns the decisions, the thresholds and the sign-off on each change.
Handing the chosen method to sizing
This sequence turns a quantization decision into a set of recorded numbers that the RAM and disk sizing estimate can use directly. The team finishes with one handoff sheet that names the method, the compression behavior, the recall result and the settings the capacity plan depends on.
Record the chosen method and target
The engineer who ran the quantization comparison writes down the method selected (scalar, binary, TurboQuant or product), the compression band it was chosen for, and the collection and vector fields it applies to. Include the embedding model, vector count and dimensions used in the test, because sizing cannot be repeated without them. The step is complete when another engineer can name the method and the collections it covers from the sheet alone.
Record the measured compression ratio
Take the compression ratio from the test collection, comparing the quantized vector footprint with the original full-precision footprint at the same dimensions and datatype. Use the measured figure from your own data, not the rough band from the method comparison, because overhead from metadata and index structures changes the real result. The step is complete when the sheet shows the measured ratio beside the target band, with any gap explained.
Record rescoring and oversampling settings
Write down whether rescoring is enabled, and the oversampling factor used for the candidate pool before rescoring. These settings decide how many candidates are read at full precision during search, so they change both latency and the memory or disk that must hold the original vectors. The platform team needs this value to decide where original vectors live. The step is complete when the sheet lists each collection's rescore flag and oversampling value.
Attach the recall result to the method
Copy the recall figure from the labeled query check, along with the query set size, the k value and the HNSW settings used during the run. A compression choice is only valid for the recall it was measured at, so the sheet should state that number as a fact about this data and this configuration. The step is complete when each recorded method has a recall value tied to a named query set and search settings.
Decide where each vector tier sits
Using the memory tiers guidance, decide which parts stay in RAM and which can sit on disk: quantized vectors, original vectors used for rescoring, HNSW structures and payload indexes. Write the placement next to each item on the sheet. The sizing estimate reads these placements as separate line items, so a vague note such as 'in memory' will produce an unreliable plan. The step is complete when every component in the collection has a stated tier.
Apply replication and shard counts
Multiply the compressed footprint by the planned replication factor, since each extra copy of a shard stores its data again. Qdrant's distributed deployment documentation recommends at least three nodes for production so quorum survives a node failure, and recommends a shard count that is a multiple of the node count. Record the node count, shard count and replication factor on the sheet. The step is complete when the sizing inputs show total stored data per node, not only the single-copy total.
Add headroom for growth and optimization
Add a headroom allowance to the replicated footprint for segment growth, index building and the temporary memory used during optimization and uploads. The amount is set by your own tests and by the headroom rules in the RAM and disk sizing topic, not by a fixed rule in this sequence. Ask the team to state the headroom they chose and why. The step is complete when the sheet shows the headroom percentage or absolute figure used and the test or rule behind it.
Hand the sheet to the sizing estimate
Send the completed sheet to whoever owns the capacity estimate, and review it together to confirm each number traces to a measurement or a stated rule. The sizing topic covers the calculation itself, including worked examples. Flag any value that came from a small test set so the estimate can be rechecked at full data volume. The step is complete when the estimate is built from the sheet, and the team has signed off on the recall and headroom figures that the plan relies on.
How DeployOpen works on this
DeployOpen plans and delivers quantization work for self-hosted Qdrant inside your own infrastructure. The work starts with the compression target, recall requirement and data sensitivity, then moves through a written scope, a tested build, documented handover and optional ongoing support.
How we scope
- Record the vector count, dimensions, datatype and recall target before choosing a quantization method.
- Agree in writing which collections, compression targets and rescoring settings the engagement covers.
- Confirm the Qdrant version and deployment path (Docker, Kubernetes, Hybrid or Private Cloud) before work begins.
How we build
- Apply the chosen scalar, binary, TurboQuant or product setting to a staging copy of the collection first.
- Test rescoring and oversampling values against an exact search baseline to confirm recall holds.
- Compare memory use and latency before and after quantization, and record the results in the scope deliverables.
How we hand over
- Deliver the final quantization configuration, the reasoning behind each choice and the settings used at query time.
- Document the re-quantization or re-indexing steps needed when data, dimensions or the embedding model change.
- Walk your platform and search teams through the recall check and the conditions that should trigger a rerun.
How we support
- Ongoing support, upgrades and continuous testing are available as a retainer after handover.
- A retainer can cover recall re-checks after Qdrant upgrades and changes in collection size or query patterns.
- Ask for a quote built from the written scope, since DeployOpen does not publish a price list.

