pgvector vs cognee
A side-by-side look at pricing plans, free tiers, features, pros and cons, updated for 2026. pgvector is completely free, while cognee is freemium.
At a glance
Best for
Category
Pricing model
Starting price
Free plan
Made by
Based in
Rating
Key features
- Vector column type
- HNSW and IVFFlat indexes
- Multiple distance metrics
- Plain SQL queries
- Wide cloud support
- Graph and vector retrieval
- Python SDK
- MCP and Claude Code integration
- Slack, GitHub and Notion connectors
- Ontology generation
- Self-hosting
| Feature | pgvector | cognee |
|---|---|---|
| Best for | Open-source vector similarity search extension for Postgres | Open-source memory layer for AI agents and teams |
| Category | Models & APIs | Models & APIs |
| Pricing model | Free | Freemium |
| Starting price | Free | See pricing page |
| Free plan | Yes, fully free | Yes |
| Made by | pgvector contributors | cognee |
| Based in | – | – |
| Rating | No ratings yet | No ratings yet |
| Key features |
|
|
Pricing compared
pgvector is completely free, while cognee is freemium.
Free plan
Cheapest paid plan
Top plan
Free trial
3 plans
Free
Free
- 1 workspace
- 1M tokens included
- Unlimited users and API calls
Standard
$1.00 / 1M tokens
- $5 per extra workspace a month
- Slack, Notion, Linear, Drive
- Code indexing
Enterprise
Contact sales
- Bi-temporal memory
- Provenance on every answer
- Bring your own cloud
Prices in USD, checked Oct 28, 2026 or later. Plans change often, so confirm on each tool's site before you buy.
Pros and cons
pgvector
- Uses your existing database
- Free and widely supported
- Full SQL power
- Slower than specialized engines at scale
- Index builds use memory
- Tuning needs Postgres skills
cognee
- Open source and self-hostable
- Free cloud tier with 1M tokens
- Answers keep source citations
- Needs developer setup
- Data connectors only on paid cloud plans
- Token-based billing can be hard to predict
Which one should you choose?
Choose pgvector if you want:
- Uses your existing database
- Free and widely supported
- Full SQL power
Watch out: slower than specialized engines at scale.
Choose cognee if you want:
- Open source and self-hostable
- Free cloud tier with 1M tokens
- Answers keep source citations
Watch out: needs developer setup.
pgvector vs cognee FAQ
What is the difference between pgvector and cognee?
pgvector: Open-source vector similarity search extension for Postgres. cognee: Open-source memory layer for AI agents and teams. Both are models & apis tools.
Is pgvector or cognee cheaper?
pgvector is completely free, while cognee is freemium.
Do pgvector and cognee have free plans?
pgvector: Yes, fully free. cognee: Yes.
Who makes pgvector?
pgvector is made by pgvector contributors.
Who makes cognee?
cognee is made by cognee.
Which should I choose, pgvector or cognee?
Choose pgvector if you value uses your existing database and free and widely supported. Choose cognee if you value open source and self-hostable and free cloud tier with 1m tokens.