Usage Calculator

Estimate your monthly compute units based on your infrastructure and deployment patterns.

Configure your usage

Breakdown

Per Deployment

Build CPU
Build Memory
Runtime CPU
Runtime Memory
Per deploy total

Monthly Total

How compute units work

CPU Units

500m CPU for 60 min

Memory Units

Total

Total = CPU units + Memory units.

Both build-time and runtime count.

Example

A service running 500m CPU + 1Gi memory for 1 hour:

Default resource limits

These defaults are used when no custom limits are configured on your repository.

Build-time

When your Docker images are being built.

CPU
1000m (1 core)
Memory
2Gi (2048 MiB)

Runtime

When your services are running and accessible.

CPU
500m (0.5 cores)
Memory
512Mi

Frequently asked questions

What counts as a compute unit?

Compute units measure CPU and memory usage over time. Rates are loaded from our billing API. Both build-time and runtime are tracked separately and added together.

What's the difference between build and runtime?

Build-time is when your Docker images are being built (typically 1-10 minutes). Runtime is when your services are running and accessible via their preview URL. Both consume compute units, but build-time typically uses more CPU (default 1 core) while runtime uses less (default 500m).

Can I customize the resource limits?

Yes. You can configure CPU and memory limits per repository in your repository settings. The calculator above uses the runtime values you select, while build resources use the fixed defaults (1 core CPU, 2Gi memory) which reflect actual build requirements.

How is the number of services determined?

The number of services comes from your docker-compose.yml file. Each service defined in the compose file is built and run separately, so a 3-service app uses 3x the resources of a single-service app.

What happens if I exceed my plan's included units?

Pay-as-you-go has no cap — you pay per unit above 25k free. Team allows up to 500k overage, and Org has unlimited overage. See all plans.

Is there a free tier?

Yes. Pay-as-you-go has no monthly fee and the first 25,000 compute units each month are free. That's enough for light personal use — a few services running a few hours per day.

Ready to get started?

Deploy your first preview environment in under 5 minutes.