Chroma Cloud goes read-only December 7: export and move to pgvector or Qdrant
Chroma Cloud stops accepting writes on December 7, 2026 and stops serving reads on December 22. Here are tested scripts to export your vectors and load them into pgvector or Qdrant, and how to tell whether you need to re-embed.
Short version: Chroma Cloud stops accepting writes on December 7, 2026 and stops serving reads on December 22, 2026. Export your records with their embeddings now. If you already run Postgres or have a modest collection, move to pgvector. If filtered search or index memory is your problem, move to Qdrant. If you like Chroma's API, run open-source Chroma yourself. You can keep your stored vectors in all three cases, as long as you can still embed new queries with the same model.
The dates come from Chroma's wind-down notice, checked November 22, 2026. Some guides give November 22 as the write cutoff. The notice says December 7.
I run Layerbase, which hosts both Postgres with pgvector and Qdrant, so I have a stake in where you land. The scripts below work against any host of either one.
Contents
- The two deadlines
- Do you need to re-embed?
- Where to move
- Export from Chroma Cloud
- Load into pgvector
- Load into Qdrant
- Stay on Chroma
- Cut over
- FAQ
The two deadlines
| Date | What happens | What to have done |
|---|---|---|
| December 7, 2026 | Creates, updates and deletes stop | Writes go to the new database |
| December 22, 2026 | Reads stop | Export verified, queries moved, old keys removed |
December 7 is the one that breaks a live app. If your ingestion job still points at Chroma Cloud that day, it starts failing. The 15 days after it are useful for a last export, but they are a bad time to start choosing a database.
Open-source Chroma is unaffected and stays under Apache 2.0.
Do you need to re-embed?
The documents you already embedded, no. The export includes the vectors.
The thing to know is that every future query has to be embedded by the same model, with the same settings, or the distances mean nothing. So find out who runs your model:
- OpenAI, Cohere, Voyage or another provider you call with your own key: keep calling it. Chroma's client may have been making that call for you, so your app now makes it directly.
- Chroma's default or another local model: it runs in your own process. Keep the same model and version.
- Chroma Cloud Qwen: it runs on Chroma's servers and needs a Chroma API key. The wind-down notice gives it no separate date, so I would not plan on it outliving Cloud. The weights for Qwen3-Embedding-0.6B are Apache 2.0, so you can host the model, but copy the task instructions too and compare its output with a few stored vectors. If they don't match, re-embed.
- Chroma Cloud Splade: the same problem for sparse vectors. The loaders below keep sparse vectors as metadata and do not build a sparse index.
The export saves each collection's configuration in manifest.json, which is where to look if nobody remembers which model was used.
Where to move
| pgvector | Qdrant | Self-hosted Chroma | |
|---|---|---|---|
| Good fit | You have Postgres, or want vectors next to app data | Heavy filtering, or you need quantization | You want to change the least code |
| Query changes | Rewrite as SQL | Rewrite for the Qdrant client | Mostly the client setup |
| Who runs it | You or a Postgres host | You or a Qdrant host | You |
| On Layerbase | Every plan, including Free | Pro, $15/mo | Not offered |
For most apps leaving Chroma I would start with pgvector. It is one database to back up, and a search can join to your users and permissions. pgvector vs Qdrant covers where that stops being true.
Size it before you pick a plan. In our test, 5,000 vectors of 1,536 dimensions took about 84 MB in Postgres with short documents and an HNSW index, so 100,000 is about 1.7 GB and longer documents add to that. In Qdrant, the same 100,000 need about 620 MB of RAM for the raw vectors alone, before the index.
On Layerbase, Free is $0 with no card and 5 GB of storage, and it sleeps when idle. Solo is $5/mo with 10 GB and a 768 MB always-on pool. Pro is $15/mo with 25 GB and a 1.5 GB pool, and it is the plan Qdrant needs. If a free managed Qdrant is what you are after, Qdrant Cloud has one with 1 GB of RAM.
Export from Chroma Cloud
python -m venv venv && source venv/bin/activate
pip install "chromadb==1.5.9" "psycopg[binary]==3.3.9" "qdrant-client==1.19.1"
export CHROMA_API_KEY="..."
export CHROMA_TENANT="..."
export CHROMA_DATABASE="..."Save this as export_chroma.py. It reads 300 records at a time, which is Chroma Cloud's per-request limit, and pages through collections, because list_collections returns only 100 by default.
import json
import os
from pathlib import Path
import chromadb
PAGE = 300 # Chroma Cloud's per-request result limit
def get_space(collection):
config = collection.configuration_json
for index in ("spann", "hnsw"):
space = (config.get(index) or {}).get("space")
if space:
return space
raise SystemExit(f"{collection.name}: no distance space found in {config}")
def to_json(value):
if hasattr(value, "to_dict"): # sparse vectors stored in metadata
return value.to_dict()
raise TypeError(f"cannot export {type(value).__name__}")
client = chromadb.CloudClient(
tenant=os.environ["CHROMA_TENANT"],
database=os.environ["CHROMA_DATABASE"],
api_key=os.environ["CHROMA_API_KEY"],
)
out = Path("chroma-export", os.environ["CHROMA_DATABASE"])
out.mkdir(parents=True, exist_ok=True)
collections = []
while page := client.list_collections(limit=100, offset=len(collections)):
collections.extend(page)
manifest = []
for number, col in enumerate(collections):
total, seen, dim = col.count(), set(), None
filename = f"{number:05d}.jsonl"
with open(out / filename, "w", encoding="utf-8") as f:
for offset in range(0, total, PAGE):
batch = col.get(
limit=PAGE,
offset=offset,
include=["embeddings", "documents", "metadatas", "uris"],
)
for i, record_id in enumerate(batch["ids"]):
vector = [float(x) for x in batch["embeddings"][i]]
dim = dim or len(vector)
seen.add(record_id)
row = {
"id": record_id,
"embedding": vector,
"document": batch["documents"][i],
"metadata": batch["metadatas"][i] or {},
"uri": batch["uris"][i],
}
f.write(json.dumps(row, default=to_json) + "\n")
if len(seen) != total or col.count() != total:
raise SystemExit(f"{col.name}: changed during export, pause writes and rerun")
manifest.append({
"name": col.name,
"file": filename,
"count": total,
"dimension": dim,
"space": get_space(col),
"metadata": col.metadata,
"configuration": col.configuration_json,
})
print(f"{col.name}: {total} records")
(out / "manifest.json").write_text(json.dumps(manifest, indent=2, default=to_json))python export_chroma.pyRun it once for each Chroma database. A count can't detect an update to an existing record, so pause writes for the export you cut over from. The output holds your documents in plain text. Keep it out of git.
Load into pgvector
Create a Postgres database and copy its direct connection string, since index builds don't belong behind a transaction pooler. On Layerbase, pgvector is available on PostgreSQL 18.7 and 19.0, and new databases start on 19.0.
Save this as load_pgvector.py. Each collection becomes a table in a chroma schema, with an HNSW index for the distance it used in Chroma.
import json
import os
import sys
from pathlib import Path
import psycopg
from psycopg import sql
OPS = {"l2": "l2_ops", "cosine": "cosine_ops", "ip": "ip_ops"}
src = Path(sys.argv[1])
with psycopg.connect(os.environ["DATABASE_URL"]) as db:
db.execute("CREATE EXTENSION IF NOT EXISTS vector")
db.execute("CREATE SCHEMA IF NOT EXISTS chroma")
for col in json.loads((src / "manifest.json").read_text()):
name, dim = col["name"], col["dimension"]
if not dim:
print(f"{name}: empty, skipped")
continue
if len(name.encode()) > 63:
raise SystemExit(f"{name}: too long for a Postgres table name")
# HNSW indexes vector up to 2,000 dimensions and halfvec up to 4,000
kind = "halfvec" if 2000 < dim <= 4000 else "vector"
table = sql.Identifier("chroma", name)
db.execute(sql.SQL(
"CREATE TABLE {} (id text PRIMARY KEY, document text, uri text, "
"metadata jsonb NOT NULL, embedding {} NOT NULL)"
).format(table, sql.SQL(f"{kind}({dim})")))
copy_sql = sql.SQL(
"COPY {} (id, document, uri, metadata, embedding) FROM STDIN"
).format(table)
with db.cursor().copy(copy_sql) as copy, open(src / col["file"], encoding="utf-8") as f:
for line in f:
r = json.loads(line)
copy.write_row((r["id"], r["document"], r["uri"],
json.dumps(r["metadata"]), json.dumps(r["embedding"])))
loaded = db.execute(sql.SQL("SELECT count(*) FROM {}").format(table)).fetchone()[0]
if loaded != col["count"]:
raise SystemExit(f"{name}: expected {col['count']}, loaded {loaded}")
if dim <= 4000:
db.execute(sql.SQL("CREATE INDEX ON {} USING hnsw (embedding {})").format(
table, sql.SQL(f"{kind}_{OPS[col['space']]}")))
print(f"{name}: {loaded} records")export DATABASE_URL="postgresql://..."
python load_pgvector.py "chroma-export/$CHROMA_DATABASE"It all runs in one transaction, so a failure leaves nothing half loaded. Three limits to know about:
- Between 2,001 and 4,000 dimensions it stores
halfvec, which is half precision. - Above 4,000 it loads the vectors without an index, so searches scan the table.
- Postgres rejects null characters in text. If a document contains one, the load stops and you will need to strip it.
For a collection called docs that used cosine, a Chroma query with a where filter becomes:
SET hnsw.iterative_scan = strict_order;
SELECT id, document, embedding <=> $1::vector AS distance
FROM chroma."docs"
WHERE metadata->>'tenant' = 'acme'
ORDER BY embedding <=> $1::vector
LIMIT 10;The first line matters. Without it, pgvector filters after the index scan and can hand back fewer than 10 rows. For a halfvec table, cast to halfvec instead.
If your code has a distance threshold, check it before you ship:
| Chroma space | Chroma returns | pgvector | Qdrant |
|---|---|---|---|
l2 (the default) | Squared distance | <->, not squared | Euclid, not squared |
cosine | 1 - similarity | <=>, the same value | Cosine, returns similarity |
ip | 1 - dot product | <#>, negative dot product | Dot, returns dot product |
An l2 cutoff of 0.25 in Chroma is 0.5 in both pgvector and Qdrant. With cosine in Qdrant, higher is better, so the comparison flips.
Load into Qdrant
Create a Qdrant database and copy the endpoint, including its port, and the API key. Qdrant only accepts integers or UUIDs as point IDs, so this script derives a UUID from each Chroma ID and keeps the original in the payload as chroma_id.
Save it as load_qdrant.py:
import json
import os
import sys
import uuid
from itertools import islice
from pathlib import Path
from qdrant_client import QdrantClient, models
DISTANCE = {
"l2": models.Distance.EUCLID,
"cosine": models.Distance.COSINE,
"ip": models.Distance.DOT,
}
src = Path(sys.argv[1])
client = QdrantClient(
url=os.environ["QDRANT_URL"], api_key=os.getenv("QDRANT_API_KEY"), timeout=60
)
def to_point(line):
r = json.loads(line)
return models.PointStruct(
# Qdrant IDs must be integers or UUIDs, so derive one and keep the original
id=str(uuid.uuid5(uuid.NAMESPACE_URL, r["id"])),
vector=r["embedding"],
payload={"chroma_id": r["id"], "document": r["document"],
"uri": r["uri"], "metadata": r["metadata"]},
)
for col in json.loads((src / "manifest.json").read_text()):
name = col["name"]
if not col["dimension"]:
print(f"{name}: empty, skipped")
continue
if not client.collection_exists(name):
client.create_collection(name, vectors_config=models.VectorParams(
size=col["dimension"], distance=DISTANCE[col["space"]]))
with open(src / col["file"], encoding="utf-8") as f:
while lines := list(islice(f, 100)):
client.upsert(name, [to_point(line) for line in lines], wait=True)
loaded = client.count(name, exact=True).count
if loaded != col["count"]:
raise SystemExit(f"{name}: expected {col['count']}, found {loaded}")
print(f"{name}: {loaded} records")export QDRANT_URL="https://your-host:PORT"
export QDRANT_API_KEY="..."
python load_qdrant.py "chroma-export/$CHROMA_DATABASE"Your metadata sits under metadata, so index and filter on metadata.<field>. With client connected as above and query_embedding from your model:
from qdrant_client import models
client.create_payload_index("docs", "metadata.tenant", models.PayloadSchemaType.KEYWORD)
hits = client.query_points(
"docs",
query=query_embedding,
query_filter=models.Filter(must=[models.FieldCondition(
key="metadata.tenant", match=models.MatchValue(value="acme")
)]),
limit=10,
).pointsOn a large collection, create that payload index before loading the points. Qdrant builds its filter-aware graph links as data arrives.
Stay on Chroma
If you only want off the hosted service, Chroma's CLI copies collections out of Cloud. These commands follow its docs and were not part of our test:
chroma login
chroma copy --from-cloud --to-local --all --db my-db --path ./chroma
chroma run --path ./chromaThen replace CloudClient with HttpClient. You now own the server, its backups and whatever sits in front of it for auth. Local Chroma 1.5.9 also rejected sparse vectors in our test, so this route won't carry a hybrid search setup across as is.
Cut over
- Now: export, load, and run real queries against both databases. Compare the top 10 results. Approximate indexes won't agree perfectly, but they should be close.
- Before December 7: pause writes, export again, load into an empty target, then point writes and reads at it. For pgvector,
DROP SCHEMA chroma CASCADEclears the trial load. For Qdrant, delete the trial collections. - Before December 22: confirm nothing still calls Chroma Cloud, including the embedding function, and revoke the keys.
Don't skip the second export. Rows deleted since your trial run would otherwise still be in the new database.
How the scripts were tested
The three scripts were run on November 22, 2026 against a local Chroma 1.5.9 server through the Cloud client, loading into PostgreSQL 17.11 with pgvector 0.8.1 and into Qdrant 1.18.3. The data was synthetic: about 7,000 records across all three distance spaces, from 32 to 4,096 dimensions, with more than 100 collections. Every ID, document, URI and metadata field matched, and exact top-10 searches matched on both targets. They were not tested against a live Chroma Cloud account or on Layerbase, so do the trial run early.
FAQ
Is ChromaDB shutting down?
No. Chroma Cloud, the hosted service, is shutting down. Open-source ChromaDB continues under Apache 2.0.
When does Chroma Cloud shut down?
Writes stop on December 7, 2026 and reads stop on December 22, 2026.
Can I export embeddings from Chroma?
Yes. get() leaves them out by default, so pass include=["embeddings", "documents", "metadatas", "uris"]. An export without that has none of your vectors in it.
Is pgvector a good replacement for Chroma?
For most small and mid-size collections, yes. It supports the same three distance measures, and metadata fits in a jsonb column. You write SQL in place of collection.query(), and your app calls the embedding model itself.
What is the cheapest way to move?
Self-hosting Chroma or pgvector on a machine you already have. For managed hosting, pgvector on Layerbase Free costs $0 if 5 GB and sleeping when idle are acceptable, and $5/mo on Solo keeps it awake.
Where to start
Run the export today, even if you haven't picked a destination. Then create a Postgres database and load a copy, or start with Qdrant if you already know filtering is your bottleneck. Pro has a 7-day trial, card required.
Keep reading
- pgvector vs QdrantDo you need a dedicated vector database, or is Postgres enough? A specific comparison of pgvector 0.8.6 and Qdrant 1.19: filtered search, quantization, index memory, and the code for each.

- Pinecone vs Weaviate vs Qdrant in 2026: which vector database should you actually run?A three-way comparison of the vector databases that keep showing up in RAG stacks: architecture, hosting model, current pricing, hybrid search, and multi-tenancy. Verified prices, no borrowed benchmark charts.

- Branching vector databasesEmbeddings are expensive to compute and easy to ruin. Qdrant, Weaviate, and Meilisearch all branch on Layerbase now: fork the store per eval run, per agent, or per risky reindex, and throw the fork away.
- Qdrant 1.18 is on Layerbase, and the Headline is QuantizationQdrant 1.18 is the new default line on Layerbase. Here is what a vector database is actually doing, why quantization decides what your index costs to run, and what landed between 1.16 and 1.18.