Translate text with links

I have been trying different prompts to translate a text containing hyperlinks in [web] (https://) format and I see that if the response is a bit longer (e.g. 250-300 tokens), the model takes too long to translate. Do you know how I could solve this problem? I have tried to modify the temperature but it still takes a long time (about 15 seconds to generate the final translation).