All limits apply per version unless noted otherwise.
Per-run limits
Limit
Default
Notes
Max memory
512 MB
Fixed per execution; not configurable
Max timeout
300 seconds
Fixed per execution; exceeding it returns HTTP 408
CPU
2.0 cores
Fixed per execution
When a run exceeds the timeout limit, the request returns a 408 error and the handler is killed. Memory exhaustion fails the run.
Python 3.13 functions set to Compute Type: GPU get higher defaults - 8192 MB max memory and a 600 second max timeout - to cover GPU cold-start cost. See GPU compute.