Closed dhruv-anand-aintech closed 1 year ago
the openai library returns the number of tokens with each response. However, the pricing keeps changing. Is there a way you can add the dollar amount to that response, or a function for the same in tiktoken?
Out of scope for this library, maybe make the feature request over at https://github.com/openai/openai-python
the openai library returns the number of tokens with each response. However, the pricing keeps changing. Is there a way you can add the dollar amount to that response, or a function for the same in tiktoken?