This is also an important feature that all developers need to have for creating commercial apps. I wanted to create a feature request topic for this in the API & Feedback category.
3 Likes
I second that! We cannot use the feature in commercial (or even personal use) if we don’t know what it costs! If a chat session costs $0.05 or $5.00 makes a big difference. What would be ideal is that you actually return cost in addition to tokens. No reason why I need to do that calculations when you have that info already (which is how you charge me).