# Local-Rag vs pgvector — Fit & Features

Canonical: https://trutool.co/compare/local-rag-vs-pgvector
Author: Snehil (https://trutool.co/authors/snehil)

Compare Local-Rag and pgvector by use case, features, limitations, and evaluation questions.

## Compare fit, features, and limitations

### Local-Rag
Ingest files for retrieval augmented generation (RAG) with open-source Large Language Models (LLMs), all without 3rd parties or sensitive data leaving your network.
Best fit: People and teams evaluating ai memory & retrieval for a specific workflow.
- Knowledge workflows
- Data workflows
Before you choose: Test a representative task, inspect outputs, and confirm integrations, permissions, data handling, licensing, and current costs.
Pricing: https://github.com/pricing
- [Read Local-Rag profile](https://trutool.co/tools/local-rag): Read Local-Rag profile

### pgvector
Add vector similarity search to PostgreSQL using an open-source extension.
Best fit: Developers building grounded assistants with persistent context and retrieval.
- PostgreSQL vectors
- Similarity search
- Vector indexing
Before you choose: Test retrieval quality, deletion behavior, access boundaries, and retention. Compare hosting and embedding costs for your data.
Pricing: https://github.com/pricing
- [Read pgvector profile](https://trutool.co/tools/pgvector): Read pgvector profile
