Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

fix: Update function docs to include platform limits + remove them from pricing page (#34850)

Lakshan Pererae4e3668cc93e
diff --git a/apps/docs/content/guides/functions/limits.mdx b/apps/docs/content/guides/functions/limits.mdx
index 829482dd7ef..0fd34dfa685 100644
--- a/apps/docs/content/guides/functions/limits.mdx
+++ b/apps/docs/content/guides/functions/limits.mdx
@@ -14,7 +14,15 @@ subtitle: "Limits applied Edge Functions in Supabase's hosted platform."
- 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
diff --git a/packages/shared-data/pricing.ts b/packages/shared-data/pricing.ts
index 90e3e8c0cbd..1bb453eb2d9 100644
--- a/packages/shared-data/pricing.ts
+++ b/packages/shared-data/pricing.ts
@@ -477,17 +477,6 @@ export const pricing: Pricing = {
},
usage_based: true,
},
- {
- key: 'functions.scriptSize',
- title: 'Script size',
- plans: {
- free: '20 MB',
- pro: '20 MB',
- team: '20 MB',
- enterprise: 'Custom',
- },
- usage_based: false,
- },
],
},
realtime: {