diff --git a/site/public/docs/cloud-ee/pricing.md b/site/public/docs/cloud-ee/pricing.md new file mode 100644 index 0000000000..9e070e2992 --- /dev/null +++ b/site/public/docs/cloud-ee/pricing.md @@ -0,0 +1,71 @@ +# Billing + +Deploy your application using the model that best fits your needs. All are billed based on usage. + +| Product | Description | Ideal Use Cases | +|-------------|------------------------------------------------------------------|---------------------------------------------------------| +| Functions | Stateless, event-driven code that responds to HTTP requests. | APIs, webhooks, microservices. | +| Containers | Full control over your runtime environment with Docker containers.| Long-running services, custom environments. | +| Actors | Resilient, stateful services that maintain state between requests.| WebSocket servers, game backends, real-time collaboration. | + +## Usage Pricing + +### Network + +| Resource | Pricing | Notes | +|-----------------|--------------------------------------|------------------------------------------------------------| +| Ingress | Free | No charges for incoming data. | +| Egress | $0.15 per GB | Charges apply to outgoing data. | + +### Storage + +Applies to Actors and Containers. + +| Resource | Pricing | +|-----------------|--------------------------------------| +| Save State Reads | 1M included, then $0.20 per million | +| Save State Writes | 1M included, then $1.00 per million | +| Stored Data | $0.40 per GB-month | + +### Actions + +Applies to Actor actions and workflow executions. + +| Resource | Pricing | +|-----------------|--------------------------------------| +| Actions | 1M included, then $0.15 per million | + +## Sample Scenarios + +| Use Case | Setup | Usage | Monthly Cost | +|----------------------------------------|------------------------------|-------|--------------| +| Storage-heavy app | 10GB storage, 5M reads, 1M writes | 10GB × $0.40 = $4.00(5M–1M) reads = $0.80(1M–1M) writes = $0.00 | $4.80 | +| Workflow with Actions | 1M actions/month | 1M actions included = $0.00 | $0.00 | +| High-volume Actions | 2M actions/month | (2M–1M) actions × $0.15/1M = $0.15 | $0.15 | +| High-bandwidth app | 1TB egress/month | 1TB × $0.15 = $150 | $150.00 | + +## Contact Sales + +For detailed pricing information or to discuss custom requirements, please [contact our sales team](/sales). + +## FAQ + +### How is usage calculated? +Usage is calculated based on actual resource consumption, including network bandwidth, save state operations, and actions. + +### What are Save State Reads and Writes? +Save State operations occur when Actor state is persisted: +- **Save State Reads**: When an Actor wakes up and loads its state from storage +- **Save State Writes**: When Actor state is saved (defaults to every 10 seconds if there are changes, or on `c.saveState()`) + +### What are Actions? +Actions are method calls on your Actors (e.g., `await actor.myAction()`). The first 1 million actions per month are included, then $0.15 per million actions. + +### Can I upgrade or downgrade my plan? +Yes, you can change your plan at any time. Changes take effect at the start of your next billing cycle. + +### Do you offer volume discounts? +Yes, we offer volume discounts for larger deployments. Contact our sales team for more information. + +### What is the minimum memory allocation for containers? +You can allocate as little as 128MB of memory for containers. \ No newline at end of file diff --git a/website/src/app/(v2)/(marketing)/pricing/PricingPageClient.tsx b/website/src/app/(v2)/(marketing)/pricing/PricingPageClient.tsx index 1c38c95e5d..8e07b060a5 100644 --- a/website/src/app/(v2)/(marketing)/pricing/PricingPageClient.tsx +++ b/website/src/app/(v2)/(marketing)/pricing/PricingPageClient.tsx @@ -12,9 +12,10 @@ const tiers = [ priceMonthly: "$0", href: "https://dashboard.rivet.dev/", highlights: [ - { description: "5GB Limit", icon: "check" }, - { description: "5 Million Writes /mo Limit", icon: "check" }, - { description: "200 Million Reads /mo Limit", icon: "check" }, + { description: "5GB Storage Limit", icon: "check" }, + { description: "5 Million Save State Writes /mo Limit", icon: "check" }, + { description: "200 Million Save State Reads /mo Limit", icon: "check" }, + { description: "1 Million Actions /mo Limit", icon: "check" }, { description: "100GB Egress Limit", icon: "check" }, { description: "Community Support", icon: "check" }, ], @@ -24,8 +25,9 @@ const tiers = [ priceMonthly: "$5", href: "https://dashboard.rivet.dev/", highlights: [ - { description: "25 Billion Reads /mo included", icon: "gift" }, - { description: "50 Million Writes /mo included", icon: "gift" }, + { description: "25 Billion Save State Reads /mo included", icon: "gift" }, + { description: "50 Million Save State Writes /mo included", icon: "gift" }, + { description: "1 Million Actions /mo included", icon: "gift" }, { description: "5GB Storage included", icon: "gift" }, { description: "1TB Egress included", icon: "gift" }, { description: "Email Support", icon: "check" }, @@ -36,8 +38,9 @@ const tiers = [ priceMonthly: "$200", href: "https://dashboard.rivet.dev/", highlights: [ - { description: "25 Billion Reads /mo included", icon: "gift" }, - { description: "50 Million Writes /mo included", icon: "gift" }, + { description: "25 Billion Save State Reads /mo included", icon: "gift" }, + { description: "50 Million Save State Writes /mo included", icon: "gift" }, + { description: "1 Million Actions /mo included", icon: "gift" }, { description: "5GB Storage included", icon: "gift" }, { description: "1TB Egress included", icon: "gift" }, { description: "MFA", icon: "check" }, @@ -76,7 +79,7 @@ const sections = [ }, }, { - name: "Reads per month", + name: "Save State Reads per month", tiers: { Free: "200 Million", Hobby: "25 Billion included", @@ -85,7 +88,7 @@ const sections = [ }, }, { - name: "Writes per month", + name: "Save State Writes per month", tiers: { Free: "5 Million", Hobby: "50 Million included", @@ -93,6 +96,15 @@ const sections = [ Enterprise: "Custom", }, }, + { + name: "Actions per month", + tiers: { + Free: "1 Million", + Hobby: "1 Million included", + Team: "1 Million included", + Enterprise: "Custom", + }, + }, { name: "Egress", tiers: { @@ -420,28 +432,36 @@ function UsagePricingTable() {