Supabase limits
What are the limitations of Supabase?
The limitations of Supabase include a 500 MB database on Free, pausing after 1 week of inactivity, and 60 direct database connections on Nano and Micro compute. Costbrake estimates Supabase spend from projects, add-ons and disk and sends a forecast alert when the month is on pace to pass your budget.
Check whether Free covers your app
Supabase Free costs $0 per month. Its unlimited API requests sit alongside separate limits:
- 50,000 monthly active users.
- A 500 MB database, shared CPU and 500 MB RAM.
- 5 GB egress and 5 GB cached egress.
- 1 GB file storage.
- 200 concurrent peak Realtime connections, 2 million messages per month and a 256 KB maximum message size.
- 500,000 Edge Function invocations.
Unlimited requests aren't unlimited resources.
Free projects pause after 1 week of inactivity. You can have 2 active Free projects across all organizations where you're an Owner or Administrator; paused projects don't count.
Free also excludes automatic database backups, point-in-time recovery and database branching. API and database logs last 1 day, Auth audit logs 1 hour.
For a prototype, those restrictions may fit. For production, check whether you can accept pausing, those recovery exclusions and that short log history. Don't decide from the request allowance alone. The pricing page lists these separately.
Separate database capacity from included usage
Pro starts at $25 per month. Paid plans include $10 per month in compute credits, enough for one Micro instance.
Pro includes 8 GB disk size per project, then $0.125 per GB. It also includes 250 GB egress, then $0.09 per GB; cached egress has a separate 250 GB allowance, then $0.03 per GB.
File storage includes 100 GB, then $0.0213 per GB. These aren't interchangeable allowances.
Pro and Team projects never pause for inactivity. Pro includes daily backups stored for 7 days and 7-day log retention. Supabase can fit production when those provisions and its resource limits match your requirements.
Check compute separately. Nano through Medium use shared CPU; Large and above use dedicated vCPUs. Compute changes usually involve less than 2 minutes of downtime, but can take longer.
Disk size can increase, not decrease. Any disk attribute change starts an approximately four-hour cooldown before another modification.
Match connections to compute, not your subscription
How many connections does Supabase allow? It depends on compute size, and direct connections aren't the same as pooler clients.
| Compute | Direct database connections | Pooler max clients | Default pool size |
|---|---|---|---|
| Nano (free) | 60 | 200 | 15 |
| Micro | 60 | 200 | 15 |
| Small | 90 | 400 | 15 |
| Medium | 120 | 600 | 15 |
| Large | 160 | 800 | 20 |
| XL | 240 | 1,000 | 20 |
| 2XL | 380 | 1,500 | 25 |
| 4XL | 480 | 3,000 | 32 |
| 8XL | 490 | 6,000 | 64 |
| 12XL | 500 | 9,000 | 96 |
| 16XL | 500 | 12,000 | 128 |
The compute documentation describes database connection counts as recommended defaults, adjustable through max_connections.
Before changing them, check your pools. Supabase recommends a pool size at or below 40% of Database Max Connections with heavy PostgREST API use, or up to 80% otherwise.
The pool size applies per database role, not project-wide. It also applies to both Supavisor and PgBouncer. Multiple roles can each open their own pool of direct connections (not a shared project total).
Check what the Spend Cap actually blocks
Subscription plans can't be mixed within an organization. Included usage quotas generally apply across the organization, with usage summed across projects; the disk allowance above is per project.
The Spend Cap is enabled by default on Pro and is only available on Pro, excluding AWS Marketplace-managed organizations.
It covers Disk Size, Egress, Edge Function Invocations, Logs Ingest, Logs Query, monthly active user categories, Realtime Messages and Peak Connections, Storage Image Transformations and Storage Size.
After a covered quota is exceeded, further usage is blocked until the next billing cycle. Consistent excess can bring service restrictions under the Fair Use Policy.
But it doesn't cap the invoice. Exclusions include:
- Compute, Branching Compute and Read Replica Compute.
- Custom Domain, IPv4 address and Point-in-Time-Recovery.
- Additional Disk IOPS and Disk Throughput.
- Log Drain Hours, Log Drain Events and Multi-Factor Authentication Phone.
There's no custom dollar budget per item and no cost-alert notifications. Review the Spend Cap exclusions before treating it as a budget control.
Test Edge Functions against runtime limits
Free includes 500,000 invocations; Pro and Team include 2 million, then charge $2 per 1 million.
Invocation allowance isn't the runtime limit. Each request gets at most 2 seconds of CPU time, excluding async I/O, and memory is capped at 256 MB.
An active worker has a wall-clock limit of 150 seconds on Free or 400 seconds on paid plans. Separately, the request idle timeout is 150 seconds and returns a 504 Gateway Timeout.
Check dependencies too. Multithreaded Node libraries such as sharp and libvips aren't supported. Bundles can reach 20 MB through the CLI, but only 5 MB when bundled server-side through the Management API or Dashboard. The function limits apply alongside billing quotas.
Check upload size separately from storage space
Free's global upload limit can't exceed 50 MB. Pro and Team allow it to be configured up to 500 GB.
A bucket's file size limit can't exceed the global setting. Check both, plus any bucket file type restrictions, against your intended uploads. The upload limits aren't the same as total storage capacity.
Monitor the costs outside the cap
Costbrake estimates Supabase spending from the plan, compute sizes, disks and add-ons at list prices. Supabase has no usage or billing API.
That leaves out usage-based egress, monthly active users, storage, function calls and Realtime. The estimate isn't a complete invoice forecast.
Costbrake offers budget, spike, forecast and new-charge alerts across providers. It has no brakes for Supabase. To connect it, follow agent setup.
Questions and answers
What are the limits of the Supabase Free plan?
Free includes a 500 MB database, 1 GB file storage, 50,000 monthly active users, 5 GB egress and 5 GB cached egress. API requests are unlimited, but compute, connections, Realtime and Edge Functions have separate limits.
How many connections does Supabase allow?
Nano and Micro have recommended defaults of 60 direct database connections and 200 pooler clients. Larger compute sizes increase those counts; pooler client capacity isn't the same as direct database connection capacity.
Does Supabase pause free projects?
Yes. Free projects pause after 1 week of inactivity, and paused projects don't count toward the 2 active Free project limit. Pro and Team projects aren't paused for inactivity.
Is Supabase good for production?
It can be, provided your workload fits the compute, connection and runtime limits. Pro removes inactivity pausing and includes daily backups stored for 7 days; Free excludes automatic backups and point-in-time recovery.
Does the Supabase Spend Cap prevent every extra charge?
No. It blocks further usage of covered items after their quotas are exceeded, but excludes compute and several add-ons. It doesn't support custom dollar budgets or cost-alert notifications.
Sources
Updated