Read the Vercel Storage announcement

Serverless storage designed for the web

Accelerate your Vercel Workflow with databases optimized for the fastest frontends

Global data for high-performance web apps

Vercel KV is a fully managed, globally replicated, Redis-compatible database optimized for high-performance web apps.

Built for modern web frameworks

Designed for the evolution of JavaScript and TypeScript frameworks, Vercel KV allows developers to store and retrieve any JavaScript value with a promise-based API, without worrying about serialization.

  • Next.js
  • SvelteKit
  • Nuxt
Next.js

/server/api/set_session.js

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);

}

SvelteKit

+page.server.ts

import kv from '@vercel/kv';


/** @type {import('./$types').PageLoad} */

export async function load() {

await kv.set('session', {admin: true});

const session = await kv.get('session'); // {admin: true}

return {

session: session

};

}

Nuxt

/server/api/set_session.js

import kv from '@vercel/kv';

export default defineEventHandler(async () => {

await kv.set('session', {admin: true});

const session = await kv.get('session'); // {admin: true}

return {

session: session

};

});

Highly available, fully managed

A database designed for instant provisioning, unlimited environments, and automatic scaling. No more clusters or connection pooling.

Globally replicated

For the lowest-latency reads, replica databases are distributed around the world, and clients are routed to their nearest region.

Effortless scaling

Built to handle the unpredictable nature of web traffic, scaling up and down as needed

Ready fore the edge

For low-latency, high-throughput reads and writes, designed to work natively with Vercel's compute products.

No management required

No setup required. Spend your time building your application, not managing database instances.

Get started with Redis® on Vercel

Deploy a template that uses Vercel KV and start reading and writing data in minutes.

Vercel KV Next.js Starter

Simple Next.js template that uses Vercel KV for Redis to track pageviews.

Built with Next.js


Vercel KV Sveltekit Starter

Simple Sveltekit template that uses Vercel KV for Redis to track pageviews.

Built with Svelte


Vercel KV Nuxt Starter

Simple Nuxt template that uses Vercel KV for Redis to track pageviews.

Built with Nuxt


Develop. Preview. Ship.

Vercel is the platform for frontend developers, providing the speed and reliability innovators need to create at the moment of inspiration.

UP TO 50% OFF

BLACK

FRIDAY

Deals

EXPIRING ON NOV 27

Sign Up Now

Create an account with our website to receive the personalized offers about our products


Already have an account? Login here

Safe and Secure

Fast Shipping

Order History

Sign Up

Create an account with our website to benefit from 10% discount.


Already have an account? Login here

Subscribe To Our Weekly Newsletter

Promise to only send good stuff!

Special Sales

Exclusive Findings

New Arrivals & Promos

Basically, all you're interested in!