Skip to main content

Database billing

Each database is free within its CPU, memory, and storage ceiling. Only usage above a ceiling is billed; there is no base charge.

Free ceiling

Every database is free at or below all three of these:

ResourceFree ceiling
CPU1 vCPU
Memory1024 MB (1 GB)
Storage1024 MB (1 GB)

A database within every ceiling needs no payment method.

Metered rates above the ceiling

Scaling above a ceiling requires a card or positive credit balance in the current project. Scaling back down never does.

AxisRate above ceiling
CPU$0.03 per vCPU-hour
Memory$0.003 per GB-hour
Storage$0.003 per GB per day

Compute is metered as resource-hours and reported hourly; the CPU and memory ceilings are allowances per metered hour, so your free allowance for a cycle is the ceiling multiplied by the hours actually collected. Storage is metered as GB-days and reported daily.

Above-ceiling compute quantities round up to a whole vCPU-hour or GB-hour, and storage rounds up to a whole GB-day. Each line is rounded to cents once, and any positive overage bills at least one cent. Usage within the ceiling remains free.

A cycle is priced at the rates in force when it started, so a rate change applies from your next cycle unless it was scheduled for a date inside the current one.

Example

A database at 4 GB memory and 6 GB storage for every hour of a 30-day cycle (720 metered hours).

AxisCalculationCost
Memory4 GB x 720 hours = 2880 GB-hours, less the 1 x 720 = 720 GB-hour allowance: 2160 GB-hours x $0.003$6.48
Storage(6 - 1) GB above the ceiling x 30 days = 150 GB-days x $0.003$0.45
Total$6.93

CPU stays at or below 1 vCPU here, so it costs nothing. If you resize storage mid-cycle, each storage size appears as its own line with the number of days it was held.

Viewing database costs

To view your database costs:

  1. Navigate to BillingCost Breakdown
  2. Select the Databases view
  3. Choose a billing cycle date range
  4. View the cost breakdown by database

The breakdown shows usage, usage above the ceiling, unit price, and total cost. Set a billing-cycle spending limit to block new above-ceiling actions at the limit while keeping running databases online.