You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could there be away to estimate the cost of a request before making it? Apologies if this is already possible, I couldn't find it. I'm thinking of something similar to the -t option of https://github.com/npiv/chatblade
The text was updated successfully, but these errors were encountered:
#82 support inspect the token usage of request/prompt message.
actual_fee = prompt_tokens * prompt_price + completion_tokens * completion_price.
Usually completion_tokens has a greater impact. Merely evaluating the cost of request messages is not meaningful.
Could there be away to estimate the cost of a request before making it? Apologies if this is already possible, I couldn't find it. I'm thinking of something similar to the
-t
option of https://github.com/npiv/chatbladeThe text was updated successfully, but these errors were encountered: