Hey there,
is there any option to gather information about the cost using API?
Generally, need a piece of information about the cost for the desired time period. Is there any API option (didn’t find it in the official API reference).
Thanks!
Hey there,
is there any option to gather information about the cost using API?
Generally, need a piece of information about the cost for the desired time period. Is there any API option (didn’t find it in the official API reference).
Thanks!
Hi and welcome to the developer forum!
There is no API for account information and costings. Currently you need to implement such a system yourself by logging token counts and API model calls.
You could try llm.report (I have not yet tried it by myself)