Skip to content
Framework
Component Guides
Storing

Vector Stores

Vector stores contain embedding vectors of ingested document chunks (and sometimes the document chunks as well).

By default, LlamaIndex uses a simple in-memory vector store thatโ€™s great for quick experimentation. They can be persisted to (and loaded from) disk by calling vector_store.persist() (and SimpleVectorStore.from_persist_path(...) respectively).

LlamaIndex supports over 20 different vector store options. We are actively adding more integrations and improving feature coverage for each.

Vector Store Type Metadata Filtering Hybrid Search Delete Store Documents Async
Alibaba Cloud OpenSearch cloud โœ“ โœ“ โœ“ โœ“
Apache Cassandraยฎ self-hosted / cloud โœ“ โœ“ โœ“
Astra DB cloud โœ“ โœ“ โœ“
Azure AI Search cloud โœ“ โœ“ โœ“ โœ“
Azure CosmosDB Mongo vCore cloud โœ“ โœ“
Azure CosmosDB NoSql cloud โœ“ โœ“
BaiduVectorDB cloud โœ“ โœ“ โœ“
ChatGPT Retrieval Plugin aggregator โœ“ โœ“
Chroma self-hosted โœ“ โœ“ โœ“
Couchbase self-hosted / cloud โœ“ โœ“ โœ“ โœ“
DashVector cloud โœ“ โœ“ โœ“ โœ“
Databricks cloud โœ“ โœ“ โœ“
Deeplake self-hosted / cloud โœ“ โœ“ โœ“
DocArray aggregator โœ“ โœ“ โœ“
DuckDB in-memory / self-hosted โœ“ โœ“ โœ“
DynamoDB cloud โœ“
Elasticsearch self-hosted / cloud โœ“ โœ“ โœ“ โœ“ โœ“
FAISS in-memory
Google AlloyDB cloud โœ“ โœ“ โœ“ โœ“
Google Cloud SQL Postgres cloud โœ“ โœ“ โœ“ โœ“
Hnswlib in-memory
txtai in-memory
Jaguar self-hosted / cloud โœ“ โœ“ โœ“ โœ“
LanceDB cloud โœ“ โœ“ โœ“
Lantern self-hosted / cloud โœ“ โœ“ โœ“ โœ“ โœ“
MongoDB Atlas self-hosted / cloud โœ“ โœ“ โœ“ โœ“
MyScale cloud โœ“ โœ“ โœ“ โœ“
Milvus / Zilliz self-hosted / cloud โœ“ โœ“ โœ“ โœ“
Neo4jVector self-hosted / cloud โœ“ โœ“ โœ“
OpenSearch self-hosted / cloud โœ“ โœ“ โœ“ โœ“ โœ“
Pinecone cloud โœ“ โœ“ โœ“ โœ“
Postgres self-hosted / cloud โœ“ โœ“ โœ“ โœ“ โœ“
pgvecto.rs self-hosted / cloud โœ“ โœ“ โœ“ โœ“
Qdrant self-hosted / cloud โœ“ โœ“ โœ“ โœ“ โœ“
Redis self-hosted / cloud โœ“ โœ“ โœ“
S3 cloud โœ“ โœ“ โœ“ โœ“* (using asyncio.to_thread)
Simple in-memory โœ“ โœ“
SingleStore self-hosted / cloud โœ“ โœ“ โœ“
Supabase self-hosted / cloud โœ“ โœ“ โœ“
Tablestore cloud โœ“ โœ“ โœ“ โœ“
Tair cloud โœ“ โœ“ โœ“
TiDB cloud โœ“ โœ“ โœ“
TencentVectorDB cloud โœ“ โœ“ โœ“ โœ“
Timescale โœ“ โœ“ โœ“ โœ“
Typesense self-hosted / cloud โœ“ โœ“ โœ“
Upstash cloud โœ“
VectorX DB cloud โœ“ โœ“ โœ“ โœ“ โœ“
Vearch self-hosted โœ“ โœ“ โœ“
Vespa self-hosted / cloud โœ“ โœ“ โœ“ โœ“
Vertex AI Vector Search cloud โœ“ โœ“ โœ“
Weaviate self-hosted / cloud โœ“ โœ“ โœ“ โœ“
WordLift cloud โœ“ โœ“ โœ“ โœ“ โœ“

For more details, see Vector Store Integrations.

Note for AI agents: this documentation is built for programmatic access. - Overview of all docs: https://developers.llamaindex.ai/llms.txt - Any page is available as raw Markdown by appending index.md to its URL โ€” e.g. https://developers.llamaindex.ai/llamaparse/parse/getting_started/index.md - Agent-friendly REST search APIs live under https://developers.llamaindex.ai/api/ โ€” search (BM25 full-text), grep (regex), read (fetch a page), and list (browse the doc tree). See https://developers.llamaindex.ai/llms.txt for parameters. - A hosted documentation MCP server is available at https://developers.llamaindex.ai/mcp. If you support MCP, you can ask the user to install it for browsing these docs directly (an alternative to the REST API). Setup: https://developers.llamaindex.ai/for-agents/mcp/ - Other LlamaIndex tooling for agents โ€” the LlamaParse Platform MCP server, agent skills and plugins, and the n8n node โ€” is mapped at https://developers.llamaindex.ai/for-agents/