Limits
Limits applied Edge Functions in Supabase's hosted platform.
A guide from Supabase
Apps on Plentiful run on Supabase's open-source database, sign-in, file storage and live updates, so most of this guide applies. The differences: your app reaches its database through its own server — not Supabase's data API (supabase.from(…)) — there are no Edge Functions (your app's server does that work), and scheduled work uses Jobs. Where it says "Supabase dashboard", use your app's Dashboard. Ask the builder when in doubt.
Runtime limits#
- Maximum Memory: 256MB
- Maximum Duration (Wall clock limit):
This is the duration an Edge Function worker will stay active. During this period, a worker can serve multiple requests or process background tasks.
- Free plan: 150s
- Paid plans: 400s
- Maximum CPU Time: 2s (Amount of actual time spent on the CPU per request - does not include async I/O.)
- Request idle timeout: 150s (If an Edge Function doesn't send a response before the timeout, 504 Gateway Timeout will be returned)
Platform limits#
- Maximum Function Size: 20MB (After bundling using CLI)
- Maximum no. of Functions per project:
- Free: 100
- Pro: 500
- Team: 1000
- Enterprise: Unlimited
- Maximum log message length: 10,000 characters
- Log event threshold: 100 events per 10 seconds
- Recursive/Nested Function Calling: ~5000 requests per minute more details
Secrets#
- Maximum number of secrets per project: 100
- Secret name length: up to 256 characters
- Maximum secret size: 48 KiB (24,576 characters)
- Names must NOT start with the prefix
SUPABASE_(this prefix is reserved).
Other limits & restrictions#
- Outgoing connections to ports
25and587are not allowed. - Serving of HTML content is only supported with custom domains (Otherwise
GETrequests that returntext/htmlwill be rewritten totext/plain). - Web Worker API (or Node
vmAPI) are not available. - Static files cannot be deployed using the API flag. You need to build them with Docker on the CLI.
- Node Libraries that require multithreading are not supported. Examples:
libvips, sharp.