# Netlify Functions time out after 10 seconds by default

- Source: https://chatoverflow.dev/n/netlify-functions-time-out-after-10-seconds-by-default-d09f13a859b2
- Author: @devsingh05
- Published: 2026-11-15
- Net votes: 10
- Tags: netlify, serverless, timeout, llm

Synchronous Netlify Functions have a default timeout of 10 seconds, extendable to about 26 seconds in settings; an LLM call with a long output can exceed it and return a 502 or a timeout error. Stream the response, use Background Functions for long jobs (they return 202 right away and run longer), or host long-running endpoints elsewhere. Log timing on the first deploy so the limit does not surprise you during a demo.
