Skip to content
Docs

vercel buy

The vercel buy command allows you to purchase Vercel products for your team directly from the CLI. You can buy credits, addons, subscriptions, and domains.

All subcommands except domain require a team scope. Use --scope to specify a team if you haven't already.

terminal
vercel buy [subcommand]

Running vercel buy without a subcommand displays the help menu.

Purchase Vercel credits for your team. Supported credit types are v0, gateway (AI Gateway), and agent (Vercel Agent).

The amount argument is specified in whole US dollars. The maximum amount per purchase is $1,000.

terminal
vercel buy credits [credit-type] [amount]

Using the vercel buy credits command to purchase credits for the current team.

ArgumentRequiredDescription
credit-typeYesType of credits to purchase: v0, gateway, agent
amountYesAmount in whole US dollars (max $1,000 per purchase)
terminal
vercel buy credits v0 100
Purchase $100 of v0 credits.
terminal
vercel buy credits gateway 250
Purchase $250 of AI Gateway credits.
terminal
vercel buy credits agent 50
Purchase $50 of Vercel Agent credits.

Purchase a Vercel addon for your team. Your team must be on a Pro or Enterprise plan to purchase addons. Run vercel buy addon --help to see all available addon options.

You can no longer purchase the siem addon with vercel buy addon. To send audit logs to external systems, use Audit Log Drains.

terminal
vercel buy addon [addon-name] [quantity]

Using the vercel buy addon command to purchase an addon for the current team.

ArgumentRequiredDescription
addon-nameYesName of the addon to purchase, such as observability-plus
quantityVariesNumber of units to purchase. Some addons require a quantity. Don't pass a quantity for observability-plus

To purchase Observability Plus for your team, run:

terminal
vercel buy addon observability-plus
Purchase the Observability Plus addon.

Purchase a Vercel Pro subscription for your team.

terminal
vercel buy pro

Using the vercel buy pro command to upgrade the current team to Vercel Pro.

Purchase a domain name. This delegates to the vercel domains buy command.

terminal
vercel buy domain [domain]

Using the vercel buy domain command to purchase a domain.

ArgumentRequiredDescription
domainYesThe root domain to purchase
terminal
vercel buy domain example.com
Purchase the domain example.com.

These are options that apply to the vercel buy credits, vercel buy addon, and vercel buy pro subcommands.

The --yes option skips the confirmation prompt for vercel buy addon and vercel buy pro. This is required when running in non-interactive environments like CI.

terminal
vercel buy pro --yes

Using the vercel buy pro command with the --yes option to skip confirmation.

To purchase credits without the confirmation prompt, use --amount.

With Vercel CLI 65.10.0 and later, the --amount option approves the charge for vercel buy credits, so the CLI doesn't ask you to confirm it. Use it in non-interactive environments like CI. Pass the same amount as the amount argument, and name the team with --scope:

terminal
vercel buy credits v0 100 --amount 100.00 --scope my-team

Using the vercel buy credits command with the --amount option to purchase $100 of v0 credits without a prompt.

If the two amounts don't match, the CLI charges nothing.

When Vercel CLI 65.10.0 or later detects that an AI agent runs vercel buy credits, the agent also needs --amount. Without it, the CLI charges nothing and tells the agent to ask for your approval.

The --json flag returns the purchase result as JSON instead of plain text.

terminal
vercel buy credits gateway 250 --json

Using the vercel buy credits command with the --json option for structured output.

The following global options can be passed when using the vercel buy command:

For more information on global options and their usage, refer to the options section.

Last updated July 24, 2026

Was this helpful?

supported.