Subtitle translations - Slowness

I want to translate subtitles via gpt but the output is very slow. For example, let’s say I have a text with 300 timecodes, it takes 5 minutes for the first 40 timecodes to come out and it costs me time.
Does anyone know the solution to this, that is, how can we get the output faster?