Qdrant in open-source AI tools: the vector database behind AnythingLLM, Dify, Mem0 and Open WebUI in 2026
What Qdrant does
Qdrant stores points. Each point has an ID, one or more vectors, and a JSON payload with metadata such as document name, tenant, date or tags. A query sends a vector and gets back the closest points, optionally filtered by payload values. Qdrant builds an HNSW graph index so queries take milliseconds even across millions of points, and it applies filters during the graph search rather than afterwards, which keeps filtered queries both fast and complete.
It is written in Rust, which gives it predictable memory use and no garbage-collection pauses; see the Rust stack page for why that matters. Qdrant the company is based in Berlin and was founded in 2021.
Which directory projects use it
| Project | How it uses Qdrant |
|---|---|
| AnythingLLM | One of its supported vector databases, chosen in settings; LanceDB is the default |
| Dify | Supported vector store for knowledge bases, set by environment variable |
| Mem0 | Default vector store for the memory layer in many setups |
| Open WebUI | Supported vector database for document retrieval; Chroma is the default |
Qdrant also has integrations with LangChain, LlamaIndex, Haystack, the Vercel AI SDK and most agent frameworks, plus an official MCP server so assistants such as Claude can store and retrieve memories in a Qdrant collection.
Qdrant 1.19
| Feature | What it does |
|---|---|
| TurboQuant 4-bit storage | Stores vectors at 4 bits per dimension, cutting memory by about eight times versus 32-bit floats, with rescoring to recover accuracy |
| Unified memory tiers | Moves data between pinned memory, page cache and disk based on access, so hot data stays fast and cold data stays cheap |
| Per-tenant IDF | Computes sparse-vector statistics per tenant, so keyword-style relevance is correct when many customers share a collection |
| Prefix filtering | Filters payload strings by prefix, such as file paths or hierarchical IDs |
| Quotas | Limits resource use per collection or tenant |
The latest patch, 1.19.2, shipped on October 5, 2026. Upgrade within the same minor line by replacing the image; for minor-version jumps, Qdrant recommends upgrading one minor version at a time.
Quantization explained
Embeddings from modern models have 768 to 3,072 dimensions, each a 32-bit float. At scale, that is a lot of memory. Quantization stores compressed versions for searching and keeps originals on disk for a final rescoring step:
| Method | Memory versus float32 | Accuracy |
|---|---|---|
| None | 100% | Exact within the index |
| Scalar (int8) | About 25% | Very close to full precision |
| TurboQuant 4-bit | About 12.5% | Close, with rescoring |
| Binary | About 3% | Good for high-dimension models, with oversampling and rescoring |
For most RAG apps, scalar quantization is a safe default. Binary quantization works best with models designed for it, such as OpenAI's large embedding models and Cohere's embeddings.
Hybrid search
Dense vectors capture meaning but can miss exact words. Qdrant stores sparse vectors too, such as BM25 or SPLADE representations, in the same point, and its Query API runs several searches at once and fuses the results. It also supports multivector models such as ColBERT, which compare documents at the token level for higher accuracy, typically as a reranking stage. Hybrid retrieval consistently beats either method alone on mixed queries like "error E1234 when exporting PDF".
Multi-tenancy
Many AI products serve many customers from one vector database. Qdrant's recommended approach is one collection with a tenant ID in each payload and a tenant index, rather than one collection per customer. Qdrant then keeps each tenant's data together for fast filtered search. Version 1.19's per-tenant IDF and quotas make this approach work better for hybrid search and for preventing one large tenant from starving others.
Qdrant Cloud
| Option | Details |
|---|---|
| Free tier | 0.5 vCPU, 1 GB RAM, 4 GB disk; one cluster |
| Managed cloud | Clusters on AWS, Google Cloud or Azure, billed per hour by CPU, RAM and disk |
| Hybrid Cloud | Qdrant's managed control plane, your Kubernetes cluster |
| Private Cloud | Fully on your infrastructure, for regulated environments |
In April 2026 Qdrant Cloud added GPU-accelerated indexing, which speeds up building HNSW indexes for large collections, multi-availability-zone clusters for higher uptime, and audit logs for compliance.
Self-hosting Qdrant
A single container covers most self-hosted AI apps:
docker run -p 6333:6333 -p 6334:6334 \
-v $(pwd)/qdrant_storage:/qdrant/storage \
qdrant/qdrant
- Persist storage. Mount the storage directory to a volume.
- Set an API key. Use
QDRANT__SERVICE__API_KEY; without it, anyone who can reach the port can read and delete data. - Snapshots. Use Qdrant's snapshot API to back up collections, and copy snapshots off the server.
- Memory. Size RAM for your vector count and quantization; keep originals on disk with
on_disk: truefor large collections. - Distributed mode. For larger datasets, run several nodes with sharding and replication.
Port 6333 serves the REST API and a web dashboard; 6334 serves gRPC, which client libraries use for faster uploads.
Common problems
| Symptom | Likely cause | Fix |
|---|---|---|
| Out-of-memory crashes during upload | Vectors and index in RAM exceed the limit | Enable quantization and on_disk storage, or add memory |
| Filtered queries slow | No payload index on the filtered field | Create a payload index for tenant IDs and common filters |
| Poor retrieval quality | Embedding model mismatch or chunks too large | Use the same model for queries and documents; try smaller chunks and hybrid search |
| Connection refused from an app container | Wrong host name | Use the Compose service name, such as http://qdrant:6333, not localhost |
Qdrant compared with alternatives
| Option | Type | Strength |
|---|---|---|
| Qdrant | Dedicated, Rust | Filtering, quantization, hybrid search |
| PostgreSQL with pgvector | Extension | One database for everything |
| Chroma | Embedded or server | Simplest start for Python prototypes |
| LanceDB | Embedded | File-based, good for desktop apps |
| Milvus | Distributed | Very large scale, many index types |
| Weaviate | Dedicated, Go | Built-in vectorization modules |
| Pinecone | Managed only | No infrastructure to run |
Choosing an embedding model for Qdrant
The vector database stores whatever embeddings you give it, so retrieval quality depends heavily on the embedding model. Hosted options include OpenAI's text-embedding-3 models, Cohere Embed, Voyage and Google's Gemini embeddings. Local options include BGE, Nomic Embed, the Qwen3 embedding models and EmbeddingGemma, which run through Ollama, FastEmbed or Hugging Face's Text Embeddings Inference. Pick one model per collection and record its name, because vectors from different models are not comparable. Changing models later means re-embedding every document, so test retrieval quality on your own documents before indexing everything.
Related: PostgreSQL stack, Rust stack, Docker stack, Hugging Face stack, Cohere stack, Stack index.
Frequently asked questions
What is a vector database used for?
Finding items by meaning. Text, images or audio are converted into embeddings, lists of numbers that place similar content close together. The vector database stores those and returns the nearest ones to a query. AI apps use this to retrieve relevant document passages for a model to read, to recall past conversations, and to power semantic search.
Do I need Qdrant if I already use PostgreSQL?
Not always. PostgreSQL with pgvector handles a few million vectors well and keeps everything in one database. Qdrant is worth adding when you have tens of millions of vectors, need fast filtered search across many tenants, want aggressive quantization to save memory, or need hybrid dense and sparse search tuned for retrieval.
How much memory does Qdrant need?
Full-precision vectors take dimensions times 4 bytes each, so one million 1,536-dimension embeddings need about 6 GB plus index overhead. Scalar quantization cuts that by about four times, and binary or TurboQuant 4-bit storage further, with originals kept on disk for rescoring. Plan memory from your vector count and chosen quantization.
Is Qdrant free?
The self-hosted database is free and open source under Apache 2.0, with no feature limits. Qdrant Cloud has a free tier for small projects and paid managed clusters. Hybrid Cloud and Private Cloud options run Qdrant's management on your own infrastructure for a fee.
Which embedding models work with Qdrant?
Any. Qdrant stores vectors of whatever size you choose. Its FastEmbed library generates embeddings locally with ONNX models, and Qdrant Cloud offers built-in inference for some models, but you can also send vectors from OpenAI, Cohere, Voyage, Gemini or an Ollama embedding model.