Why is my agent slow in self hosted env(via Docker) of n8n

Describe the problem/error/question

When i use agents they take around 50 sec for giving response.Even for simple Hi input it takes 27-30 sec. I am using google chat model(gemini 2.0 flash) .

Information on your n8n setup

  • **n8n version:**1.88.0
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • **Running n8n via (Docker, npm, n8n cloud, desktop app):**self-hosted via docker
  • Operating system:

Please share your workflow

hey @surya_tej ,

Try your workflow on the n8n cloud version using the free trial if you didn’t use it yet.
Check if it’s faster or not first.