Skip to content

Commit bd107fe

Browse files
ankur-archclaude
andauthored
docs(compute): add Prisma Compute pricing page (#7952)
* docs(compute): add pricing page and link to it from pricing page and blogs Add a Prisma Compute pricing docs page covering the expected production rates, worked cost examples, the billing formula, and what is not billed, adapted to the Compute docs voice. Wire it into the Compute nav, link to it from the site pricing page's Compute section, and cross-link from the Compute public beta and Bun Rust rewrite posts. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * docs(compute): use pris.ly/pricing-compute, add pricing FAQ and site button Point all pricing-page references at the https://pris.ly/pricing-compute short link (blog posts and site pricing page). Add a Compute pricing FAQ answering whether it is free during beta, and add a "See pricing" button to the Compute marketing hero noting it is free while in public beta. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * docs(compute): tighten pricing prose for clarity and flow Rewrite the pricing page and FAQ entry in plainer, more connected prose: shorter declarative sentences, less rhetorical filler, no jargon, and consistent "enable production billing" phrasing throughout. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * docs(compute): add "vcpu" to cspell dictionary The billing formula uses the snake_case token active_vcpu_hours, which cspell splits into "vcpu" — flagged as unknown because, unlike "vCPU", it has no case boundary to split on. Add it to the dictionary. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * docs(compute): clearer section headings with lead-in text Rename "Examples" and "Formula" to descriptive headings and add a short sentence introducing the content below each. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * docs(compute): invite pricing feedback via Discord, restore "edge cases" Add a prominent pricing-feedback pointer to the prisma-compute Discord channel at both the top (Public Beta callout) and the end (dedicated section). Restore "edge cases" in the beta measurement note to stay faithful to the source. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * docs(compute): lead pricing "read next" with get-started quickstart Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 84e9729 commit bd107fe

8 files changed

Lines changed: 167 additions & 13 deletions

File tree

apps/blog/content/blog/bun-rust-rewrite-prisma-compute/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ A benchmark tells you one kind of truth, and a minimal repro isolates another. B
9999
This is the feedback loop open-source runtimes need. We hit failures in production, reduced them to reports someone could act on, and watched the Rust rewrite resolve several of them. We launched on the build that behaved better, and we'll keep sending what we learn upstream.
100100

101101

102-
[Prisma Compute is in public beta](https://pris.ly/compute-blog-pb) now. To try it out, sign in once:
102+
[Prisma Compute is in public beta](https://pris.ly/compute-blog-pb) now, and [free to use during the beta](https://pris.ly/pricing-compute). To try it out, sign in once:
103103

104104
```bash
105105
bunx @prisma/cli@latest auth login

apps/blog/content/blog/launching-prisma-compute-public-beta/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ With Prisma Compute, Prisma becomes a platform for product builders who want to
4646

4747
## Try it
4848

49-
Compute is in public beta starting today. Sign in once with `bunx @prisma/cli@latest auth login`, the one step that needs a human, then point your coding agent at your project and tell it:
49+
Compute is in public beta starting today, and free to use while in beta (see the [expected pricing](https://pris.ly/pricing-compute) for when production billing turns on). Sign in once with `bunx @prisma/cli@latest auth login`, the one step that needs a human, then point your coding agent at your project and tell it:
5050

5151
<AgentPrompt
5252
prompt="Deploy your app with @prisma/cli@latest."

apps/docs/content/docs/compute/faq.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,10 @@ No. Your app connects to a database through a connection string you set as an en
113113

114114
Yes. Use it to inspect projects, branches, apps, deployments, integrations, env var names, and domain status.
115115

116+
## Is Prisma Compute free?
117+
118+
Yes, Compute is free during public beta. We've published the rates we expect to charge once we enable production billing, so you can estimate future usage now. See [Pricing](https://pris.ly/pricing-compute) for the rates, worked examples, and what is not billed separately.
119+
116120
## What does Public Beta mean for Compute?
117121

118122
The core model and documented happy paths are stable enough for evaluation, staging, internal tools, and low-risk apps; details like limits, pricing, and some CLI, API, and Console behavior can still change before general availability. See [Public Beta](/console/more/feature-maturity#public-beta) on the feature maturity page.

apps/docs/content/docs/compute/meta.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
"configuration",
1818
"cli-reference",
1919
"---More---",
20+
"pricing",
2021
"faq",
2122
"limitations"
2223
]
Lines changed: 127 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,127 @@
1+
---
2+
title: Pricing
3+
description: How Prisma Compute pricing works, with the expected production rates and worked examples.
4+
url: /compute/pricing
5+
metaTitle: Pricing | Prisma Compute
6+
metaDescription: How Prisma Compute pricing works, including the expected per-meter rates, worked cost examples, the billing formula, and what is not billed.
7+
---
8+
9+
Compute is free during public beta. The rates below are what we expect to charge once we enable production billing. We are publishing them now so you can understand the model, estimate future usage, and tell us where real workloads don't fit.
10+
11+
:::info[Public Beta]
12+
13+
Prisma Compute is in [Public Beta](/console/more/feature-maturity#public-beta), so rates, limits, and included usage may change before billing begins. If something has to change, we will change it and say so clearly.
14+
15+
This pricing isn't final, and your feedback shapes it. If a rate or meter doesn't fit how your app runs, tell us in the `prisma-compute` channel on our [Discord](https://pris.ly/discord).
16+
17+
:::
18+
19+
## Expected usage rates
20+
21+
Each meter measures a different resource: how often your app runs (requests), how much memory it holds and CPU it uses while running (provisioned memory and active CPU), and how much data it sends back (outbound bandwidth).
22+
23+
| Meter | Price | What it means |
24+
| ------------------ | --------------------- | ------------------------------------------------------------------------------------- |
25+
| Requests | `$1.00 / 1M requests` | Every inbound request your app handles. |
26+
| Provisioned memory | `$0.006 / GB-hour` | Memory allocated while your app is running or intentionally kept awake. |
27+
| Active CPU | `$0.064 / vCPU-hour` | CPU time your app actually consumes. |
28+
| Outbound bandwidth | `$0.025 / GB` | Data your app sends out to the internet. Incoming requests do not count as bandwidth. |
29+
30+
## Example costs by workload
31+
32+
The three examples below show how the same rates add up for different kinds of apps, from a short-lived preview to a bandwidth-heavy service.
33+
34+
These examples are estimates, not benchmarks. The inputs are round numbers so the math is easy to follow. Each total is what the usage would cost under the expected rates, once billing starts.
35+
36+
### Preview workflow
37+
38+
A pull request might deploy a preview several times as an agent fixes and tests a change.
39+
40+
Assume the preview gets `10,000` requests, stays running for `3,000s` at `1 GB`, uses `600 vCPU-seconds` of active CPU, and sends `0.25 GB` of data out.
41+
42+
| Meter | Estimate |
43+
| ------------------ | -------------------------------------------------------- |
44+
| Requests | `10,000 * $1.00 / 1M = $0.0100` |
45+
| Provisioned memory | `3,000s at 1 GB = 0.833 GB-hours * $0.006 = $0.0050` |
46+
| Active CPU | `600 vCPU-seconds = 0.167 vCPU-hours * $0.064 = $0.0107` |
47+
| Outbound bandwidth | `0.25 GB * $0.025 = $0.0063` |
48+
| Total | `$0.0320`, about `$0.03` |
49+
50+
The usage is the bill, not the deploys or the [preview branch](/compute/branching).
51+
52+
### Agent workflow
53+
54+
Agent work often spends more time waiting on other services than running on the CPU.
55+
56+
Assume an app runs `10,000` agent tasks in a month. Each task takes `30s` wall-clock time, mostly waiting on a model API or another service. Together, the tasks stay running for `300,000s` at `1 GB`, use `30,000 vCPU-seconds` of active CPU, and send `5 GB` of data out.
57+
58+
| Meter | Estimate |
59+
| ------------------ | ---------------------------------------------------------- |
60+
| Requests | `10,000 * $1.00 / 1M = $0.0100` |
61+
| Provisioned memory | `300,000s at 1 GB = 83.33 GB-hours * $0.006 = $0.5000` |
62+
| Active CPU | `30,000 vCPU-seconds = 8.33 vCPU-hours * $0.064 = $0.5333` |
63+
| Outbound bandwidth | `5 GB * $0.025 = $0.1250` |
64+
| Total | `$1.1683`, about `$1.17` |
65+
66+
While a task waits it uses almost no CPU, so active CPU stays low. But the app keeps running the whole time, so it holds its memory and you pay for that. This is why Compute bills provisioned memory separately from active CPU.
67+
68+
### High-transfer workflow
69+
70+
If your app streams responses, returns large results, or serves file downloads, bandwidth can make up most of the bill instead of compute. It is worth estimating this before you ship.
71+
72+
Assume an app serves `50,000` requests in a month, stays running for `15,000s` at `1 GB`, uses `1,500 vCPU-seconds` of active CPU, and sends `200 GB` of data out.
73+
74+
| Meter | Estimate |
75+
| ------------------ | ---------------------------------------------------------- |
76+
| Requests | `50,000 * $1.00 / 1M = $0.0500` |
77+
| Provisioned memory | `15,000s at 1 GB = 4.167 GB-hours * $0.006 = $0.0250` |
78+
| Active CPU | `1,500 vCPU-seconds = 0.417 vCPU-hours * $0.064 = $0.0267` |
79+
| Outbound bandwidth | `200 GB * $0.025 = $5.0000` |
80+
| Total | `$5.1017`, about `$5.10` |
81+
82+
Here compute is almost free and bandwidth is nearly the whole bill. If your app moves a lot of data, estimate bandwidth first.
83+
84+
## Formula to estimate your bill
85+
86+
To estimate any month yourself, add up the four meters at their rates:
87+
88+
```text
89+
bill =
90+
requests * 1.00 / 1_000_000
91+
+ provisioned_memory_gb_hours * 0.006
92+
+ active_vcpu_hours * 0.064
93+
+ outbound_bandwidth_gb * 0.025
94+
```
95+
96+
## What is not billed separately
97+
98+
You pay for the work your app does, not for resources sitting idle. These are not billed on their own:
99+
100+
- Deployments
101+
- Preview branch creation
102+
- Inactive apps
103+
- Apps that have scaled to zero
104+
- A Prisma-specific compute unit
105+
106+
A preview branch only costs money when it does work, such as serving traffic or running a background task. Creating one is free.
107+
108+
## Usage data for humans and agents
109+
110+
The usage data shown in the [Console](https://pris.ly/pdp) is also available from the [CLI](/compute/cli-reference) and API, including as JSON. An agent can read it to estimate a cost, explain a change, or suggest a fix.
111+
112+
## Beta and bandwidth
113+
114+
Compute is free during public beta. The rates above are estimates and may change as we learn from real usage. If anything changes before we enable production billing, we will say so clearly.
115+
116+
Outbound bandwidth is the data your app sends from Compute to the public internet; inbound requests don't count. Small JSON or API responses use little of it, while streaming, file downloads, and media use much more. During beta we are measuring real traffic to confirm the rate, included usage, and edge cases before billing starts.
117+
118+
## Share your pricing feedback
119+
120+
This pricing is still taking shape during the beta, and your input shapes where it lands. If a rate, meter, or included amount doesn't match how your app actually runs, tell us in the `prisma-compute` channel on our [Discord](https://pris.ly/discord). That feedback is exactly what we are measuring against before billing turns on.
121+
122+
## What to read next
123+
124+
- [Get started](/compute/getting-started): the quickstart, deploy your first app to a live URL in two commands.
125+
- [Known limitations](/compute/limitations): what the beta can and can't do.
126+
- [FAQ](/compute/faq): quick answers to common questions.
127+
- [Branching](/compute/branching): how preview branches isolate work and when they cost money.

apps/docs/cspell.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -378,6 +378,7 @@
378378
"VARBINARY",
379379
"varbit",
380380
"VARBIT",
381+
"vcpu",
381382
"Vdbi",
382383
"veroh",
383384
"waitlist",

apps/site/src/app/compute/page.tsx

Lines changed: 24 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -317,16 +317,30 @@ export default async function Page() {
317317
to your database. A good fit for APIs and AI agents that hold state, stream responses,
318318
and keep connections open.
319319
</p>
320-
<div className="flex flex-col md:flex-row gap-4 items-center justify-center">
321-
<Button asChild variant="ppg" size="2xl">
322-
<a
323-
href="https://pris.ly/pdp?utm_source=site&utm_campaign=compute&utm_term=devrel"
324-
className="flex items-center gap-2"
325-
>
326-
<span>Try Prisma Compute</span>
327-
<i className="flex items-center fa-regular fa-arrow-up-right" aria-hidden="true" />
328-
</a>
329-
</Button>
320+
<div className="flex flex-col gap-3 items-center">
321+
<div className="flex flex-col md:flex-row gap-4 items-center justify-center">
322+
<Button asChild variant="ppg" size="2xl">
323+
<a
324+
href="https://pris.ly/pdp?utm_source=site&utm_campaign=compute&utm_term=devrel"
325+
className="flex items-center gap-2"
326+
>
327+
<span>Try Prisma Compute</span>
328+
<i className="flex items-center fa-regular fa-arrow-up-right" aria-hidden="true" />
329+
</a>
330+
</Button>
331+
<Button asChild variant="default-strong" size="2xl">
332+
<a
333+
href="https://pris.ly/pricing-compute?utm_source=site&utm_campaign=compute&utm_term=devrel"
334+
className="flex items-center gap-2"
335+
>
336+
<span>See pricing</span>
337+
<i className="flex items-center fa-regular fa-tag" aria-hidden="true" />
338+
</a>
339+
</Button>
340+
</div>
341+
<p className="text-sm text-foreground-neutral-weaker m-0">
342+
Free while in public beta.
343+
</p>
330344
</div>
331345
</div>
332346
</div>

apps/site/src/app/pricing/pricing-page-content.tsx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,14 @@ export function PricingPageContent() {
4949
Deploy TypeScript apps on Prisma Compute
5050
</h3>
5151
<p className="m-0 max-w-[560px] text-foreground-neutral-weak text-md">
52-
Prisma Compute is in Public Beta. We&apos;ll share pricing soon.
52+
Prisma Compute is free during Public Beta. See the{" "}
53+
<a
54+
className="underline underline-offset-2 decoration-[var(--color-foreground-ppg)] hover:text-foreground-neutral"
55+
href="https://pris.ly/pricing-compute"
56+
>
57+
expected pricing
58+
</a>{" "}
59+
for when production billing turns on.
5360
</p>
5461
</div>
5562
<Button asChild variant="ppg" size="2xl">

0 commit comments

Comments
 (0)