Skip to content

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

Update EnableBranchingModal.tsx (#19736)

Jonathan Summers-Muirda182838f1a3
diff --git a/apps/docs/pages/guides/platform/branching.mdx b/apps/docs/pages/guides/platform/branching.mdx
index af05b087dfd..ff8c75378bd 100644
--- a/apps/docs/pages/guides/platform/branching.mdx
+++ b/apps/docs/pages/guides/platform/branching.mdx
@@ -627,6 +627,15 @@ If you prefer not to use branching, you can manage your environments and tests i
You can also combine both strategies to perform both local and staging tests.
+## Early Access Pricing
+
+Branching is available for Early Access, available on the Pro Plan and above.
+
+The Early Access pricing is as follows:
+
+- Each Preview branch is $0.32 per day
+- Each Preview branch is billed until it is removed
+
## Feedback
Supabase branching is a new and exciting new part of the Supabase development ecosystem. We're monitoring its success and open to any feedback.
diff --git a/apps/studio/components/interfaces/BranchManagement/CreateBranchModal.tsx b/apps/studio/components/interfaces/BranchManagement/CreateBranchModal.tsx
index 4e53b5d80fb..19e01691fc3 100644
--- a/apps/studio/components/interfaces/BranchManagement/CreateBranchModal.tsx
+++ b/apps/studio/components/interfaces/BranchManagement/CreateBranchModal.tsx
@@ -217,11 +217,10 @@ const CreateBranchModal = ({ visible, onClose }: CreateBranchModalProps) => {
<Modal.Content className="py-2">
<Alert_Shadcn_ variant="warning">
<IconAlertCircle strokeWidth={1.5} />
- <AlertTitle_Shadcn_>Preview branches are billed per hour</AlertTitle_Shadcn_>
+ <AlertTitle_Shadcn_>Preview branches are billed $0.32 per day</AlertTitle_Shadcn_>
<AlertDescription_Shadcn_>
- Launching a new preview branch incurs additional compute costs, starting at $0.01344
- per hour (~$10/month). This cost will continue for as long as the branch has not
- been removed.
+ Launching a new preview branch incurs additional compute costs of $0.32 per day.
+ This cost will continue for as long as the branch has not been removed.
</AlertDescription_Shadcn_>
</Alert_Shadcn_>
</Modal.Content>
diff --git a/apps/studio/components/layouts/AppLayout/EnableBranchingButton/EnableBranchingModal.tsx b/apps/studio/components/layouts/AppLayout/EnableBranchingButton/EnableBranchingModal.tsx
index a9bc3b15987..246f565a15e 100644
--- a/apps/studio/components/layouts/AppLayout/EnableBranchingButton/EnableBranchingModal.tsx
+++ b/apps/studio/components/layouts/AppLayout/EnableBranchingButton/EnableBranchingModal.tsx
@@ -234,12 +234,11 @@ const EnableBranchingModal = () => {
</div>
<div className="flex flex-col gap-y-1">
<p className="text-sm text-foreground">
- Preview branches are billed per hour
+ Preview branches are billed $0.32 per day (approximately $10 per month)
</p>
<p className="text-sm text-foreground-light">
- Launching a new preview branch incurs additional compute costs, starting at
- $0.01344 per hour (~$10/month). This cost will continue for as long as the
- branch has not been removed.
+ Launching a new preview branch incurs additional compute costs at $0.32 per
+ day. This cost will continue for as long as the branch has not been removed.
</p>
</div>
</div>