Getting charged for multiple failed OpenAI requests? #2827
OblivionDawn
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm experimenting with Langchain+ChatGPT, and I've noticed some odd behavior. Not sure if this is part a result of Langchain's inner workings (I'm still learning about it), but it seems like when you make a request that results in a Timeout error, those multiple API calls still get counted and charged in OpenAI (example below). This can result in paying up to $0.50 for a request that didn't work. Has anyone else noticed this?
Timeout errors resulting from one run of a Langchain script:

Multiple requests being charged. They all seem to be the same request (same number of tokens everytime):

Beta Was this translation helpful? Give feedback.
All reactions