plandex icon indicating copy to clipboard operation
plandex copied to clipboard

Tokens usage possibly high (Openai 429 error)

Open mladen5000 opened this issue 1 year ago • 0 comments

Hey there, awesome project 👍

I hit a 429 error on the openai API and wasn't sure if this was to be expected based off my usage. I used plandex to load to add a .cc and .h file (<500 lines total) for context. My goal was to convert these files into rust. It seems like I hit 57 requests and 629,169 tokens from gpt-4-turbo. Is this to be expected? It seems a bit high but I'm not too familiar with the api usage. Plandex didn't fully translate the code and left many functions as unimplemented so I wanted to run it again but it already cost me about 10 bucks via openai.

My question might be more general misunderstanding/confusion as to how all the pieces work, so if everything is as expected, is it possible to add a bit more documentation on this matter.

mladen5000 avatar Apr 07 '24 12:04 mladen5000