Device for filling a fill product into a container to be filled in a beverage filling plant, namely for filling a carbonated beverage or for hot filling a beverage, comprising a fill product reservoir and a filling member, in fluid communication therewith via a fill product channel, for introducing the fill product into the container to be filled, wherein the filling member communicates via media channels (5, 6), comprising a first media channel and a second media channel, for providing media flows for the following functions during the filling process: - flushing the container with a flushing gas before it is filled with the fill product and/or - pressurising the container with a pressurising gas to a pressurising pressure before said container is filled with the fill product when filling a carbonated fill product and/or - returning gas displaced during filling of the container with the fill product and/or - relieving a gas overpressure built up in the container after said container is filled with the fill product and/or - circulating a hot fill product through the filling member to control the temperature of the filling member during hot filling, wherein a media channel (5, 6) is assigned at least two of the aforementioned functions, the device is configured in a first operating state to fill a carbonated fill product and in a second operating state to hot-fill a fill product, and the second media channel is configured in the first operating state to relieve a gas overpressure built up in the container after said container is filled with the fill product and is configured in the second operating state to circulate a hot fill product through the filling member to control the temperature of the filling member during hot filling, characterised in that the second media channel has a switch valve for selectively providing fluid communication with the fill product reservoir and/or the fill product channel or with the surrounding environment. - flushing the container with a flushing gas before it is filled with the fill product and/or - pressurising the container with a pressurising gas to a pressurising pressure before said container is filled with the fill product when filling a carbonated fill product and/or - returning gas displaced during filling of the container with the fill product and/or - relieving a gas overpressure built up in the container after said container is filled with the fill product and/or - circulating a hot fill product through the filling member to control the temperature of the filling member during hot filling, wherein a media channel (5, 6) is assigned at least two of the aforementioned functions, the device is configured in a first operating state to fill a carbonated fill product and in a second operating state to hot-fill a fill product, and the second media channel is configured in the first operating state to relieve a gas overpressure built up in the container after said container is filled with the fill product and is configured in the second operating state to circulate a hot fill product through the filling member to control the temperature of the filling member during hot filling, characterised in that the second media channel has a switch valve for selectively providing fluid communication with the fill product reservoir and/or the fill product channel or with the surrounding environment.