Introducing Vercel KV

Authors

1 min read

Update: As of June 9, 2025 Vercel KV was replaced with Vercel Marketplace Storage integrations, featuring automatic account provisioning and unified billing. Learn more.

Vercel KV is a serverless, durable Redis database, making it easy to implement features like rate limiting, session management, and also manage application state.

The Redis-compatible SDK works from Edge or Serverless Functions and scales with your traffic. KV stores are single region by default, but can be replicated to multiple regions for distributed workloads.

user-prefs.ts
import kv from '@vercel/kv';
export async function getPrefs() {
const prefs = await kv.get('prefs');
return prefs || {};
}
export async function updatePrefs(prefs: Record<string, string>) {
return kv.set('prefs', prefs);
}

Vercel KV is available for Hobby and Pro users during the public beta.

Check out our documentation to learn more.