Usage and Costs reporting can filter and group by API key
The Usage and Costs dashboards can filter and group by individual API key, and the Usage API and Costs API accept the API key as a dimension for programmatic reporting.
What does this mean for me?
Engineering leadership
Cost, risk, timeline, team impact Worth knowingAPI spend can now be attributed to individual keys, so per-team or per-service chargeback no longer needs a separate project for each. Useful for cost reviews; nothing is required.
Engineer
What to change, what breaks, what to test Worth knowingAdd the API key dimension to Usage API and Costs API queries to report per-service spend, and give each service its own key so the breakdown means something.
General consumer
Using ChatGPT, not the API No impactNothing to do — this is API usage reporting and does not affect ChatGPT.
Spend and usage can now be broken down by API key, not only by project or model. The Usage and Costs dashboards on the platform support filtering and grouping by key, and the Usage API and Costs API support the same API key dimension, so per-key cost attribution can be automated rather than done by hand.