Replit Docs

2 min read Original article ↗

Replit’s publishing costs are designed to scale with your app’s needs. Choose from usage-based billing that charges only when your app serves requests, or predictable flat-rate options for consistent workloads.

How billing works

All publishing costs are deducted from your monthly credits. You only pay usage-based fees after your monthly credits are fully used.

  • Starter Plan: Includes 1 free published app. The deployment expires after 30 days but can be re-published. See Starter Plan for details.
  • Core Plan: Includes in monthly credits
  • Teams Plan: Includes in monthly credits per member

For a hands-on understanding of publishing costs, explore our interactive pricing calculator.

Deployment types

Choose the deployment type that best fits your app’s traffic patterns and resource needs.

Understanding request-based billing

Autoscale Deployments use request-based billing—you’re charged only when your app serves traffic. Here’s how it works:

  1. App starts up when the first request arrives (if idle)
  2. Processes the request using compute resources
  3. Goes idle after 15 minutes of inactivity

Billing time: Often just 1-2 seconds per request, even for complex apps.

Request-based Billing Timeline

When no one visits your app, you pay nothing. When your app is busy, you pay for the compute resources used. Here’s a timeline of what happens when someone visits your app:

Request-based Billing Timeline

First, the server starts up. Then, it processes the requests. Finally, it goes idle. You only pay for CPU and memory during request processing.

The gaps between green bars represent cost savings during idle time. At the end of the session, the server shuts down.

Compute units explained

Compute units measure the computational work your app performs:

  • CPU time: Processing power used (1 CPU second = 18 compute units)
  • Memory time: RAM consumed (1 GB-second = 2 compute units)
  • Duration: How long your app works on each request

Pricing breakdown

Cost examples by app type

These examples show realistic costs for different types of applications.

Monitor and control costs