sincecutoff.com
← all changes

vercel ai-gateway api-keys create adds expiration and alert thresholds

Introduced 2026-07-28 · score 0.93

HOW TO USE IT

When creating an AI Gateway API key, set its expiry and spend alert percentages with `--expiration` and `--alert-thresholds`.

vercel ai-gateway api-keys create --expiration 90d --alert-thresholds 75,100

WHY THIS HELPS

Set expiration and alert thresholds when creating an AI Gateway API key from the CLI.

REQUIREMENTS AND LIMITATIONS

  • Version: 58.1.0
  • --expiration <PERIOD>: Key expiry: `7d`, `30d`, `60d`, `90d`, `1y`, or `none` (default: `none`).
  • --alert-thresholds <LIST>: Comma-separated subset of `50`, `75`, and `100` spend percentages; for example, `75,100`.

FIRST-PARTY EVIDENCE

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

Report a problem with this card