Partly the costs might have been covered by the ticket fees. A $10 ticket (= 150$ nowadays) admitted three people to the ball. If 5000 people had purchased ~ 1666 tickets, roughly 250,000$ in nowadays currency terms would have been taken in. Plus the drinks were not for free: