Why Upstash Vector
A vector database that scales from a prototype to production without a cluster to size.
Built-in embeddings
Pick an embedding model when you create the index, then upsert and query plain text. No separate embedding API to call.
Hybrid search
Combine dense semantic vectors with sparse keyword vectors in one index for results that match both meaning and exact terms.
Metadata filtering
Attach metadata to each vector and filter queries with a familiar SQL-like syntax.
Namespaces
Partition one index into isolated namespaces, one per tenant, user, or dataset, and query each on its own.
Scales on disk
A disk-based index keeps large datasets fast and affordable, from thousands to millions of vectors.
REST API
Connectionless HTTP access from serverless and edge runtimes, with SDKs for TypeScript, Python, and Go.
AI framework ready
First-class integrations with LangChain, LlamaIndex, the Vercel AI SDK, Flowise, and Langflow.
Pay per request
Scale to zero on pay as you go: $0.40 per 100K requests and $0.25 per GB stored, with a free tier to start.
Add vector search to your app
Upsert and query with the @upstash/vector and upstash-vector SDKs, or call the REST API from anywhere.
import { Index } from "@upstash/vector";
const index = new Index()
const question = "What is Quantum Mechanics?"
// Find related documents
const context = await index.query({
data: question,
topK: 5,
includeMetadata: true,
});
const prompt = `Question: ${question} - Context: ${JSON.stringify(context)}`;
const response = await openai.chat.completions.create({
model: "gpt-5.4",
messages: [
{
role: "system",
content: "You are a helpful assistant, answer the question using the context."
},
{
role: "user",
content: prompt
},
],
});What can you build with Vector?
Common vector database use cases, with a guide to build each one.
RAG chatbots
Ground LLM answers in your own documents by retrieving the most relevant chunks for every question.
Semantic search
Search by meaning instead of exact words across docs, products, or support articles.
Hybrid search
Blend semantic and keyword relevance in one query so exact names and codes still rank first.
Multi-tenant AI apps
Keep each customer's data in its own namespace inside a single index.
LangChain pipelines
Use Upstash Vector as the vector store for semantic search in LangChain.
Document parsing
Parse PDFs and other files with LlamaParse and index the results for retrieval.
What is a vector database?
A database that finds things by meaning, not by matching text.
A vector database stores embeddings: lists of numbers that an AI model produces to represent the meaning of text, images, or other data. Items with similar meaning end up close together, so the database can answer “what is most like this?” by finding the nearest vectors to a query.
That is the retrieval step behind RAG, semantic search, recommendations, and agent memory. Doing it well at scale takes an approximate nearest neighbor index, metadata filters, and a way to keep embeddings in sync with the source data, which is a lot to run yourself.
Upstash Vector is that database as a serverless service. Create an index, choose an embedding model or bring your own vectors, and query over HTTP from any runtime. Storage scales on disk, and on pay as you go you are billed per request, so an index that is not being queried costs only its storage.
Frequently asked questions
Create your first index in seconds
Start on the free tier with 10,000 queries and updates a day and 1 GB of data. No credit card required.