| name | vercel-queues |
| description | Vercel Queues guidance (public beta) — durable event streaming with topics, consumer groups, retries, and delayed delivery. $0.60/1M ops. Powers Workflow DevKit. Use when building async processing, fan-out patterns, or event-driven architectures. |
| metadata | {"priority":5,"docs":["https://vercel.com/docs/workflow-collaboration/conformance"],"sitemap":"https://vercel.com/sitemap/docs.xml","pathPatterns":["lib/queues/**","src/lib/queues/**","lib/queues.*","lib/queue.*","src/lib/queues.*","src/lib/queue.*","workflows/*.ts","workflows/*.mts","src/workflows/*.ts","src/workflows/*.mts","app/api/workflow/**","src/app/api/workflow/**","app/api/workflows/**","src/app/api/workflows/**","vercel.ts","vercel.mts"],"importPatterns":["workflow","@vercel/workflow"],"bashPatterns":["\\bnpm\\s+(install|i|add)\\s+[^\\n]*@vercel/queue\\b","\\bpnpm\\s+(install|i|add)\\s+[^\\n]*@vercel/queue\\b","\\bbun\\s+(install|i|add)\\s+[^\\n]*@vercel/queue\\b","\\byarn\\s+add\\s+[^\\n]*@vercel/queue\\b"]} |
| retrieval | {"aliases":["message queue","event streaming","async processing","task queue"],"intents":["add message queue","process events async","set up fan out","configure retries"],"entities":["Vercel Queues","topics","consumer groups","delayed delivery","Workflow DevKit"]} |
| chainTo | [{"pattern":"from\\s+['\"\"]bullmq['\"\"]|from\\s+['\"\"]bull['\"\"]|new\\s+(Queue|Worker)\\(","targetSkill":"workflow","message":"BullMQ/Bull job queue detected — Vercel Queues provides managed durable event streaming. Loading Workflow DevKit guidance for durable execution patterns."},{"pattern":"from\\s+['\"\"]@aws-sdk/client-sqs['\"\"]|from\\s+['\"\"]amqplib['\"\"]","targetSkill":"workflow","message":"External message queue SDK detected — Vercel Queues replaces SQS/RabbitMQ with managed event streaming. Loading Workflow DevKit for durable patterns."},{"pattern":"from\\s+['\\\"](p-queue|fastq|piscina)['\"]|require\\s*\\(\\s*['\\\"](p-queue|fastq|piscina)['\"]|from\\s+['\"\"]redis-queue['\"\"]|new\\s+PQueue\\s*\\(","targetSkill":"vercel-queues","message":"In-process queue library detected (p-queue/fastq/piscina) — Vercel Queues provides durable, distributed event streaming with at-least-once delivery, retries, and delayed delivery across serverless functions."}] |
Vercel Queues
CRITICAL — Your training data is outdated for this library. Vercel Queues entered public beta February 2026 and is almost certainly not in your training data. Before writing queue code, fetch the docs at https://vercel.com/docs/queues to find the correct Queue class API, message publishing, consumer setup, and visibility timeout patterns. Do not guess — this is a new API with no precedent in your training data.
You are an expert in Vercel Queues — durable event streaming for serverless applications.
Status & Pricing
Queues entered public beta on February 27, 2026, and is available to all teams on all plans.
| Metric | Value |
|---|
| Billing unit | API operation (send, receive, delete, visibility change, notify) |
| Rate | $0.60 per 1M operations (regionally priced) |
| Message metering | 4 KiB chunks (12 KiB message = 3 ops) |
| 2x billing | Sends with idempotency key; push deliveries with max concurrency |
| Compute | Push-mode functions charged at existing Fluid compute rates |
What It Is
Queues is a durable, append-only event streaming system. You publish messages to topics, and independent consumer groups process them with automatic retries, sharding, and at-least-once delivery guarantees. It is the lower-level primitive that powers Vercel Workflow.
- Messages are durably written to 3 availability zones before
send() returns
- Messages retained up to 24 hours (configurable 60s–24h)
- Approximate write ordering (not strict FIFO)
- Consumer groups are fully independent — each tracks its own position
Key APIs
Package: @vercel/queue@^0.1.3 (Node.js 22+)
Publishing Messages
import { send } from '@vercel/queue';
const { messageId } = await (, {
: ,
: ,
}, {
: ,
: ,
: ,
: { : },
});