As you’re arriving at 6:30pm I think a hotel is worth it despite the early start. However, if you stay at the TWA hotel you may want to check the operating times of the Airtrain.
If you can then you could stay in the AA lounge until it closes and then camp out in the lounge until the morning.