sincecutoff.com
← all changes

vercel ai-gateway api-keys create adds API-key creation

Introduced 2026-04-14 · score 0.95

HOW TO USE IT

When creating an AI Gateway API key, run `vercel ai-gateway api-keys create`; add `--budget` and optionally `--refresh-period` to set an optional quota. Save the returned key immediately, because it cannot be retrieved again.

vercel ai-gateway api-keys create
vercel ai-gateway api-keys create --name <NAME> --budget <DOLLARS> --refresh-period <PERIOD>

WHY THIS HELPS

Create an AI Gateway API key for a coding project, optionally with quota limits.

REQUIREMENTS AND LIMITATIONS

  • Version: 51.2.1
  • --name <NAME>: Human-readable API key name.
  • --budget <AMOUNT>: Quota budget in dollars; minimum 1.
  • --refresh-period <PERIOD>: Quota refresh cadence: `daily`, `weekly`, `monthly`, or `none`; default is `none`.
  • Prerequisite: Install Vercel CLI and authenticate before performing administrative tasks. The key is created under the current CLI scope.
  • Quota limits are optional.

FIRST-PARTY EVIDENCE

Check the installed version and the source before using it. Entry JSON

Report a problem with this card