Been using system message with GPT4 and it's supposed to follow that better, but that's a good idea. Will experiment with that.
Cost is somewhere between 1 cent to 10 cents per iteration (follow up iterations include all previous code so it's a lot of tokens).