Nowadays, optical systems play an important role in communications. Dual depletion PIN photodiodes are common devices that can operate in different optical bands, depending on the chosen semiconductors. However, since semiconductor properties vary with the surrounding conditions, some optical devices/systems can act as sensors. In this research work, a numerical model is implemented to analyze the frequency response of this kind of structure. It considers both transit time and capacitive effects, and can be applied to compute photodiode frequency response under nonuniform illumination. The InP-In0.53Ga0.47As photodiode is usually used to convert optical into electrical power at wavelengths around 1300 nm (O-band). This model is implemented considering an input frequency variation of up to 100 GHz. The focus of this research work was essentially the determination of the device’s bandwidth from the computed spectra. This was performed at three different temperatures: 275 K, 300 K, and 325 K. The aim of this research work was to analyze if a InP-In0.53Ga0.47As photodiode can act as a temperature sensor, to detect temperature variations. Furthermore, the device dimensions were optimized, to obtain a temperature sensor. The optimized device, for a 6 V applied voltage and an active area of 500μm2, had a total length of 2.536μm, in which 53.95% corresponded to the absorption region. In these conditions, if the temperature increases 25 K from the room temperature, one should expect a bandwidth increase of 8.374 GHz, and if it decreases 25 K from that reference, the bandwidth should reduce by 3.620 GHz. This temperature sensor could be incorporated in common InP photonic integrated circuits, which are commonly used in telecommunications.