A beverage-service system where the host provides and pays for all of the drinks (i.e. free for guests) is known as an open bar.
The opposite of an open bar is a cash bar.
Merriam-Webster Online Dictionaryopen bar (noun)
a bar (as at a wedding reception) at which drinks are served free - compare cash bar