← Back to blog

Published on

How much does it cost per month to host an application with a database in Brazil?

A small application with managed PostgreSQL costs from R$ 42.00 a month on a Brazilian platform that bills in reais, such as Zenifra (Basic plan, DB-Starter database, and 1 GB of disk). A small business application, with 1 GB of memory for the app and 1 GB for the database, comes to R$ 114.80, and a production application with two instances and a 2 GB database, to R$ 259.70. A VPS in Brazil is cheaper on server price, from R$ 28.54 at Vultr in São Paulo or R$ 29.99 at Hostinger on the 24-month plan, but installing, updating, and backing up the database is on you. Foreign platforms that bill in dollars land between R$ 57.93 plus CPU (Railway) and R$ 262.89 (Vercel estimate) at the smallest size, with the 11/09/2026 PTAX rate and the 3.5% IOF. This guide shows the three sizes, with the source and date of every price, and the costs that do not show up on the plans page.

In short, how much does an application with a database cost in Brazil?

From R$ 42.00 to R$ 259.70 a month on a managed platform that bills in reais, depending on size, and from about R$ 30 on a VPS you run yourself. The range comes from three scenarios that cover most projects: an MVP with the application and a small database, a small business system with 1 GB of memory for each part, and a production application with two instances so it stays up during a deploy.

The number that changes the bill the most is not the plan price, but who looks after the server and which currency the bill comes in. On a VPS, the server is cheap, but PostgreSQL, backups, certificates, and updates are your work. On a foreign platform, operations are theirs, but the bill comes in dollars, on a card, with the daily exchange rate and the 3.5% IOF. On a managed Brazilian platform, operations are theirs and the bill comes in reais.

Zenifra prices come from the public plans API, checked on 11/10/2026, and are exact. Dollar prices were read on the official pages of Render, Railway, Heroku, AWS Lightsail, and Vultr on the same day, and converted with the 11/09/2026 PTAX selling rate of R$ 5.5146, plus the 3.5% IOF on international card purchases (Decree 6,306/2007, art. 15-B, item VII, as amended by Decree 12,499/2025). The Vercel estimate comes from our guide to cloud costs in reais and in dollars, with prices read on 11/06/2026. Hostinger appears with the price in reais from its Brazilian page, with no conversion.

How much does an MVP with an application and PostgreSQL cost?

At the smallest size that can carry a backend, the bill lands between R$ 28.54 and R$ 262.89 a month, and the gap between the two ends is almost entirely explained by two things: who runs the database and whether the bill comes in dollars. The scenario is a 512 MB to 1 GB application that is always on and a small PostgreSQL with 1 GB of data, enough to validate an idea with the first users.

In the region column, "Brazil" and "São Paulo" show where the plan was priced. The US platforms appear with the region closest to Brazil that they offer.

OptionWhat is includedRegionPrice in the billing currencyIn reais, with PTAX and 3.5% IOFWho runs the database
ZenifraBasic (0.5 vCPU, 512 MB) + DB-Starter (0.3 vCPU, 256 MB) + 1 GB of diskSão PauloR$ 42.00R$ 42.00, no IOFThe platform
Vultr Cloud Compute1 vCPU and 1 GB, application and PostgreSQL on the same machineSão PauloUS$ 5.00R$ 28.54You
Hostinger KVM 11 vCPU and 4 GB, application and PostgreSQL on the same machineBrazilR$ 29.99 on the 24-month plan; R$ 87.99 with no commitmentR$ 29.99, no IOFYou
AWS Lightsail1 GB server (US$ 7) + 1 GB managed database (US$ 15)São Paulo for the serverUS$ 22.00R$ 125.57AWS
HerokuBasic (0.5 GB) + Postgres Essential-0United StatesUS$ 12.00R$ 68.49The platform
RenderStarter (512 MB) + Postgres 0.1c-256mb + 1 GB of diskVirginia (USA)US$ 13.30R$ 75.91The platform
Railway0.5 GB for the app and 0.5 GB for the database, billed by usage, + 1 GB of volumeVirginia (USA)From US$ 10.15, plus CPUFrom R$ 57.93, plus CPUThe platform
VercelPro + a 2 GB function in São Paulo + Neon with 0.25 CU (estimate)São Paulo for the functionsAbout US$ 46.06, plus active CPUAbout R$ 262.89Neon

On Zenifra, the bill is R$ 29.90 for Basic, R$ 11.90 for DB-Starter, and R$ 0.20 for the GB of PostgreSQL disk. The database backup is included: DB-Starter takes 1 backup a day and keeps each one for 7 days. The Static plan, at R$ 5.90, is for static sites, and an application with a backend starts on Basic.

Hostinger offers 4 GB of RAM for R$ 29.99, but that price depends on paying 24 months up front (R$ 719.76 at once), and renewal is R$ 59.99 a month. At Vultr, US$ 5 buys 1 GB in São Paulo. In both cases, the application and the database share the same machine, and installing PostgreSQL, updates, and backups are yours.

On Lightsail, the pricing page lists a single price per bundle, and São Paulo plans have half the transfer allowance of the others. Before building the scenario, check in the console whether the managed database is available in São Paulo, because the pricing page does not split databases by region.

Vercel has no always-on instance. The estimate assumes a 2 GB function active all day in São Paulo and a Neon PostgreSQL with no automatic pause, and the full math is in the guide to cloud costs in reais and in dollars.

What about a small business application with 1 GB of memory?

Once the product has paying customers, the application needs 1 GB so it does not restart for lack of memory during peaks, and the database needs its own memory to cache the most frequent queries. At this size, Zenifra comes to R$ 114.80 a month, and the foreign platforms range from R$ 122.71 plus CPU on Railway to R$ 336.75 on Heroku.

The scenario uses 1 GB for the application, 1 GB for PostgreSQL, and 10 GB of data in the database, a common size for a management system, a small online store, or a SaaS with a few hundred customers.

OptionWhat is includedPrice in the billing currencyIn reais, with PTAX and 3.5% IOF
ZenifraPremium (1 vCPU, 1 GB) + DB-Basic (1 vCPU, 1 GB) + 10 GB of diskR$ 114.80R$ 114.80, no IOF
Vultr Cloud Compute2 vCPU and 4 GB in São Paulo, application and database on the same machineUS$ 20.00R$ 114.15
Hostinger KVM 11 vCPU and 4 GB in Brazil, application and database on the same machineR$ 29.99 on the 24-month plan; renews at R$ 59.99R$ 29.99, no IOF
AWS Lightsail2 GB server (US$ 12) + 1 GB managed database (US$ 15)US$ 27.00R$ 154.11
HerokuStandard-2X (1 GB) + Postgres Essential-1 (10 GB, shared memory)US$ 59.00R$ 336.75
Render1c-2g (there is no 1 GB option) + Postgres 0.5c-1g + 10 GB of diskUS$ 47.00R$ 268.26
Railway1 GB for the app and 1 GB for the database + 10 GB of volume, on the Pro planFrom US$ 21.50, plus CPUFrom R$ 122.71, plus CPU

On Zenifra, the scenario adds R$ 62.90 for Premium, R$ 49.90 for DB-Basic, and R$ 2.00 of disk. Premium is the first plan with CPU and memory metrics and a health check, which calls an application route every 60 seconds. DB-Basic takes 2 backups a day and keeps each one for 7 days. If the application fits in 512 MB, Basic with DB-Basic and the same 10 GB comes to R$ 81.80.

On Railway, the scenario needs the Pro plan, because Hobby caps volumes at 5 GB. The US$ 20 Pro subscription becomes usage credit, so the bill follows metered usage once it passes US$ 20. On Render, the step after 512 MB is already the 2 GB instance, at US$ 25. On Heroku, Basic tops out at 0.5 GB, and Standard-2X costs US$ 50 on its own.

VPS options are still cheaper on server price, and Hostinger offers 4 GB for less than the managed MVP. The difference is that, on a VPS, the application and the database share the same memory, and maintenance time comes on top, as the VPS section below shows.

How much does a production application with two instances cost?

With two 1 GB instances and a 2 GB database, Zenifra comes to R$ 259.70 a month, below Render, Heroku, and Lightsail, and slightly above Railway’s floor before CPU. Two instances are the minimum so a deploy or a failure in one of them does not take the service down, and the database needs more memory once the most queried data passes 1 GB.

The scenario uses 20 GB of data in the database. On a VPS, two instances means two machines and a load balancer in front, which changes the operations work more than the price, so VPS options are left out of this table.

OptionWhat is includedPrice in the billing currencyIn reais, with PTAX and 3.5% IOF
Zenifra2 × Premium (1 vCPU, 1 GB) + DB-Premium (2 vCPU, 2 GB) + 20 GB of diskR$ 259.70R$ 259.70, no IOF
AWS Lightsail2 servers with 2 GB (US$ 24) + load balancer (US$ 18) + 2 GB managed database (US$ 30)US$ 72.00R$ 410.95
Heroku2 × Standard-2X + Postgres Standard-0 (4 GB)US$ 150.00R$ 856.14
Render2 × 1c-2g + Postgres 1c-2g + 20 GB of diskUS$ 96.00R$ 547.93
Railway2 GB for the app and 2 GB for the database + 20 GB of volume, on the Pro planFrom US$ 43.00, plus CPUFrom R$ 245.43, plus CPU

On Zenifra, the bill is 2 × R$ 62.90 for Premium, R$ 129.90 for DB-Premium, and R$ 4.00 of disk. DB-Premium takes 2 backups a day and keeps each one for 14 days, and paid PostgreSQL plans accept one to six instances, billed per instance, if you need replicas.

Railway lands close to Zenifra before CPU, and that is an honest result: usage-based billing is cheap while consumption is low. With 0.5 vCPU of combined average usage, the bill goes up US$ 10, or R$ 57.08. On Heroku, the Standard-0 database has 4 GB, twice the scenario, because it is the first plan with a dedicated server; Essential plans use shared memory.

On Lightsail, the US$ 18 load balancer and the US$ 30 2 GB database come from the pricing page. Lightsail databases have a standard plan and a high availability plan, which costs twice as much.

What goes into the bill besides the plan price?

Database disk, egress, usage-based CPU, and the exchange rate. The first three vary from one provider to another, and the fourth only shows up when the bill comes in dollars. The table shows how each option charges for the two items that grow the most over time, database disk and traffic.

OptionDatabase diskEgressDatabase backups
ZenifraR$ 0.20 per GB per month for PostgreSQLNot listed in the public price catalogIncluded in the plan, 1 to 3 a day depending on the plan
RenderUS$ 0.30 per GB per month5 GB included on Hobby and 25 GB on Pro, then US$ 0.15 per GBPoint-in-time recovery of 3 days on Hobby and 7 days on Pro
RailwayUS$ 0.15 per GB per month of volumeUS$ 0.05 per GBScheduled volume backups; daily ones are kept for 6 days
HerokuIncluded in the plan: 1 GB on Essential-0, 10 GB on Essential-1, 64 GB on Standard-0See Heroku’s pricing pageStandard-0 with rollback of up to 4 days
AWS Lightsail40 GB of SSD on the 1 GB databaseAllowance per bundle, halved in São PauloSnapshots at US$ 0.05 per GB per month
VPS (Vultr or Hostinger)The machine’s diskThe plan’s allowance; 4 TB on Hostinger KVM 1On you, beyond the machine backup

Database disk is the most predictable cost: you pay per GB stored, even with the application stopped. A 10 GB database costs R$ 2.00 a month on Zenifra, US$ 3.00 on Render, and US$ 1.50 on Railway. Traffic is the hardest to predict, because it depends on response sizes and how many people visit, so estimate it from the average size of your pages and API responses.

On dollar bills, the card issuer also applies its own spread over the rate, on top of the IOF, and the charge uses the exchange rate of the day the purchase is processed. Between 10/05/2026 and 11/09/2026, the PTAX rate went from R$ 4.9859 to R$ 5.5146: Render’s US$ 13 went from R$ 67.09 to R$ 74.20 a month, with no change to the application.

Is a VPS in Brazil cheaper?

On server price, yes, almost always. A 4 GB VPS in Brazil costs R$ 29.99 at Hostinger on the 24-month plan, and Vultr charges US$ 20 for 4 GB in São Paulo, or R$ 114.15 on a card. That is more memory per real than any managed platform. The math changes once maintenance hours come in, and those do not show up on the bill.

In our guide to VPS or a managed platform, we estimated 4.25 hours a month to maintain a small application with PostgreSQL on a VPS: security updates, certificates, tested backups, monitoring, incidents, and the initial setup spread over 12 months. On the managed side, we counted 1 hour a month, for dependencies, alerts, and migrations. These are assumptions, not measurements, and you can redo the math with the value of your own hour.

ScenarioServer per monthHours per monthHour at R$ 0Hour at R$ 50Hour at R$ 100
Hostinger KVM 1, 4 GB, 24-month planR$ 29.994.25R$ 29.99R$ 242.49R$ 454.99
Hostinger KVM 1 at renewalR$ 59.994.25R$ 59.99R$ 272.49R$ 484.99
Vultr São Paulo, 2 vCPU and 4 GB, on a cardR$ 114.154.25R$ 114.15R$ 326.65R$ 539.15
Zenifra Basic + DB-Starter + 1 GBR$ 42.001.00R$ 42.00R$ 92.00R$ 142.00
Zenifra Premium + DB-Basic + 10 GBR$ 114.801.00R$ 114.80R$ 164.80R$ 214.80

With the hour worth zero, as in a personal project built in your spare time, the VPS wins easily, and that is the honest answer for anyone who enjoys running servers. With the hour at R$ 50, the managed platform is already cheaper at both sizes. The resources are not identical: on the 4 GB VPS, the application and the database share 4 GB, and in the managed scenario each one has its own memory.

A VPS without a replica that loses its disk or gets compromised can take a full day to come back. That cost does not show up in the 4.25-hour monthly average, and it arrives all at once. If your application earns money while it is online, include that risk in the math.

Does hourly billing pay off for an application with a database?

It pays off for whatever does not run all month, such as staging, tests, and demos. On Zenifra, Basic costs R$ 0.05 an hour or R$ 29.90 a month, so up to 598 hours in the month, hourly billing is cheaper. Since a month has about 730 hours, the production application stays on the monthly plan.

A staging environment running 8 hours a day on 22 business days adds up to 176 hours. On Basic, that is R$ 8.80. DB-Starter costs R$ 0.018 an hour, and over the same 176 hours it comes to R$ 3.168, shown as R$ 3.17. Database disk is still billed while the project is stopped. On hourly billing, Zenifra adds up the project’s hours in the cycle and rounds the total up to the full hour.

Render and Railway also bill proportionally: Render prorates the instance price by the second, and Railway meters usage by the minute. The difference is the currency, because on both the monthly bill comes in dollars.

When is another option better than a managed platform billed in reais?

When you have the time and know-how to run the server, and the project is not critical. In that case, a VPS in Brazil gives you more memory per real, and Hostinger or Vultr in São Paulo handle a personal project, a study environment, or an internal tool well.

When most users are outside Brazil. Render, Railway, and Heroku have regions in the United States and Europe, and a region close to the user is worth more than the savings on the exchange rate. If your company already earns in dollars, exchange rate swings stop being a risk, because revenue and costs move together.

When the project is almost all a Next.js front end with little backend, Vercel is still the natural choice, because it keeps the framework. And when usage is low and irregular, Railway’s usage-based billing can come out cheaper than any fixed plan, as this guide’s scenarios show before CPU.

And when the company needs services a smaller platform does not offer yet, such as dozens of managed services from a large cloud, AWS in São Paulo covers it, with networking, databases, and scaling run by your own team.

How do I work out the numbers for my project?

Start with the memory the application uses today, because it defines the plan. Then add the database by the size of the data it needs to keep in memory, disk by the GB stored, and, if the bill comes in dollars, convert at the month’s PTAX rate and add the 3.5% IOF. Always compare the same project size, not the cheapest plan of each provider.

In the Zenifra calculator, pick the application plan, the number of instances, and the usage type (hourly, monthly, or yearly), add PostgreSQL with its plan and storage in GB, and read the monthly total in reais. The links in each scenario of this guide open the calculator already filled in, and you adjust from there.

On your current provider’s side, take the latest bill and separate the plan, disk, usage-based CPU, and traffic. That shows which item grows fastest in your case, and that is where the comparison should start.

In short

Hosting an application with a database in Brazil costs from about R$ 30 a month on a VPS you run yourself, and from R$ 42.00 on a managed platform that bills in reais. On foreign platforms, the same MVP lands between R$ 57.93 plus CPU and R$ 262.89, with exchange rate and IOF. At larger sizes, the order changes with each provider’s equivalent plan, and Railway stays close to the options in reais while CPU is low.

To see your scenario with current prices, the Zenifra calculator shows the total in reais by the hour, month, or year.

Estimate my cost in reais

We respect your privacy

We use essential cookies to run this site. Measurement and marketing cookies, such as Google Ads, are only enabled when you accept all cookies. Read our cookie policy.