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.
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.
vercel buy credits [credit-type] [amount]Using the vercel buy credits command to purchase
credits for the current team.
| Argument | Required | Description |
|---|---|---|
credit-type | Yes | Type of credits to purchase: v0, gateway, agent |
amount | Yes | Amount in whole US dollars (max $1,000 per purchase) |
vercel buy credits v0 100vercel buy credits gateway 250vercel buy credits agent 50Purchase 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.
vercel buy addon [addon-name] [quantity]Using the vercel buy addon command to purchase an
addon for the current team.
| Argument | Required | Description |
|---|---|---|
addon-name | Yes | Name of the addon to purchase, such as observability-plus |
quantity | Varies | Number 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:
vercel buy addon observability-plusPurchase a Vercel Pro subscription for your team.
vercel buy proUsing 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.
vercel buy domain [domain]Using the vercel buy domain command to purchase a
domain.
| Argument | Required | Description |
|---|---|---|
domain | Yes | The root domain to purchase |
vercel buy domain example.comexample.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.
vercel buy pro --yesUsing 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:
vercel buy credits v0 100 --amount 100.00 --scope my-teamUsing 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.
vercel buy credits gateway 250 --jsonUsing 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.
Was this helpful?