Docs menu

Compute

Compute is the CPU and memory a formation runs on, sized per formation and metered by the minute.

On this page

Compute is the CPU and memory your app runs on. You pick a Formation Size for each formation (web, worker, and any other process type you declare), and Primcloud meters it by the minute from when the formation starts. Rates are quoted per hour, and you pay for the exact time each formation ran, with no minimum.

Sizes#

Standard sizes are shared CPU, not dedicated, and differ by memory. Performance sizes are dedicated CPU.

Name CPU Memory Hourly Monthly (720h)
Standard 1x Shared 512 MB $0.007 $5.04
Standard 2x Shared 1 GB $0.014 $10.08
Standard 4x Shared 2 GB $0.028 $20.16
Performance 1x 1 2 GB $0.0695 $50.04
Performance 2x 2 4 GB $0.139 $100.08
Performance 4x 4 8 GB $0.278 $200.16
Performance 8x 8 16 GB $0.556 $400.32

Important

A size's memory is a hard limit. An app that uses more is restarted.

Standard suits most web apps and background workers. Choose Performance when your app needs dedicated CPU: heavy computation, or latency-sensitive services under sustained load.

Sizing per formation#

Each formation has its own size. Your web formation can run on Performance 2x while a worker runs on Standard 1x. Where an application has more than one environment, each environment's formations are sized separately.

The compute size selector grouped into Standard and Performance tiers, each size labeled with its vCPU and memory, the current size checked

A formation's size sets how much CPU and memory each copy of it gets, and its Instances count sets how many copies run. Change either without touching the other. On Pro and Team, smart autoscaling moves Instances within a range you set; it doesn't change the size.

Changing a size#

Change a formation's Formation Size in the Pod Formations panel. Saving deploys your live build again at the new size, without rebuilding and with no dropped requests, and the deployment appears in your history.

Moving to a smaller size is always allowed. Moving to a larger one needs your account in good standing; see Past-due & Suspension.

How it's billed#

Compute is metered by the minute from when a formation starts, with nothing rounded up to the hour. Scaling down, to fewer Instances, a smaller size, or zero, lowers the bill the same minute. See Plans for how compute fits with your plan.