Open cliffordh opened 9 months ago
The token cost is already computed to avoid exceeding the context window in this app. Do you mean you want to see the cost in UI?
Or do you mean the cost of money?
Yes, cost of $$. Needs to be localized, but something like this:
I see. I will give it a low priority because the chat service part may need some rewriting to support custom chat services from extensions. I will think about it at that time.
Before Requesting
What feature do you want?
I use Niek/chatgpt-web that has a neat feature to estimate cost per request and total cost.
https://github.com/search?q=repo%3ANiek%2Fchatgpt-web+tokens&type=code
Would love to see something similar in CPX.