I have found Gemini to be slow when the prompt is complex. to improve on its speed make the prompt with less constraint it has to solve on its own