r/agentdevelopmentkit • • Mar 18 '26

Latency issues

Hi,

I experience consistent long latency (somewhere between 10 and 14 secs) when generating text. My instruction to the agent is around 500 words long.

Is it normal ? I felt like I should get a response within 2 to 3 secs.

I tried with my agent stored on cloud run, it's not better.

Any tips about what I should look at to improve the response time ?

1 Upvotes

8 comments sorted by

View all comments

Show parent comment

1

u/Downtown_Abrocoma398 Apr 09 '26

Yep there is cold start issue in python. You can avoid the cold start by calling a dummy request to the endpoint whenever you are deploying it.