I'm sorry this happened.
Do you mean while in the middle of a long build the project crashed? And then you lost the progress of that prompt and money was wasted on that prompt?
I believe the progress of work done shouldn't have been lost. A lot of work would have happened in the original prompt before the error and when you re-enter the prompt, while it does start reasoning over again, it would not have to write all of the code again because it would see what is already in place and pick up where you left off. It's possible some funds are seen as wasted, but honestly in the end it probably evens out because the longer a prompt and conversation gets, the more expensive it gets as the context window grows. Restarting, even while due to an error, is sometimes more beneficial.
All of that said, no one likes crashes. We have a solution coming that should help eliminate a lot of these issues in the near future. Stay tuned for "ACT II".
