The agent writes the code in minutes, but you still pay for tokens, reruns and your own review time. Put in your numbers and get a price you can defend.
Agents remove typing, not judgement. Planning, reading every diff, testing and calls with the client are still yours, and they are paid at your normal rate.
One clean run is the best case. Wrong turns, retries and loops usually make the real bill three to five times higher, so the buffer goes into the price up front.
Margin covers revisions and support. Below the floor you lose money on the job. If the hand-written price is much higher, you have room to charge more.
Pitwall is a macOS menu bar app for Claude Code and Codex. It shows what each session costs, pauses an agent at your $ limit and builds a client report. The free public beta is open: download Pitwall.