Mr. Usage › Vercel AI Gateway

Check what you have left at Vercel AI Gateway

Mr. Usage reads Vercel AI Gateway's documented usage endpoint with your own key and keeps a card refreshed on its own. Main number: the team's remaining AI Gateway credit in dollars. Details: everything spent since the account opened, labelled Used so far. Vercel does not report a monthly figure.

Install Mr. Usage GitHub repository

What the Vercel AI Gateway card shows

Main number: the team's remaining AI Gateway credit in dollars. Details: everything spent since the account opened, labelled Used so far. Vercel does not report a monthly figure. A yellow "Low" badge appears under 20% left and a red "Nearly out" badge under 5%, with a line of today's readings underneath.

Shows the team's credit balance. "Used so far" is lifetime spend, not this month's.

What Mr. Usage reads

Call`GET https://ai-gateway.vercel.sh/v1/credits`
Authentication`Authorization: Bearer <key>` header.
Verified againsthttps://vercel.com/docs/ai-gateway/sdks-and-apis/rest-api
Anything else contactedNothing. The host is on a per-provider allowlist checked before every request, redirects are off, and the connection is TLS 1.2 or newer.

The app shows you this exact address before you save a key, and docs/SOURCES.md records where each fact came from and when it was read.

Questions

Does checking my Vercel AI Gateway usage cost credits?

the credits call is a lookup, not an inference request; the docs list no price and it consumes no credits.

Where does my Vercel AI Gateway API key go?

Into your operating system's credential store, under the service name mr-usage: Keychain on macOS, Credential Manager on Windows, the Secret Service on Linux. The app reads it at the moment it calls the vendor, wraps it in a zeroizing type, and drops it. It is never written to a file of the app's own and never sent back to the window.

How often is the card refreshed?

Every 5 minutes by default. Settings lets you pick anything from 1 minute to 24 hours, and changing the interval takes effect from the last poll. There is also a Refresh button on each card, limited to once a minute.

Other providers