AI Briefing
KO

Weighted Traffic Splitting for Vercel Flags via Vercel CLI

·2026.05.21 09:00

Key point

The `vercel flags split` command has been added to the Vercel CLI, enabling weighted traffic splitting configuration for Vercel Flags.

Details

A new vercel flags split command has been introduced in the Vercel CLI, making it easy to configure weighted traffic splitting for Vercel Flags. This allows for precise control such as allocating a certain percentage of traffic to a specific variant while sending the rest to another variant.

The command can be run interactively, or directly using the following flags:

  • --environment: specify the target environment
  • --by: specify the attribute to use for bucketing
  • --weight: set the weight for each variant

For example, to apply a 95:5 weighted split based on user.id in the production environment for the redesigned-checkout flag, use the command vercel flags split redesigned-checkout --environment production --by user.id --weight off=95 --weight on=5.

This summary was generated automatically by AI. Check the original for the author's claims and context. Copyright belongs to the original author.

Our guide explains how the AI works. Report summary errors, attribution issues, or removal requests via Contact.