The disclosure proposes a method of producing a beverage, comprising the steps of introducing a first portion of solvent into a container (11) stored with raw ingredients, the first portion of solvent having a first temperature introducing a second portion of solvent into the container (11), the mixture of the first portion of solvent and the second portion of solvent having a second temperature that is lower than the first temperature and grinding the raw ingredients together with the mixture of the first portion of solvent and the second portion of solvent to generate the beverage. The disclosure further proposes a device (10) for producing a beverage, the device comprising a container (11) configured to receive raw ingredients a solvent provider (12) arranged on the container (11) and configured to provide solvent to the raw ingredients in the container (11) a valve arranged (13) on the solvent provider (12) and configured to be controlled to open or close to allow the solvent from the solvent provider (12) to flow into the container (11) or to prevent the solvent from flowing into the container (11) a grinding mechanism (14) configured to grind the raw ingredients in the container (11) to generate the beverage and a first heating unit (15) configured to heat the beverage.