# Credit and prices: what an app costs

Estiba is prepaid, so a bill never arrives. A small app always on costs about $0.69 a month: here are the sums, and how to see what yours costs.

## What it costs

You pay for what your apps really use, measured every second:

| | A month | A day |
| --- | --- | --- |
| 1 GB of RAM in use | $4 | $0.13 |
| 1 vCPU busy | $8 | $0.27 |
| 1 GB kept in a volume | $0.10 | $0.003 |

Taxes are included; traffic and building your code are free. There are no plans or server sizes: an app that holds 100 MB pays for 100 MB, and one that is idle pays for almost no CPU. A month here is 30 days, and each app's cost is rounded to a tenth of a cent a day.

## What a small app costs a month

Three examples. They are estimates: the numbers your app really uses are in the dashboard (below).

**A small API or bot, always on.** It holds 128 MB of memory, keeps 2 % of a vCPU busy on average, and its image, built from your code, takes 256 MB in its volume:

| | | A month |
| --- | --- | --- |
| Memory | 0.125 GB × $4 | $0.50 |
| CPU | 0.02 vCPU × $8 | $0.16 |
| Volume | 0.25 GB × $0.10 | $0.03 |
| **Total** | | **$0.69** |

$5 of credit keeps it online for about seven months.

**The same app as a website that sleeps.** A website with no visits for 5 minutes sleeps and pays only for its volume; the next visit wakes it. Apps with ports, such as game servers, sleep too when nobody is connected; bots without domains or ports, and apps set to always on, never do. If it is awake 8 hours a day on average, memory and CPU cost a third: $0.17 + $0.05, plus $0.03 for the volume, all month. About **$0.25 a month**. Given set hours instead, 8 a day, the same app costs the same: it runs only then, visits or not, bots included. Without set hours, how long it sleeps depends on its visits: one with visits all day long hardly sleeps and costs like the first example.

**A bigger app with a database.** It holds 1 GB of memory, keeps 10 % of a vCPU busy and keeps 2 GB of data in a volume, always on: $4 + $0.80 + $0.20 = about **$5 a month**. From about this size on, a server rented at a fixed price can come out cheaper, if you are happy to look after it yourself. How your agent sets up the database: [PostgreSQL](https://estiba.cloud/docs/postgresql-hosting) or [MySQL and MariaDB](https://estiba.cloud/docs/mysql-mariadb-hosting).

For bots, see the worked costs for [a Discord bot](https://estiba.cloud/docs/discord-bot-hosting) and [a Telegram bot](https://estiba.cloud/docs/telegram-bot-hosting).

## Work out yours

Memory in GB × $4, plus vCPU busy × $8, times the share of the day it is awake, plus $0.10 per GB in its volume. Change the numbers to try an app of yours:

<!-- estimator -->

## What yours costs

Once your app runs, the dashboard's **Billing** shows what each app will cost a month at the pace of its last 7 days, what this month will come to, and the day your credit runs out at that pace. Your agent can see what each app spends a day and tell you which one spends the most.

## Adding credit

From the dashboard's **Billing**, from $5, with PayPal, in euros or dollars: €1 adds $1 of credit. It shows up within a minute. The credit is shared by all your apps, and only you can add it, never your agent.

## When it runs out

Your apps stop until you add credit again, and start by themselves once you do. Nothing is deleted: what they keep in their volumes stays, and is still charged while they are stopped.
