A device for the dosed dispensing of a medium (e.g., therapeutic and/or diagnostic agent) for an insulin pump is proposed. The device comprises a transporting and transferring container, a measuring element, and an adjusting element for influencing a dispensing of the medium by way of a connection to an interior space. The transporting and transferring container has a reservoir for receiving the medium. The reservoir is closed by a displaceable element. The displaceable element is movably mounted in relation to the reservoir. A relative positioning of the displaceable element in relation to the reservoir determines the interior space of the reservoir available for receiving the medium. The measuring element senses the relative positioning of the displaceable element in relation to the reservoir. The measuring element and the adjusting element interact so that the dispensing of the medium is influenced by the relative positioning sensed by the measuring element.