

The Vercel KV product has been sunset. You can now deploy alternative KV stores and other storage solutions through the Vercel Marketplace Storage, with 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.
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.
Reference Architecture
Choose a stack and work through the decisions behind it, with curated documentation, guides, templates, and courses to help you build.
- Agent stack: Build and operate agents with models, tools, and durable workflows.
- Web applications: Choose rendering, data, authentication, and caching approaches.
- Backends: Choose a runtime, connect services, and run background work.
Build with prompts
Build an app, extend an agent, or improve your project with ready-to-use prompts for your coding agent.