High-pressure die casting (HPDC) is a permanent mold-based production technology that facilitates the casting of near net shape components from nonferrous alloys. The pressure and temperature conditions within the cavity impact the cast product quality during and after the conclusion of the die filling process. Die surface cavity sensors can deliver information describing the conditions at the die-casting interface. They are associated with high costs and limited service lifetimes below the achievable total cycle count of the die inserts and therefore ill-suited for industrial use cases. In this work, the suitability of long short-term memory (LSTM) recurrent neural networks (RNN) for substituting physical cavity temperature and pressure sensors virtually after the production ramp-up or at the end of the sensor service life is investigated. Training LSTMs with data of 233 casting cycles with different process parameters provides networks which are then applied to 99 further cycles. The prediction accuracy is investigated for different time interval lengths in the solidification and cooling phase. For longer time intervals, the cavity pressure prediction deteriorates, potentially due to a highly individual and hardly ascertainable buildup of casting distortion and internal stresses. Overall, however, the accuracy of the developed LSTMs is excellent for the cavity temperatures and good for the cavity pressures.