I wouldn't jump to conclusions yet. The war is not over. I wouldn't even be so sure as to say Iran is in a good place right now.
Iran can absorb more pain than the US, but even that has a deadline. For the US, the only pain is inflation, which is more a matter of political capital than anything tangible. Trump is a lame duck president so I think he's more than happy to spend his political capital on this.
It's different for Iran. The main concern with a prolonged conflict is a lack of oil storage space. Once the tanks are full you have to cap the wells which is nigh disastrous for Iran because of the cost and difficulty of reactivating those wells later on.
To be clear, I'm not saying the US is going to come out victorious. But war is complex and it's a folly to predict any outcomes this early on.