|
| 1 | +# Billing |
| 2 | + |
| 3 | +Deploy your application using the model that best fits your needs. All are billed based on usage. |
| 4 | + |
| 5 | +| Product | Description | Ideal Use Cases | |
| 6 | +|-------------|------------------------------------------------------------------|---------------------------------------------------------| |
| 7 | +| Functions | Stateless, event-driven code that responds to HTTP requests. | APIs, webhooks, microservices. | |
| 8 | +| Containers | Full control over your runtime environment with Docker containers.| Long-running services, custom environments. | |
| 9 | +| Actors | Resilient, stateful services that maintain state between requests.| WebSocket servers, game backends, real-time collaboration. | |
| 10 | + |
| 11 | +## Usage Pricing |
| 12 | + |
| 13 | +### Network |
| 14 | + |
| 15 | +| Resource | Pricing | Notes | |
| 16 | +|-----------------|--------------------------------------|------------------------------------------------------------| |
| 17 | +| Ingress | Free | No charges for incoming data. | |
| 18 | +| Egress | $0.15 per GB | Charges apply to outgoing data. | |
| 19 | + |
| 20 | +### Storage |
| 21 | + |
| 22 | +Applies to Actors and Containers. |
| 23 | + |
| 24 | +| Resource | Pricing | |
| 25 | +|-----------------|--------------------------------------| |
| 26 | +| Save State Reads | 1M included, then $0.20 per million | |
| 27 | +| Save State Writes | 1M included, then $1.00 per million | |
| 28 | +| Stored Data | $0.40 per GB-month | |
| 29 | + |
| 30 | +### Actions |
| 31 | + |
| 32 | +Applies to Actor actions and workflow executions. |
| 33 | + |
| 34 | +| Resource | Pricing | |
| 35 | +|-----------------|--------------------------------------| |
| 36 | +| Actions | 1M included, then $0.15 per million | |
| 37 | + |
| 38 | +## Sample Scenarios |
| 39 | + |
| 40 | +| Use Case | Setup | Usage | Monthly Cost | |
| 41 | +|----------------------------------------|------------------------------|-------|--------------| |
| 42 | +| 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 | |
| 43 | +| Workflow with Actions | 1M actions/month | 1M actions included = $0.00 | $0.00 | |
| 44 | +| High-volume Actions | 2M actions/month | (2M–1M) actions × $0.15/1M = $0.15 | $0.15 | |
| 45 | +| High-bandwidth app | 1TB egress/month | 1TB × $0.15 = $150 | $150.00 | |
| 46 | + |
| 47 | +## Contact Sales |
| 48 | + |
| 49 | +For detailed pricing information or to discuss custom requirements, please [contact our sales team](/sales). |
| 50 | + |
| 51 | +## FAQ |
| 52 | + |
| 53 | +### How is usage calculated? |
| 54 | +Usage is calculated based on actual resource consumption, including network bandwidth, save state operations, and actions. |
| 55 | + |
| 56 | +### What are Save State Reads and Writes? |
| 57 | +Save State operations occur when Actor state is persisted: |
| 58 | +- **Save State Reads**: When an Actor wakes up and loads its state from storage |
| 59 | +- **Save State Writes**: When Actor state is saved (defaults to every 10 seconds if there are changes, or on `c.saveState()`) |
| 60 | + |
| 61 | +### What are Actions? |
| 62 | +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. |
| 63 | + |
| 64 | +### Can I upgrade or downgrade my plan? |
| 65 | +Yes, you can change your plan at any time. Changes take effect at the start of your next billing cycle. |
| 66 | + |
| 67 | +### Do you offer volume discounts? |
| 68 | +Yes, we offer volume discounts for larger deployments. Contact our sales team for more information. |
| 69 | + |
| 70 | +### What is the minimum memory allocation for containers? |
| 71 | +You can allocate as little as 128MB of memory for containers. |
0 commit comments