upstash-vector
Serverless Vector SDK from Upstash
What it is and what it does
Upstash Vector is a Python client for Upstash's serverless vector database service. It provides a REST-based interface to store and query vectors without managing your own infrastructure. The package handles three index types—dense (traditional embeddings), sparse (keyword-based), and hybrid (combining both)—and supports optional metadata filtering and associated data fields.
You initialize an Index with credentials from the Upstash console, then call upsert() to insert or update vectors and query() to find similar vectors by similarity score. The client abstracts away HTTP details via httpx and supports multiple input formats (tuples, dicts, or Vector objects). It is classified as Alpha in development status but marked GA by Upstash and backed by their professional support.
Use it for:
- Store and retrieve embeddings from language models for semantic search applications.
- Build recommendation systems by querying similar vectors based on user or item embeddings.
- Implement metadata-filtered vector search to narrow results by categorical or structured fields.
- Use with embedding models to automatically vectorize and store raw text data without manual embedding.
- Prototype vector-based features without provisioning and managing a dedicated vector database.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Python client for Upstash Vector, a serverless vector database—upserts and queries vectors with optional metadata and data fields, supporting dense, sparse, and hybrid index types.
Yes, if you are already using Upstash Vector or committed to a serverless vector database architecture. The package is straightforward, has low install friction, and is backed by professional support. However, the aging maintenance status (533 days since last release) and Alpha classification warrant caution for mission-critical production systems; verify that your use case aligns with Upstash's roadmap and support commitments.
Install
upstash-vector on PyPI
pip
pip install upstash-vectoruv
uv add upstash-vectorpoetry
poetry add upstash-vectorInstalling upstash-vector
Before you install
Low install friction with a single runtime dependency (httpx). Maintenance status is aging—last commit was 2025-10-21 and the package has not been updated in 533 days, though the project is marked GA and receives Upstash Professional Support.
License in practice
MIT license is permissive, allowing commercial and private use with minimal restrictions.
Quickstart
pip install upstash-vector
from upstash_vector import Index
index = Index.from_env() # Reads UPSTASH_VECTOR_REST_URL and UPSTASH_VECTOR_REST_TOKEN
index.upsert(vectors=[("id1", [0.1, 0.2])])
res = index.query(vector=[0.6, 0.9], top_k=5)
Requires UPSTASH_VECTOR_REST_URL and UPSTASH_VECTOR_REST_TOKEN environment variables or explicit URL and token parameters; an active Upstash Vector database must exist.
Verify before relying
- Whether the aging maintenance status (533 days since last release) affects stability or feature completeness for production use.
- Performance characteristics and throughput limits for large-scale vector operations.
- Whether sparse and hybrid index types are fully tested and production-ready.
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (<4.0,>=3.8) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — httpx |
| Maintenance | aging — 533 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 354,304/month — #7,296 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: upstash_vector-0.8.0-py3-none-any.whl
Keywords: Upstash Vector, Serverless Vector
Tags
More Libraries packages
urllib3 is an HTTP client library that provides…
permissive · top 100 on PyPI
requestsRequests is a Python HTTP library that…
permissive · top 100 on PyPI
pluggyPluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
python-dateutilProvides parsing, arithmetic, and recurrence…
permissive · top 100 on PyPI
sixSix provides utility functions to write Python…
permissive · top 100 on PyPI
pytestpytest is a testing framework that lets you…
permissive · top 100 on PyPI
nano-vectordbA lightweight vector database that stores and…
permissive · top 15,000 on PyPI
redisvlRedisVL is a Python client for building AI…
permissive · top 5,000 on PyPI
pineconePinecone Python SDK provides a client for…
permissive · top 5,000 on PyPI
qstashPython SDK for publishing and receiving…
permissive · top 15,000 on PyPI
vecsvecs is a Python client for storing, indexing,…
permissive · top 15,000 on PyPI
turbopufferProvides a Python client library for the…
permissive · top 5,000 on PyPI
upstash-redisHTTP-based Redis client for Python that…
permissive · top 5,000 on PyPI
qdrant-clientPython client library for Qdrant vector search…
permissive · top 1,000 on PyPI
astrapyAstraPy is a Python client library for DataStax…
permissive · top 15,000 on PyPI
usearchUSearch provides approximate nearest-neighbor…
permissive · top 15,000 on PyPI