> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nearbase.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Pricing

> Understand how Nearbase instances are priced

## Flat Monthly Pricing

Nearbase uses **flat monthly pricing** — one price per instance configuration, with no per-query fees, egress charges, or hidden costs. The price you see when creating an instance is the full monthly cost.

Your monthly price is determined by three factors:

1. **Instance class** — CPU and memory (see [Instance Classes](/instances/instance-classes))
2. **Storage size** — GB of provisioned disk
3. **Region** — Prices are consistent across regions

## What's Included

Every Nearbase subscription includes:

* Fully managed PostgreSQL (patching, monitoring, failover)
* Automated daily backups
* Custom hostname (`{instance-id}.pg.nearbase.app`)
* TLS encryption in transit and at rest
* Access to the monitoring dashboard (performance, logs, backups)

There are no additional fees for:

* Bandwidth / data transfer within the region
* Number of queries or connections (up to your instance limit)
* Support via email

## Pricing Calculator

For exact monthly prices across all regions, instance classes, and storage sizes, use the interactive pricing calculator on our website:

<Card title="Pricing Calculator" icon="calculator" href="https://nearbase.dev/pricing">
  See live prices for any region, instance class, and storage combination at
  nearbase.dev/pricing
</Card>

## Prorated Charges and Refunds

* **New instances** are charged for the full first billing period upfront.
* **Deleted instances** receive a prorated credit for the unused portion of the current billing period. The credit is returned to your [account balance](/billing/balance-and-credits).
* **Scaling** (changing instance class or storage) adjusts your next renewal price. The current period is not repriced.

## Example

| Instance Class                | Storage | Monthly Price (est.)   |
| ----------------------------- | ------- | ---------------------- |
| Basic (1 vCPU, 1 GB RAM)      | 20 GB   | See pricing calculator |
| Basic (2 vCPU, 4 GB RAM)      | 50 GB   | See pricing calculator |
| Dedicated (2 vCPU, 16 GB RAM) | 100 GB  | See pricing calculator |

Prices vary slightly by region. Visit [nearbase.dev/pricing](https://nearbase.dev/pricing) for exact figures.
