Track usage and spend by API key

You can now track usage and spend by API key in the Usage and Spend dashboards to see which apps and workloads drive your spend.

Set monthly organization or project spend limits, including hard limits that stop traffic when reached.

Available in the API Platform and via Admin API for programmatic workflows.

With lower GPT-5.6 Sol API pricing for the next three months, these updates give you more visibility and control as your usage scales.

I always have done this by project but this is a nice addition!

Worth knowing for anyone relying on the hard limit specifically: it isn’t enforced in real time. Billing is asynchronous, so usage can run 10-20% past the configured cap before enforcement actually kicks in, and auto-recharge stays on by default even with a cap set - the card gets charged first, limit enforcement catches up after. It’s not a bug exactly, just a gap between “I set a limit” and “the limit is live” that’s easy to miss if you’re relying on it as a hard stop rather than an alert.

The retry-loop case is the one that bites people hardest: a failing call retries in a tight loop, burns real tokens on every attempt, and the limit doesn’t catch it until after the damage is done since enforcement is lagging behind the requests. Treating this as an alert-plus-manual-kill-switch rather than a true hard stop has saved me from a couple of near misses.