An injection molding apparatus for manufacturing preforms for bottles, comprising a robot device having at least one robot arm, provided with a number of receiving tubes for preforms, the preforms in operation being disposed in the tubes such that a collar and a screw thread portion of the neck of the bottles to be formed reach outside the receiving tubes, and further comprising a mechanical pull-out device for removing preforms from the robot device, the pull-out device comprising a number of clamping elements which are positioned opposite the at least one robot arm if the robot arm is in a predetermined ejection position, while first driving means for the clamping elements are provided, which can move the clamping elements towards the receiving tubes of the robot arm and away therefrom, respectively, and second driving means which can bring the clamping elements into a closed clamping position or an open position, as well as control means for the first and second driving means, the control means being arranged to bring, in a first step, the damping elements in the open position to the receiving tubes with preforms, in a second step to close the clamping elements, and in a third step to move the closed clamping elements away from the receiving tubes, whereby the preforms are at least partly pulled from the receiving tubes, characterized in that the pull-out device is a stationary device, that the clamping elements are arranged to engage, in the second step, behind a collar of a preform, and that the clamping elements drop the preforms after the third step.