Elestia Open Source Ratings
7.1

Flags SDK

A strong pick. 4th of 8 feature flag SDKs.

Vercel's Flags SDK is an open-source, MIT-licensed toolkit for feature flags in Next.js and SvelteKit. It sits on top of providers such as Vercel Flags, LaunchDarkly, Statsig, PostHog or Edge Config, and is not a flag store itself. It is a good choice for Next.js teams, especially on Vercel. Teams on other frameworks, and teams that want a vendor-neutral standard, are better served by OpenFeature or a provider's own SDK.

Best for: Next.js or SvelteKit teams, especially on Vercel, who want flags declared in code that work with server rendering, static precompute and the Flags Explorer toolbar.

WebsiteGitHubnpm

Scores

Overall7.1

How strongly do we recommend it for a new project today?

Claude Opus 5.5: 6.5, likely 5.5 to 7.5

For Next.js apps, especially on Vercel, it is a strong and actively maintained way to read flags from any provider, with precompute features that peers lack. Its limits are the Next.js and SvelteKit lock-in, unstable core APIs, the need for a separate flag backend, and little independent validation. For most teams outside that niche, OpenFeature or a provider's own SDK is the better pick.

GPT-6.2 Sol: 7.7, likely 6.7 to 8.7

Typed declarations, static variants, and active maintenance make this a strong pick for new Next.js and SvelteKit apps that evaluate flags on the server. OpenFeature is the broader choice when the same flag API has to work across frameworks and in browsers. Reports of friction with Next.js caching and the limited independent production record keep the estimate below the category’s default-choice tier.

Needed by many4.6

How many developers need a tool for this job?

Claude Opus 5.5: 4.5, likely 3.5 to 5.5

Feature flags are a common need, but this SDK only serves Next.js and SvelteKit apps. That makes it much narrower than OpenFeature or the multi-runtime vendor SDKs. Next.js is a large ecosystem, which keeps the score in the middle.

GPT-6.2 Sol: 4.6, likely 3.5 to 5.6

Targeted rollouts and quick reversals are useful to many teams running production web apps. Next.js has a sizable developer base, but this SDK serves only Next.js and SvelteKit teams that want server-side evaluation. The framework survey shows the size of the potential audience, with no direct measure of its need for feature flags.

Helps a lot7.3

How well does it do the job for those who need it?

Claude Opus 5.5: 6.5, likely 5.5 to 7.5

Its model of flags as server-side functions fits Next.js well. Precompute for static pages, Flags Explorer overrides and a wide set of adapters are real advantages. On the other side, the precompute APIs are still unstable, Next.js 16 Cache Components support is unfinished, and the issue tracker shows adapter bugs. It also depends on a separate provider for targeting and management.

GPT-6.2 Sol: 8.0, likely 6.9 to 9.0

Version 4.5.0 offers typed flag functions, batch evaluation, static variants, and provider adapters. The release manifest declares TypeScript types despite the collector’s flag, and Vercel publishes examples and an agent skill. Users report friction around precomputation and Next.js caching, and independent performance and agent accuracy measurements are sparse.

Holds up over time7.8

Will it still be a good choice in two years?

Claude Opus 5.5: 7.5, likely 6.5 to 8.5

Vercel pays for the work, and Vercel Flags, which went GA in April 2026, depends on this SDK. That gives it a strong reason to continue. The repository shows 283 commits, 94 releases and 34 contributors in the last year, and issues get handled. It has already changed package name (from @vercel/flags) and had a breaking v4, and its experimental APIs may change again.

  • github commitsLastYear / releasesLastYear: 283 commits and 94 releases in the last year.
  • github closedIssues / mergedPullRequests: 34 closed vs 10 open issues; 453 merged PRs.
  • vercel.com/changelog/vercel-flags-ga: Vercel Flags went GA in April 2026 and builds on this SDK.

GPT-6.2 Sol: 8.0, likely 6.8 to 9.0

Vercel maintains the project and integrates it with its flag service. The repository logged 283 commits in the last year, and npm recorded 16 versions of the core package. A maintainer answered one caching report within four days, though it remains open and the v4 upgrade required application changes. The short maintenance history and uncertain number of people who can authorize releases leave room in the estimate.

Used widely4.7

How many use it, and is that growing?

Claude Opus 5.5: 5.0, likely 3.5 to 6.5

Downloads grew about 6x in a year, which beats the 4.1 median ratio. But only 136 dependent repositories back 7.5M monthly downloads, against 608 for GrowthBook, so installs by tooling or templates probably inflate the count. The npm name also dates from 2011, which may add older installs. Stars and social attention are low next to the downloads.

  • npm downloadsLast4Weeks / downloadsSame4WeeksYearAgo: 7.56M vs 1.27M, ratio about 6.0, above the 4.1 median.
  • dependents: 136 repos and 49 packages, below GrowthBook's 608 repos.
  • github stars / bluesky: 631 stars, 1 Bluesky post, 2 small HN stories.

GPT-6.2 Sol: 4.3, likely 2.9 to 5.7

Four-week downloads rose from 1.27 million to 7.56 million, about 6.0× year over year against the 4.1× catalog median. In the same dependent index, Flags SDK has 136 repositories, ahead of Unleash’s 73 and behind GrowthBook’s 608. Automated installs, incomplete repository coverage, and sparse community discussion make the number of teams choosing it hard to pin down.

  • npm.downloadsLast4Weeks, npm.downloadsSame4WeeksYearAgo, medianDownloadsRatio: About 6.0× download growth against a 4.1× median
  • dependents, peers: 136 indexed repositories and 49 packages, with GrowthBook ahead on repositories
  • github.stars, bluesky.posts, hackerNews.top: 631 stars, one Bluesky post, and little Hacker News discussion
Vouched for5.5

Who stands behind it being good?

Claude Opus 5.5: 5.0, likely 3.5 to 6.5

Vercel stands behind it and uses it in its own product, and several flag vendors have adapters for it. Independent reviews, benchmarks and user reports are almost absent, and there is no survey data. Most of what exists online is Vercel's own documentation.

GPT-6.2 Sol: 6.0, likely 4.7 to 7.3

Co-op’s frontend lead described testing a payment rollout in production with the SDK in a Vercel case example. OpenFeature and Statsig document integrations, and PostHog’s comparison identifies a practical fit for Next.js teams that keep flags in code. Those integrations show ecosystem support, while recent named production reports and independent benchmarks remain sparse.

Safe7.9

How safe is it to depend on?

Claude Opus 5.5: 7.5, likely 6.5 to 8.5

It has one moderate advisory (CVE-2025-46332): an override link could expose the list of flags. The fix came only in the 4.0.0 major release. The package has two dependencies, an MIT licence and an active corporate maintainer. There is no OpenSSF Scorecard, and past issues show build-breaking peer dependencies, which keep the range open.

GPT-6.2 Sol: 8.2, likely 7.0 to 9.2

The MIT-licensed core has two direct dependencies, and its GitHub Actions workflow is configured for npm trusted publishing and provenance. The moderate information-disclosure advisory was disclosed with a fix in 4.0.0, and a separate 2026 leak was fixed in version 2.0.0 of the optional Flagsmith adapter. The missing OpenSSF Scorecard and limited visibility into release permissions widen the range.

Good

  • Flags are declared in code as typed server-side functions, which avoids layout shift and keeps flag values out of client bundles.
  • The precompute pattern keeps pages static while serving flag variants, which few peers offer.
  • Adapters for LaunchDarkly, Statsig, PostHog, GrowthBook, Edge Config, Vercel Flags and OpenFeature keep you free to switch providers.
  • Vercel staff maintain it actively, with frequent releases and only two runtime dependencies.

Bad

  • It only supports Next.js and SvelteKit, so it is no use for other frameworks or plain Node services.
  • Key APIs such as precompute and evaluate are still marked unstable or experimental.
  • Support for Next.js 16 Cache Components is still being worked out in open issues.
  • It has no flag management, targeting UI or experimentation of its own, so you still need a backing provider.

The numbers

npm downloads, 4 weeks
7.6M ×6.0 in a year
GitHub stars
631
Commits, 12 months
283
npm version
4.5.0 Nov 2026
Versions, 12 months
16
Advisories, 24 months
1 of 1 ever
OpenSSF Scorecard
None
Licence
MIT

Read on 21 November 2026 from GitHub (vercel/flags), npm (flags), OSV and the OpenSSF Scorecard.

Feature flag SDKs

  1. 7.8GrowthBook
  2. 7.7OpenFeature SDK
  3. 7.5LaunchDarkly SDK
  4. 7.1Flags SDK
  5. 6.9Unleash SDK
  6. 6.8Statsig SDK
  7. 6.6ConfigCat SDK
  8. 6.4Flagsmith SDK
Compare all 8 on six scores