Vercel Storage
Store key-value data, transactional data, large files, and more with Vercel's suite of storage products.Vercel offers a suite of managed, serverless storage products that integrate with your frontend framework.
- Vercel KV: Durable Redis
- Vercel Postgres: Serverless SQL
- Vercel Blob: Large file storage
- Vercel Edge Config: Global, low-latency data store
This page will help you choose the right storage product for your use case.
Choosing the correct storage solution depends on your needs for latency, durability, and consistency, among many other considerations.
To help you choose, we've created a table below to summarize the benefits of each storage option in relation to each other:
Product | Reads | Writes | Use Case | Limits |
---|---|---|---|---|
Fast | Milliseconds | Key/value and JSON data | ||
Fast | Milliseconds | Structured, relational data | ||
Fast | Milliseconds | Large, content-addressable files ("blobs") | ||
Ultra-fast | Seconds | Runtime configuration (e.g., feature flags) |
Read our section on best practices to get the most out of our storage products.
Vercel KV provides durable, serverless Redis storage.
You should use Vercel KV if you want to:
Use the familiar Redis API – Take advantage of one of the most popular data stores, built on the open Redis standard
Access fast key-value data – For example, reading and writing user sessions
Ensure multi-region storage – Vercel KV data can be replicated to multiple regions
Vercel Postgres is a serverless PostgresSQL database, designed to integrate with Vercel Functions and your frontend framework.
You should use Vercel Postgres if you need to:
Manage complex, transactional data - Ideal for storing financial transactions, inventory records, or other critical data. Postgres ensures high consistency and concurrency, making it well-suited for applications that require reliable, real-time data management
Rich data types and extensibility – Choose Postgres for handling diverse data formats or custom data types, such as JSON, arrays, or user-generated content
Vercel Blob offers optimized storage for images, videos, and other files.
You should use Vercel Blob if you need to:
Store images – For example, storing user avatars or product images
Store videos – For example, storing user-generated video content
An Edge Config is a global data store that enables you to read data at the edge without querying an external database or hitting upstream servers. Most lookups return in less than 1ms, and 99% of reads will return under 10ms.
You should use Edge Config if you need to:
Fetch data at ultra-low latency – For example, you should store feature flags in an Edge Config store
Store data that is read often but changes rarely – For example, you should store critical redirect URLs in an Edge Config store
Read data in every region – Edge Config data is actively replicated to all regions in the Vercel Edge Network
When choosing a storage option, we recommend considering these best practices:
To ensure low-latency responses, it's crucial to have compute close to your databases. Always deploy your databases in regions closest to your Functions to avoid long network roundtrips.
- Serverless Functions: Defaults to
iad1
, but can be deployed to any region- If using Vercel Postgres, ensure your database is in the same region as your Function
- If using Vercel KV and replicated regions, place your stores in the same regions as your Functions
- Edge Functions: Global by default, opt-into single-region
- If using Vercel Postgres, ensure your database is in the same region as your Function
- If using Vercel KV and replicated regions, place your stores in the same regions as your Functions
- Edge Middleware: Global only; always executed in the region nearest the user
- Since Edge Middleware as part of request processing, it is best suited for extremely fast and globally replicated data like Edge Config