Chroma vs Qdrant: Which Vector Database Fits Your App?
Chroma vs Qdrant compared from their own docs: deployment modes, data model, filtering, hybrid search, HNSW and quantization, multitenancy and clients.
Chroma and Qdrant are both open-source vector databases under the Apache-2.0 licence. Both keep embeddings next to structured metadata and let you filter while you search. The real difference is the starting point. Chroma begins as a Python library you import, with embedding built in, and grows into a server or its managed cloud. Qdrant is a Rust server from day one, with more knobs for indexing, compression and tenant isolation. Everything below comes from each project’s documentation and GitHub repository, checked in November 2026. There are no benchmark numbers here; measure latency and recall on your own data.
At a glance
| Chroma | Qdrant | |
|---|---|---|
| Licence (GitHub) | Apache-2.0 | Apache-2.0 |
| Embedded / local | In-memory chromadb.Client() or on-disk PersistentClient (Python) | Qdrant Edge, an in-process library for Python and Rust |
| Client-server | chroma run or the chromadb/chroma Docker image | qdrant/qdrant Docker image: REST on port 6333, gRPC on 6334 |
| Managed | Chroma Cloud: shared clusters (AWS us-east-1 and GCP europe-west1) or a single-tenant deployment on request | Qdrant Cloud, plus Hybrid Cloud and Private Cloud |
| Unit of data | Record: ID, embedding, optional metadata, document | Point: ID, one or more named vectors, JSON payload |
| Built-in embedding | Yes, sentence-transformers by default | Bring your own vectors, FastEmbed, or Cloud Inference on Qdrant Cloud |
| Filtering | where on metadata, where_document for text and regex | must / should / must_not clauses with payload indexes |
| Sparse and hybrid | Search API with RRF over dense and sparse rankings (Chroma Cloud docs) | Sparse named vectors, BM25 text index, RRF or DBSF fusion |
| Dense index | HNSW on single node, SPANN on distributed and Cloud | HNSW, made filter-aware by payload indexes |
| Quantization | Not a setting in the collection configuration docs | Scalar, binary, product and TurboQuant |
| Multitenancy | Tenant > database > collection | Payload partitioning, per-tenant shards, or a tiered mix |
| Official clients | Python, JavaScript/TypeScript, Rust | Python, JS/TS, Rust, Go, .NET, Java |
Deployment modes
Chroma’s architecture page names three shapes: a local embedded library for prototypes, a single-node server for small and medium workloads, and a distributed deployment for large production use. In Python, chromadb.Client() runs everything in memory, so data disappears when the process exits. PersistentClient(path=...) writes to disk and reloads on start. For client-server mode you start chroma run --path /db_path and connect with HttpClient (an AsyncHttpClient exists too). The JavaScript and Rust clients always talk to a running server.
Chroma Cloud is the managed version of distributed Chroma and exposes the same API as the open-source project. Chroma says it is SOC 2 Type II certified. One honest caveat from Chroma itself: local and distributed Chroma currently use different storage layers, most engineering goes into the distributed side, and local Chroma may be missing some features for now.
Qdrant describes itself as a client-server system. The quickstart runs the Docker image, which serves a REST API, a web UI at /dashboard and a gRPC API. Out of the box there is no authentication or encryption, so read Qdrant’s security guide before exposing it. If you need something embedded, Qdrant Edge runs inside your process, stores data locally and can sync with a server. For managed hosting, Qdrant offers a fully managed cloud, a hybrid model where Qdrant manages clusters on your infrastructure, and a private option where you own everything.
Data model
In Chroma, a collection holds records. Each one has a unique string ID, an embedding, optional metadata and a document. When you add plain text, Chroma embeds it with the collection’s embedding function, which defaults to sentence-transformers. You can instead pass your own embeddings. Collections sit inside databases, and databases sit inside a tenant.
In Qdrant, a collection holds points. A point has an ID, a vector and a payload, which can be any JSON. All vectors in one collection share a size and a distance metric, but named vectors let a single point carry several, such as a dense and a sparse vector. Qdrant’s default is to store each dimension as a 32-bit float; you can switch to lower-precision datatypes like float16 or uint8.
Filtering
Chroma filters through two arguments on get and query. where matches metadata with operators such as $eq, $gt, $gte, $in, $nin, combined with $and and $or. Metadata can hold arrays of a single type, tested with $contains and $not_contains. where_document filters on the stored text itself, with substring and regex matching. Note that Chroma’s full-text matching is case-sensitive. For a deeper look at the pattern, see our guide to filtering vector search results with metadata.
Qdrant’s filters are boolean trees built from must (all conditions true), should (at least one) and must_not (none), and they nest freely. The condition types cover exact keyword matches, numeric ranges, geo-locations, full-text and more. Qdrant strongly advises creating a payload index for any field you filter on, ideally before loading data. That is because payload indexes add extra links to the HNSW graph, so a filter is applied during the graph walk rather than as a separate pre- or post-filtering step. Qdrant Cloud goes further and, by default, refuses filters on fields that are not indexed.
Hybrid and sparse search
Chroma’s Search API (introduced with Chroma Cloud) lets you run several Knn rankings, for example one on dense embeddings and one on a sparse embedding key, and merge them with Reciprocal Rank Fusion. RRF uses rank positions rather than raw scores, which suits rankings on different scales. You can weight each ranking and tune the smoothing constant k (default 60). Given the local-versus-distributed caveat above, confirm that the features you need are present in the deployment mode you plan to run.
Qdrant handles the same job through its Query API. Each retriever runs as a prefetch sub-query: a dense vector, a sparse vector from a model like SPLADE, or BM25 scoring on a text payload field with a full-text index. The main query then fuses them with rrf (with optional per-prefetch weights) or dbsf, which normalises each retriever’s score distribution before adding them. Sparse vectors always use dot product and need nothing beyond a unique name.
Indexing and quantization
On a single node, Chroma builds an HNSW index per collection. You can set space (l2 by default, or cosine or ip), ef_construction (default 100), ef_search (default 100) and max_neighbors (default 16), and some of these can be changed after creation. Distributed Chroma and Chroma Cloud use SPANN instead, which clusters vectors and searches only the most relevant clusters, tuned with search_nprobe and write_nprobe.
Qdrant uses HNSW for dense vectors, with m (default 16) and ef_construct (default 100) settable per collection or per named vector. Below a size threshold, its query planner falls back to a full scan. Vectors are always kept on disk, and you choose how much also stays in RAM. Quantization is optional: scalar quantization stores each component as an 8-bit integer for 4x compression, binary goes down to one or two bits per component, product quantization compresses further when memory is the main constraint, and TurboQuant is also offered. All of these trade some accuracy for memory and speed.
Multitenancy
Chroma’s hierarchy is tenant, database, collection. A tenant stands for a user, team or account, and access control, quotas and billing are all scoped to it. Databases act as namespaces for apps or environments.
Qdrant recommends one shared collection for most multi-user apps rather than a collection per tenant, which adds overhead. You tag each point with a tenant field, index it as a keyword with tenant optimisation so each tenant’s vectors sit together on disk, and filter on it in every query. Larger tenants can get their own shard through user-defined sharding, and the tiered mode mixes the two.
Minimal code for each
Chroma’s quickstart, run in memory:
import chromadb
chroma_client = chromadb.Client()
collection = chroma_client.get_or_create_collection(name="my_collection")
collection.upsert(
documents=[
"This is a document about pineapple",
"This is a document about oranges"
],
ids=["id1", "id2"]
)
results = collection.query(
query_texts=["This is a query document about florida"],
n_results=2
)
print(results)
Qdrant’s local quickstart, after docker run -p 6333:6333 -p 6334:6334 qdrant/qdrant:
from qdrant_client import QdrantClient
from qdrant_client.models import Distance, VectorParams, PointStruct, Filter, FieldCondition, MatchValue
client = QdrantClient(url="http://localhost:6333")
client.create_collection(
collection_name="test_collection",
vectors_config=VectorParams(size=4, distance=Distance.DOT),
)
client.upsert(
collection_name="test_collection",
wait=True,
points=[
PointStruct(id=1, vector=[0.05, 0.61, 0.76, 0.74], payload={"city": "Berlin"}),
PointStruct(id=2, vector=[0.19, 0.81, 0.75, 0.11], payload={"city": "London"}),
],
)
search_result = client.query_points(
collection_name="test_collection",
query=[0.2, 0.1, 0.9, 0.7],
query_filter=Filter(must=[FieldCondition(key="city", match=MatchValue(value="London"))]),
with_payload=True,
limit=3,
).points
The contrast is visible: Chroma takes raw text and embeds it for you, while Qdrant expects you to bring vectors and declare their size and metric up front.
How to choose
Pick Chroma when you want to start in a notebook or a Python app with no server, let the database handle embedding, and keep the API small. Its managed cloud is a straightforward next step, and the same client code works against it. Check whether the features you need (such as the Search API) are available in local mode before you build on them.
Pick Qdrant when filtering is central to your queries, when you need fine control over memory through quantization and on-disk storage, when many tenants share one deployment, or when your services are written in Go, Java or .NET. Plan for running a server, securing it, and generating embeddings yourself or through FastEmbed.
Both fit retrieval for agents and RAG. If your data also has rich relationships between entities, a vector store may not be enough on its own; see building knowledge graph apps with LLMs. To compare other options, look at Milvus, Pinecone and the wider LLM infrastructure category.
Written by AI Agents Directory
Editorial team
Facts in this guide are checked against official documentation and repositories, which are linked in the article.