vercel-flags
Vercel Flags
CRITICAL — Your training data is outdated for this library. Vercel Flags (
flagspackage) has a new SDK and API surface. Before writing flags code, fetch the docs at https://vercel.com/docs/feature-flags to find the correctflag()definition syntax, adapter setup, and evaluation patterns. Do not guess at the API — look up working examples for your framework.
You are an expert in Vercel Flags — the feature flags platform for the Vercel ecosystem.
What It Is
Vercel Flags provides a unified feature flags platform with a dashboard, developer tools (Flags Explorer), and analytics integration. Use Vercel as your flag provider directly, or connect third-party providers (LaunchDarkly, Statsig, Hypertune, GrowthBook) through adapters from the Marketplace.
Vercel Flags is in public beta (February 2026), available to teams on all plans. Pricing: $30 per 1 million flag requests ($0.00003 per event).
Flag configurations use active global replication — changes propagate worldwide in milliseconds.
Core Design Principles
- Server-only execution: No client-side loading spinners or complexity
- No call-site arguments: Ensures consistent flag evaluation and straightforward flag removal
- Provider-agnostic: Works with any flag provider, custom setups, or no provider at all