# Upstash Vector

CreateWithAI Hub page: https://createwithaihub.com/vector-databases/upstash-vector
Latest version of this file: https://createwithaihub.com/vector-databases/upstash-vector.md

- Type: Tool · Category: Vector Databases
- Publisher: Upstash
- Pricing: Free plan plus paid plans
- Runs on: Web, API (cloud)

Serverless vector database from Upstash with dense, sparse and hybrid indexes, priced per request with a free tier.

Upstash Vector is a fully managed, serverless vector database built on DiskANN. Indexes can be dense, sparse (BM25 or models like SPLADE) or hybrid, with metadata filtering, namespaces and built-in embedding models. It is used through a REST API and SDKs for Python, TypeScript, Go and PHP. It suits serverless and edge apps that want pay-per-request pricing.

Useful for: Adding a RAG retrieval step to a serverless app without managing a database server, starting on the free plan.

## Key features

- Dense, sparse (BM25/SPLADE) and hybrid indexes with RRF fusion
- Metadata filtering, namespaces and built-in embedding models
- REST API plus Python, TypeScript, Go and PHP SDKs
- LangChain, LlamaIndex and Vercel AI SDK integration guides
- Upstash MCP server (https://mcp.upstash.com/mcp) with Vector tools
- Free plan: 10K queries/updates per day and 1 GB of data

## Connection

- Deployment: Managed cloud
- Search: Vector, Hybrid (vector + keyword), Full-text
- Pricing model: Usage-based, Serverless

## Before you start

- Upstash account

## Install steps from the official documentation

Python:

```
pip install upstash-vector
```

TypeScript:

```
npm install @upstash/vector
```

MCP (Claude Code):

```
claude mcp add --scope user --transport http upstash https://mcp.upstash.com/mcp
```

## Limitations

- Managed service only; no self-hosting is documented
- Free plan limits: 10K requests per day, 1 GB data, 1,536 dimensions
- Pay as You Go costs $0.40 per 100K requests plus $0.25/GB storage

## Official links

- Website: https://upstash.com/vector
- Documentation: https://upstash.com/docs/vector
- Source: https://upstash.com/docs/vector/overall/whatisvector (Serverless, DiskANN, similarity functions)
- Source: https://upstash.com/docs/vector/features/hybridindexes (Sparse (BM25/SPLADE) and hybrid indexes, RRF)
- Source: https://upstash.com/pricing/vector (Free, Pay as You Go, Fixed $60, Pro/Enterprise; limits and rates)
- Source: https://upstash.com/docs/agent-resources/mcp (Remote MCP URL, Claude Code command, Vector tools)
- Source: https://github.com/upstash/vector-py (Python SDK, MIT)
