Database Billing
This page explains how database billing works on Hostless.
Pricing Tiers
FREE Tier
Every account includes one free database with:
| Resource | Included |
|---|---|
| CPU | 0.1 vCPU |
| Memory | 512 MB |
| Storage | 256 MB |
FREE tier limitations:
- Only 1 database per account
- Resources cannot be scaled
- Fixed resource allocation
UNLEASHED Tier
Unleashed databases are billed based on resource usage:
| Resource | Price |
|---|---|
| CPU | $0.03 per vCPU per hour |
| Memory | $0.003 per MB per hour |
| Storage | $0.10 per GB per hour |
| Daily Base | $0.50 per day |
Resource limits for Unleashed:
| Resource | Maximum |
|---|---|
| CPU | 1 vCPU |
| Memory | 16 GB |
| Storage | 50 GB |
Example Cost Calculations
Small Database
Configuration: 0.5 vCPU, 1 GB memory, 10 GB storage
| Resource | Calculation | Daily Cost |
|---|---|---|
| CPU | 0.5 vCPU × $0.03 × 24 hrs | $0.36 |
| Memory | 1024 MB × $0.003 × 24 hrs | $73.73 |
| Storage | 10 GB × $0.10 × 24 hrs | $24.00 |
| Daily Base | - | $0.50 |
| Total | $98.59/day |
Production Database
Configuration: 2 vCPU, 4 GB memory, 50 GB storage
| Resource | Calculation | Daily Cost |
|---|---|---|
| CPU | 2 vCPU × $0.03 × 24 hrs | $1.44 |
| Memory | 4096 MB × $0.003 × 24 hrs | $294.91 |
| Storage | 50 GB × $0.10 × 24 hrs | $120.00 |
| Daily Base | - | $0.50 |
| Total | $416.85/day |
Viewing Database Costs
To view your database costs:
- Navigate to Account → Cost Breakdown
- Select the Databases tab
- Choose a billing cycle date range
- View cost breakdown by database
The cost breakdown shows:
- Individual database costs
- Resource usage details (CPU, memory, storage)
- Billable units and prices
- Total cost per database
Upgrading to Unleashed
To upgrade a FREE tier database to Unleashed:
- Go to your database detail page
- In the Scale Settings section, click Upgrade to Unleashed
- Confirm the upgrade
After upgrading:
- You can create additional databases
- Resource scaling becomes available
- Billing begins based on usage
Billing Cycle
- Database usage is tracked hourly
- Charges are calculated based on allocated resources, not actual usage
- Bills are generated at the end of each billing period
- View your billing history in Account → Billing History
Reducing Costs
Tips to minimize database costs:
- Right-size resources - Don't over-provision CPU and memory
- Delete unused databases - Remove databases you no longer need
- Use FREE tier for development - Test with free databases before scaling
- Monitor usage - Check Cost Breakdown regularly to identify optimization opportunities