Navigation
Recherche
|
OpenAI unveils API for tracking OpenAI API usage, costs
jeudi 5 décembre 2024, 23:01 , par InfoWorld
OpenAI has introduced the Usage API, an API that allows enterprises to track their activity across the OpenAI API. With the Usage API, OpenAI API usage and costs can be assessed programmatically, the company said.
Announced December 4, the OpenAI Usage API monitors token usage by minute, hour, or day and filters usage data by factors such as model, API key, project ID, and user ID. Users can check daily spending via a costs endpoint for budget oversight. The Usage API, OpenAI said, is built for scalability, security, and compliance, for enterprise teams to manage costs, optimize workflows, and make quicker decisions. While the Usage API delivers granular usage data, it may not always reconcile perfectly with costs due to minor differences in how usage and spend are recorded, OpenAI said. For financial purposes, OpenAI recommends using the Costs endpoint or the Costs tab in the Usage Dashboard, which will reconcile back to a billing invoice.
https://www.infoworld.com/article/3618202/openai-unveils-api-for-tracking-openai-api-usage-costs.htm
Voir aussi |
56 sources (32 en français)
Date Actuelle
jeu. 12 déc. - 06:03 CET
|