How to Install Chroma Vector Database for RAG Apps (2026)

Quick answer

To install Chroma for a persistent RAG app, run pip install chromadb, then create the database with chromadb.PersistentClient(path="./chroma_db"). Add documents with unique IDs and metadata, then query the collection with text or embeddings. Chroma is free under the Apache-2.0 licence, including commercial use. For several apps or a shared service, run the official Docker server with docker run -v ./chroma-data:/data -p 8000:8000 chromadb/chroma and connect with HttpClient. Self-hosted Chroma has a $0 licence fee, compared with Pinecone Standard's $50-a-month minimum, or $600 a year, before usage above that minimum.

The fastest way to build a RAG prototype is often to skip the separate database server. Install one Python package, point it at a folder, add documents, and start asking questions. Chroma is built for that moment, but the same choice can become a trap if the prototype quietly turns into production.

This guide shows how to install Chroma as a persistent local database, when to move it into client-server mode with Docker, how to secure the server, and how to back it up before real customer data depends on it. It also prices the honest alternatives, because Chroma Cloud can be surprisingly cheap at small scale.

Quick Answer

To install Chroma for a persistent RAG app, run pip install chromadb, then create the database with chromadb.PersistentClient(path="./chroma_db"). Add documents with unique IDs and metadata, then query the collection with text or embeddings. Chroma is free under the Apache-2.0 licence, including commercial use. For several apps or a shared service, run the official Docker server with docker run -v ./chroma-data:/data -p 8000:8000 chromadb/chroma and connect with HttpClient. Self-hosted Chroma has a $0 licence fee, compared with Pinecone Standard’s $50-a-month minimum, or $600 a year, before usage above that minimum.

In this article

  • How we checked this guide
  • What Chroma replaces, and what it does not
  • How Chroma collections and embeddings work
  • PersistentClient, Docker, or Cloud
  • Requirements before you install Chroma
  • Step 1: install Chroma with Python
  • Step 2: create your first collection and add documents
  • Step 3: query with metadata filters
  • Step 4: move to client-server mode when the app grows
  • First-run security steps you must not skip
  • Make Chroma useful for real work
  • Backup and update routine
  • Common errors and fixes
  • Tips and tricks that save money
  • The real cost maths
  • When not to self-host Chroma
  • Pros and cons
  • Our verdict
  • FAQ
  • Strategic Pivot
  • Sources

How we checked this guide

We checked the licence and core API in the official Chroma GitHub repository. We checked installation, collections, document ingestion, and queries in the official Getting Started guide. We checked persistent storage, in-memory mode, HTTP clients, and Cloud clients in the official Chroma Clients documentation.

We checked Docker, authentication changes, memory sizing, and prices on the official Chroma and Pinecone pages on December 2, 2026.

What Chroma replaces, and what it does not

Chroma replaces the managed vector database subscription at the retrieval layer. Your application stores documents, embeddings, and metadata in collections. When a user asks a question, Chroma returns the records whose embeddings are closest to the query, optionally narrowed by metadata or document filters. A language model can then use those passages to write an answer.

Chroma official GitHub repository showing Apache 2.0 licence and search infrastructure for AI

Chroma does not replace the language model. It retrieves records; it does not decide whether the retrieved record proves the final answer. If your chunks are poor, your metadata is wrong, or your embedding model misunderstands the domain, Chroma can return the wrong evidence with impressive speed.

Chroma also does not remove the embedding decision. It can embed documents automatically with its default embedding function, or it can store embeddings your application supplies. That choice affects retrieval quality, storage size, latency, privacy, and cost.

Chroma uses Apache License 2.0. Commercial use, modification, and distribution are permitted with the required notices; hosting and model costs still apply.

Best for: a small-business owner, freelancer, or technical operator building a Python RAG app who wants the first version running today without a separate database bill. Skip if: you need a distributed managed database, contractual uptime, or built-in server authentication from day one.

Chroma sits below finished document-chat products. Our guide to install AnythingLLM to chat with business documents covers a ready-made workspace with document chat built in. Choose AnythingLLM when you want the finished application. Choose Chroma when you are building your own application and need the retrieval database underneath it.

Our guide to install Qdrant vector database with Docker covers a heavier server-first alternative with payload filtering and snapshots. Chroma’s advantage is the embedded starting point: the database can live inside the Python process before it becomes a service.

How Chroma collections and embeddings work

A collection is the unit you create, add records to, query, and delete. Each record needs a unique string ID. A record can carry a document, an embedding, metadata, or a combination supported by the API. Collections index the embeddings and documents so retrieval and filtering stay efficient.

When you add documents without supplying embeddings, Chroma uses the collection’s embedding function. The default Python embedding function uses the Sentence Transformers all-MiniLM-L6-v2 model. It runs locally and may download model files automatically on first use. That makes the first test easy, but it also means a supposedly offline first run may still need internet access for the model download.

You can supply your own embeddings instead. That is the right route when your application already uses a chosen embedding provider, a local model server, or a domain-specific model. If you supply embeddings, Chroma stores them as provided rather than embedding the documents again. Keep the document text when your application needs to show or pass the retrieved passage to a model.

One rule cannot be negotiated: query embeddings must match the dimension of the embeddings already in the collection. If they do not, Chroma raises an exception. Changing embedding models therefore means creating a new collection and re-embedding the source documents. Do not point a new model at an old collection and hope the neighbours still mean the same thing.

Metadata filtering turns similarity search into business search. A query can ask for the closest support articles while limiting results to status = current, one product, or one customer. Document filters can require or exclude text patterns. Used well, filters prevent an old policy, another tenant’s document, or an out-of-stock product from winning merely because its wording is similar.

PersistentClient, Docker, or Cloud

Chroma gives you three practical starting shapes. The right one depends less on the number of documents than on who connects to the database and who owns the machine.

RouteLicence or base priceBest forMain limit
PersistentClient$0 under Apache-2.0One Python app, local tools, pilotsThe database lives with one application process and one data path
Docker or CLI server$0 under Apache-2.0Several apps, TypeScript clients, a small internal serviceYou own network security, backups, updates, and uptime
Chroma Cloud Starter$0/month plus usageManaged production without server careUsage charges and cloud data residency
Pinecone Standard$50/month minimumManaged production with Pinecone’s feature set$600/year minimum before usage above it

PersistentClient is the lean route. Chroma saves and loads database files from a local path automatically. There is no separate server to patch and no network port to expose. For a single Python service, that simplicity is a security feature as well as a convenience.

Best for PersistentClient: one application that owns its data directory. Skip it when several processes, several servers, or a TypeScript front end must share the same database. A folder passed between competing processes is not an architecture.

Client-server mode separates the database process from the application. Start Chroma with the CLI or Docker, then connect from Python with HttpClient or from TypeScript with ChromaClient. This is the route when a web app, worker, and admin script all need the same collections.

Best for the Docker server: a small team that wants one shared internal service and can operate it. Skip it if nobody will own firewall rules, TLS, backups, and upgrades. Chroma no longer provides built-in authentication implementations, so the network design matters from the first deployment.

Chroma Cloud is the managed route. It uses the same broad API direction, runs a distributed system, and bills by writes, reads, storage, and returned data. Starter has a $0 monthly base plus usage and includes $5 in free credits for new users. Team adds a $250 monthly platform fee plus usage.

Best for Chroma Cloud: production that needs managed scale before private-server control. Skip it when documents must stay inside your infrastructure.

Requirements before you install Chroma

For the Python route, use a virtual environment and install the chromadb package. The official guide also shows Poetry and uv alternatives, but pip is enough for the first test. Keep the project environment reproducible so the next machine installs the same package version.

Plan RAM before you plan features. Chroma’s single-node performance guide says the HNSW embedding index must reside in system RAM for query and update work. Deploying on a system with less than 2GB of RAM is not recommended. Reserve at least another gigabyte for the operating system and the rest of the application.

For 1024-dimension embeddings, small documents, and three metadata fields, Chroma’s tests found roughly 0.245 million embeddings per gigabyte of RAM. Treat that as a starting estimate, not a promise.

Plan disk as well. Chroma persists the HNSW index and SQLite data; the official rule of thumb is storage at least as large as RAM plus several gigabytes.

Decide where embeddings come from. The default model runs locally and may download files on first use. A hosted embedding provider adds API cost and sends text or queries to that provider. A local model server keeps text local but adds another service to run. Our guide to install Ollama on Ubuntu covers a local model runner that can sit beside a private retrieval stack.

Finally, name the owner for the data path, backups, embedding model, and updates. Chroma is easy to start, which makes it easy to leave unowned.

Step 1: install Chroma with Python

Create and activate a virtual environment for your project, then install Chroma:

Chroma official Getting Started guide showing Python install and collection steps

pip install chromadb

Create a persistent client in your Python code:

import chromadb

client = chromadb.PersistentClient(path="./chroma_db")

The path is where Chroma stores database files on disk and loads them on start. If you omit the path, the default is .chroma. For a real project, pass an explicit path so backups, deployment scripts, and future operators can find the data without guessing.

Run a heartbeat check during setup:

client.heartbeat()

The heartbeat confirms the client is connected. It does not prove embedding quality, so use it as the first setup gate.

Do not use the in-memory client for data you expect to keep. chromadb.Client() starts an in-memory server, and ingested data is lost when the program terminates. It is useful for experiments and notebooks. PersistentClient is the route for a RAG app that must survive restarts.

Test persistence immediately. Add one record, stop the Python process, start it again with the same path, and query the collection. A database that only works inside one process has not yet proved the part your users will depend on.

Step 2: create your first collection and add documents

Create or reopen the collection:

collection = client.get_or_create_collection(name="support_docs")

Using get_or_create_collection avoids failing on every restart because the collection already exists. Choose a name that describes the data and, for production, the embedding model or version. A name such as support_docs_minilm_v1 makes a future model migration visible instead of mysterious.

Add documents with stable IDs and useful metadata:

collection.add(ids=["returns-001", "shipping-001"], documents=["Customers can return unused items within 30 days.", "Orders leave the warehouse within two business days."], metadatas=[{"category": "returns", "status": "current"}, {"category": "shipping", "status": "current"}])

Every record needs a unique string ID. Use IDs derived from your source system, such as a document ID plus chunk number. Random IDs make updates, deletes, and audit trails harder. When a source document changes, your ingestion job should know exactly which Chroma records to replace.

When only documents are supplied, Chroma generates embeddings with the collection’s embedding function. When embeddings are supplied, Chroma stores them without re-embedding, so they must match the collection model and dimension.

Use upsert for repeatable ingestion jobs. The official getting-started flow switches from add to upsert to avoid adding the same documents every time the script runs. A nightly job should be safe to rerun after a failure without creating duplicate evidence.

Chunk documents before ingestion into passages that answer one question well. Keep title, source, and page or section references in metadata for citations.

Step 3: query with metadata filters

Run a basic semantic query:

results = collection.query(query_texts=["How long do customers have to return an item?"], n_results=2)

Chroma embeds the query text with the collection’s embedding function and returns the most similar results. If n_results is omitted, Chroma returns 10 results by default. For a support answer, returning fewer, better records is usually safer than flooding the model with weak evidence.

Inspect the returned documents, IDs, metadata, and distances. Ask whether a person would accept the top record as relevant. If the wrong passage wins, inspect chunking and metadata before tuning the database. Chroma returns neighbours on the map your embedding model drew.

Add a metadata filter for the business rule:

results = collection.query(query_texts=["How long do customers have to return an item?"], n_results=3, where={"status": "current"})

The where argument filters records by metadata. A direct value such as {"status": "current"} is equivalent to an equality filter. Operators support comparisons, inclusion lists, and logical combinations with $and and $or.

Use filters for facts that similarity should never override. Current versus archived policy, one tenant versus another, one language versus another, and in-stock versus discontinued products belong in metadata. Semantic closeness is not permission, freshness, or availability.

Combine metadata filters with document filters when exact wording matters. The where_document argument can require text with $contains, exclude text with $not_contains, or match patterns with $regex. Full-text search is case-sensitive, so test the exact forms your users and documents use.

Keep test questions with expected source IDs. After every ingestion change, embedding change, or Chroma upgrade, run the same questions and compare the returned IDs. A small regression set catches silent retrieval damage before customers do.

Step 4: move to client-server mode when the app grows

Move to client-server mode when more than one process needs the same collections. The server owns the data path, and clients connect over HTTP. That separation is cleaner than several applications opening the same local folder.

Chroma official Docker guide showing Run Chroma in a Docker Container and HttpClient

Start a local server with the Chroma CLI:

chroma run --path ./chroma_db

The CLI server persists data in the path you provide. Its default host is localhost, and its default port is 8000. That default is suitable for local development because the server is not meant to be reached by the public internet.

Connect from Python:

client = chromadb.HttpClient(host="localhost", port=8000)

Call client.heartbeat() first. If it fails, fix the server, host, or port before debugging collections.

For Docker, run the official image with a persistent volume:

docker run -v ./chroma-data:/data -p 8000:8000 chromadb/chroma

The volume stores data in ./chroma-data on the host. Without a volume, data lives inside the container’s writable layer and can disappear when the container is removed. The official Docker guide mounts the host folder to /data, which is the current container data location.

Pin the tested Docker image version for production and back up before upgrades.

For a deployed server, Chroma’s thin Python client reduces install size, but it has no default embedding functions. Your application must supply embeddings or configure one.

Migrate deliberately: back up the local directory, start the server against a copy or fresh path, verify counts and test queries, then switch the application to HttpClient.

First-run security steps you must not skip

Start from the correct assumption: a self-hosted Chroma server needs your network controls. Chroma’s v1 migration notes say Chroma no longer provides built-in authentication implementations. A basic public deployment without an authenticating layer can let anyone who reaches the server add and query embeddings.

Keep PersistentClient inside the application boundary. It does not need a public port. Protect the host account, the data directory, and backups with operating-system permissions. Anyone who can read the database files can read the stored documents and metadata.

Bind a local server to localhost. The CLI defaults to localhost, which suits development and same-machine applications. For Docker on a workstation, prefer a localhost port binding such as -p 127.0.0.1:8000:8000 when only local processes need access. The official example maps port 8000; your binding decides who can reach it.

Put production access behind a private network or an authenticating proxy. Allow only application servers to reach port 8000. Use TLS when traffic crosses a network you do not fully control. Chroma’s deployment guidance points operators toward native cloud controls, an API gateway, or an authenticating proxy for exposed deployments.

Never enable reset in production. Chroma’s Docker configuration example shows allow_reset: true, and the client reset() method empties and completely resets the database. That is useful in a disposable test and destructive everywhere else. Keep reset disabled outside throwaway environments.

Keep provider keys in environment variables or a secret manager, never in code or metadata. Rotate them when people leave.

Treat stored documents as sensitive data. Encrypt disks and backups, limit downloads, and delete records when source data must be deleted.

Make Chroma useful for real work

Design metadata before bulk ingestion. Store source, title, category, status, date, language, tenant, and product identifiers when those fields will drive filters or citations. Metadata added after ingestion requires an update pass. Metadata designed first makes the first query useful.

Use stable chunk IDs. A pattern such as policy-returns-2026-chunk-03 lets an update job replace one passage without guessing. Stable IDs also make test results readable: the expected record either appears or it does not.

Keep chunk size tied to the question. Small chunks are precise but may lose context; large chunks preserve context but blur topics. Test both against known questions.

Backup and update routine

Back up the whole Chroma data directory. For PersistentClient, that is the path passed to PersistentClient. For the CLI server, it is the --path directory. For Docker, it is the host folder or volume mounted to /data. A backup that captures only application code does not protect the database.

Stop writes before copying files. The safest simple routine is to stop the application or server, copy the complete data directory to backup storage, restart Chroma, and run the heartbeat plus test queries. Copying a live database folder without a filesystem snapshot can capture files at different moments.

Keep backups off the database host, limit restore access, and encrypt backups containing customer or internal records.

Test restore into a throwaway path. Point a temporary PersistentClient or server at the copied directory, check collection counts, and run the saved test questions. An untested backup is a hope. A tested restore is a routine.

Update in a controlled order. Read the migration notes and changelog, back up the data directory, upgrade the Python package or Docker image in a test environment, run heartbeat and retrieval tests, then upgrade production. Chroma has changed storage and authentication behaviour across major versions, so release notes are part of the update.

Use chroma update to check for newer versions. Upgrade Python inside the project environment; for Docker, pull the tested image and recreate the container against the same /data volume.

Common errors and fixes

Collections disappear after the script ends. The code probably used chromadb.Client() or another in-memory setup. Switch to PersistentClient(path="./chroma_db") and rerun the ingestion job. In-memory data is lost when the program terminates.

The application cannot find yesterday’s data. The path changed. Use one explicit path in every environment and confirm the deployment working directory.

Docker data vanishes after recreating the container. The container started without a persistent volume, or the volume points to the wrong container path. Use the official shape, -v ./chroma-data:/data, and confirm the host folder contains database files after ingestion.

The HTTP client cannot connect. Confirm the server is running, the host and port match, and client.heartbeat() succeeds. For Docker, check that port 8000 is mapped and that a firewall or localhost binding is not blocking the intended client. Fix connectivity before changing collection code.

Embedding dimension mismatch errors appear. The query or new documents use a different embedding dimension from the collection. Chroma raises an exception when supplied embeddings do not match the collection dimensionality. Create a new collection for the new model, re-embed the source documents, and switch the application only after test queries pass.

Results are relevant but wrong for the business. Inspect metadata, standardise values, and filter by current status, tenant, language, or product. Similarity is not permission or freshness.

The first query tries to download a model. The default embedding function may download all-MiniLM-L6-v2 automatically. Pre-download it in deployment or supply your own embeddings.

Installation fails while building native components. Check Chroma’s troubleshooting guide for hnswlib and SQLite issues. Use a clean virtual environment and a current Python first.

The server slows down or becomes unresponsive as data grows. The HNSW index needs RAM. If the collection outgrows memory, latency can spike as the operating system swaps. Add RAM, reduce embedding dimensions where quality allows, split collections by workload, or move to Chroma Cloud or another distributed database.

Tips and tricks that save money

Start embedded. PersistentClient removes a server, a port, and a hosting line from the first version. Move to client-server mode when a second process needs access, not because a diagram looks more professional.

Use the default embedding model for the first quality test. It runs locally and removes an API bill while you learn whether the documents and chunks are sound. Replace it only when test questions show a quality problem worth paying to solve.

Avoid re-embedding unchanged text. Store a source hash with each chunk, compare it during ingestion, and upsert only changed records. This saves embedding API charges and reduces write load on Chroma Cloud.

Use Chroma Cloud’s $5 new-user credit as a measuring tool. Load a representative collection, run real queries, and read the usage. A measured week beats a guessed year when deciding whether self-hosting saves money.

The real cost maths

Self-hosted Chroma charges no licence fee. Apache-2.0 allows commercial use at $0 in licence cost. The real costs are hosting, embedding generation, backups, monitoring, and the owner’s time. On hardware you already own, the licence and incremental hosting lines can both be $0.

Chroma official pricing page showing Starter usage rates

Chroma Cloud Starter is $0 a month plus usage, with $5 in free credits for new users. Writes cost $2.50 per logical GiB. Storage costs $0.33 per GiB per month. Reads cost $0.0075 per TiB queried plus $0.09 per GiB returned. Team costs $250 a month plus usage and includes $100 of usage credit that does not roll over.

Pinecone Builder is $20/month flat ($240/year). Standard is $50/month minimum ($600/year), with usage above the minimum billed pay-as-you-go.

Run a small-business scenario. A support knowledge base holds 2 GiB of logical Chroma data. The first write costs 2 × $2.50 = $5.00 on Chroma Cloud, before any free credit. Storage then costs 2 × $0.33 = $0.66 a month.

Add 20,000 simple vector queries a month against that 2 GiB collection. Two GiB is about 0.001953 TiB, so query scanning costs 20,000 × 0.001953 × $0.0075 = about $0.29. If responses return 0.2 GiB in total, network return costs 0.2 × $0.09 = $0.018. The steady Chroma Cloud usage is therefore about $0.97 a month after the initial write, before extra predicates, full-text units, forks, or Sync.

That result matters. Self-hosting does not automatically beat Chroma Cloud on cash for a small collection. If a server costs $15 a month, Chroma Cloud’s roughly $0.97 usage month is cheaper before admin time. Self-hosting wins when the machine already exists, data must stay local, usage grows enough to change the maths, or control matters more than the small managed bill.

Against Pinecone Standard, the comparison changes. A business that would otherwise pay the $600 yearly minimum can avoid that minimum by self-hosting Chroma on existing hardware. The saving is real only after subtracting hosting, electricity, backup storage, and the hours spent patching and monitoring the service.

Add embedding costs to every option. Local models cost compute and management; hosted APIs bill separately. A cheaper database with poor embeddings can cost more in wrong answers.

Price growth before committing: more documents raise RAM and storage, more queries raise CPU or cloud reads, and more tenants raise security work.

When not to self-host Chroma

Do not self-host Chroma when nobody owns the data directory. Backups, updates, disk monitoring, and embedding migrations need a named person. An unowned local folder becomes the production database by accident.

Do not expose a Chroma server because the Docker command worked. Current Chroma does not provide built-in authentication implementations. Keep the server private, or place it behind an authenticating proxy with TLS and strict network rules.

Do not self-host when the workload has outgrown one node. Chroma’s single-node guide is clear that memory defines an upper bound and that the system will not scale forever. Customer-facing traffic, high availability, and multi-region needs point toward Chroma Cloud or another distributed database.

Do not build a vector database for a tiny static FAQ. Ordinary site search or a finished support tool may do the job without another service.

Do not choose self-hosting only to avoid a small cloud bill. In the worked scenario, Chroma Cloud usage was about $0.97 a month after the initial write. If operating a server takes even one hour a month, the managed option may be cheaper in total cost.

Pros and cons

Pros:

  • Free under Apache-2.0, including commercial use, with no licence fee.
  • PersistentClient starts inside a Python app without a separate server.
  • Collections store documents, embeddings, and metadata for RAG retrieval.
  • Metadata and document filters support business rules during search.
  • The default embedding function runs locally with all-MiniLM-L6-v2.
  • Client-server mode and Docker support shared applications.
  • Chroma Cloud offers a managed path with published usage pricing.

Cons:

  • Single-node self-hosting is limited by RAM, disk, and one machine’s uptime.
  • Current Chroma does not provide built-in server authentication implementations.
  • Backups, updates, monitoring, and restore tests are your job.
  • Changing embedding models requires a new collection and re-embedding.
  • Retrieval quality depends on chunking, metadata, and the embedding model.
  • The default embedding model may download files on first use.
  • A small Chroma Cloud workload can cost less than operating a server.

Our verdict

Install Chroma if you are building a RAG app and want the shortest path from documents to useful retrieval. Start with PersistentClient, one judged document set, stable IDs, and metadata filters. Prove persistence with a restart and prove quality with saved test questions.

Move to a private Docker server only when another process needs the same collections. Skip self-hosted Chroma if you need distributed scale, managed uptime, or authentication handled for you.

FAQ

Is Chroma free for business use?

Yes. Chroma is licensed under Apache License 2.0, which permits commercial use, modification, and distribution. Keep the required copyright and licence notices. Hosting, embedding generation, model usage, and support still bill separately.

How do I install Chroma for a RAG app?

Run pip install chromadb, then use chromadb.PersistentClient(path="./chroma_db") so data survives restarts. Create a collection with get_or_create_collection, add documents with unique IDs and metadata, and query with collection.query. Test persistence by restarting the process and querying again.

Should I use PersistentClient or a Chroma server?

Use PersistentClient for one Python application that owns its data path. Use client-server mode when several processes, servers, or TypeScript clients need the same collections. The server route adds network security, backup, and update responsibilities.

Is a self-hosted Chroma server secure by default?

Chroma no longer provides built-in authentication implementations. Keep the server private or behind an authenticating proxy with TLS.

How do I back up Chroma?

Stop writes, copy the complete Chroma data directory to separate storage, restart, and test a restore into a throwaway path. For Docker, back up the host folder or volume mounted to /data. Run saved test queries after every restore test.

Strategic Pivot

Chroma removes the licence fee, not embedding, hosting, backup, or admin costs. Price the full year with our free AI Cost Calculator before committing.

Sources

  • Official Chroma GitHub repository: licence, API, and install routes.
  • Official Chroma Getting Started and Clients docs: installation, collections, queries, PersistentClient, and HTTP clients.
  • Official Chroma Docker guide: chromadb/chroma, /data volume, and port 8000.
  • Official Chroma embedding and filtering docs: default all-MiniLM-L6-v2, metadata filters, and document filters.
  • Official Chroma migration and performance docs: authentication change, RAM guidance, HNSW limits, and batch guidance.
  • Official Chroma pricing: Starter $0/month plus usage, $5 new-user credits, Team $250/month plus usage, and usage rates.
  • Official Pinecone pricing: Builder $20/month flat and Standard $50/month minimum.

Price note — updated December 2, 2026: Prices in this post were checked on December 2, 2026. When you are reading this, the price may be lower or higher — always check the official pricing page before you buy.

Pros

  • Free under Apache-2.0, including commercial use, with no licence fee.
  • PersistentClient starts inside a Python app without a separate server.
  • Collections store documents, embeddings, and metadata for RAG retrieval.
  • Metadata and document filters support business rules during search.
  • The default embedding function runs locally with all-MiniLM-L6-v2.
  • Client-server mode and Docker support shared applications.
  • Chroma Cloud offers a managed path with published usage pricing.

Cons

  • Single-node self-hosting is limited by RAM, disk, and one machine's uptime.
  • Current Chroma does not provide built-in server authentication implementations.
  • Backups, updates, monitoring, and restore tests are your job.
  • Changing embedding models requires a new collection and re-embedding.
  • Retrieval quality depends on chunking, metadata, and the embedding model.
  • The default embedding model may download files on first use.
  • A small Chroma Cloud workload can cost less than operating a server.
Our verdict

Install Chroma if you are building a RAG app and want the shortest path from documents to useful retrieval. Start with PersistentClient, one judged document set, stable IDs, and metadata filters. Prove persistence with a restart and prove quality with saved test questions.

Leave a Comment