Vercel — AI · · 1 min read

Configure weighted traffic splits for Vercel Flags from the Vercel CLI

Mirrored from Vercel — AI for archival readability. Support the source by reading on the original site.

1 min read

May 21, 2026

You can now configure weighted traffic splits for Vercel Flags with the new vercel flags split command in the Vercel CLI. This allows you to send a percentage of traffic to one variant and the rest to another.

Run the command interactively, or pass the environment, bucketing attribute, and variant weights as flags:

vercel flags split redesigned-checkout \
--environment production \
--by user.id \
--weight off=95 \
--weight on=5

Sets a 95/5 weight split on redesigned-checkout for production, bucketing by user.id

Update to the latest version of the Vercel CLI and read the documentation to get started.

Discussion (0)

Sign in to join the discussion. Free account, 30 seconds — email code or GitHub.

Sign in →

No comments yet. Sign in and be the first to say something.

More from Vercel — AI