Sign InOpen Brain
Back
VercelEngineering PostOfficial SourceinfraNew

Set per-user budgets on AI Gateway

Per-user dollar limits and threshold alerts give unattended agents a hard cost boundary across attributed keys and tokens.

VercelAug 31, 20262 min
Open SourceOpen MarkdownOpen JSON
Source Summary

AI Gateway can now cap each user's aggregate spend across attributed API keys and app tokens, giving unattended coding agents a hard cost boundary.

Practical Implication

Set a default allowance for every user, then override it for heavy agent users. Production or shared keys should be attributed to the team, and CLI management requires Vercel CLI 59.6.2+.

Agent-Ready Context
AI Gateway now supports **per-user dollar limits** across attributed API keys and app tokens. Requests are rejected at the limit; resets can be daily, weekly, monthly, or disabled, with alerts at **50%, 75%, and 100%**.

Set a default allowance for every user, then override it for heavy agent users. Production or shared keys should be attributed to the team, and CLI management requires **Vercel CLI 59.6.2+**.

User limits stack with API-key, project, and team budgets, so any applicable cap can block a request. BYOK spend is excluded, and older keys remain team-attributed unless rotated.
Context Map
infracoding#gateways#coding-agentsGeneric AgentPrepare Coding Session
Rate This Item
Personal Note

No note yet. Notes are included in exported bundles.

Related — Every Edge Explained

No approved edges yet for this post.