RAM Usage Billing Doesn't Match Actual Usage - Need Clarification

paololaur
FREE

a month ago

Hi everyone,

I deployed my application yesterday and I'm considering upgrading to the Pro account. Currently exploring with the trial account and everything works great, but I'm confused about how RAM usage is calculated in the billing.

There's a significant discrepancy between what the billing shows and what I see in the usage graphs:

Billing shows:

  • RAM: 389.49 minutely GB at $0.000231/GB/minute = $0.0902

Actual usage (from graphs):

  • Backend, Postgres, and Redis combined never exceeded 180 MB total

That's a difference of over 2,000x! The billing suggests I'm using nearly 390 GB when my actual peak usage is under 200 MB.

Cost by Service Breakdown

Looking at the "Cost by Service" section, the numbers seem equally problematic:

Backend:

  • CPU: 0.36 vCPU ($0.0002)

  • RAM: 197.93 GB ($0.0458) ← This seems impossible

  • Egress: 0.00 GB

  • Volume: 0.00 GB

Postgres:

  • CPU: 0.70 vCPU ($0.0003)

  • RAM: 166.60 GB ($0.0386) ← Also impossible

  • Volume: 248.22 GB ($0.0014)

Redis:

  • CPU: 2.66 vCPU ($0.0012)

  • RAM: 24.82 GB ($0.0057) ← Still way too high

  • Volume: 123.26 GB ($0.0007)

Questions

  1. Is the RAM usage somehow accumulated over time rather than showing peak/average usage?

  2. Could this be a unit conversion error (should these values be in MB instead of GB)?

  3. What exactly does "minutely GB" mean in terms of billing calculation?

  4. Is there something I'm missing about how memory usage is measured?

Based on the pricing, it looks like there might be a display bug where MB values are being shown as GB, or the billing system is incorrectly calculating memory usage.

Has anyone else experienced this? I'd love to upgrade to Pro but want to understand the billing first.

Thanks!

Solved

5 Replies

Hi Paolo,

RAM is charged at $0.000231 per GB per minute (equivalent to $10 per GB per month). Usage pricing does not reflect peak usage, but rather the measured usage per minute over the course of your billing period. So if your projects use a total of 200MB RAM on average, the resource cost for RAM would be ~$2 per month.

Hope this helps clarify.

Regards,
Christian


Status changed to Awaiting User Response Railway about 1 month ago


christian

Hi Paolo,RAM is charged at $0.000231 per GB per minute (equivalent to $10 per GB per month). Usage pricing does not reflect peak usage, but rather the measured usage per minute over the course of your billing period. So if your projects use a total of 200MB RAM on average, the resource cost for RAM would be ~$2 per month.Hope this helps clarify.Regards,Christian

paololaur
FREE

a month ago

Thank you, I get this now, the only quite confusing thing is the fact that the usage doesn't display (for example) 197.93 MB ($0.0458), but displays 197.93 GB ($0.0458), which I am sure is just a matter of not changing the metric in 0.19793 GB when displaying the values, but it still is scary for someone at 23 which deployed the first time a couple of days ago ahah


Status changed to Awaiting Railway Response Railway about 1 month ago


Thank you for the feedback and glad this helped clarify. Could you please link me to where you're seeing the high numbers? I don't see them reflected in your usage charts.


Status changed to Awaiting User Response Railway about 1 month ago


christian

Thank you for the feedback and glad this helped clarify. Could you please link me to where you're seeing the high numbers? I don't see them reflected in your usage charts.

paololaur
FREE

a month ago

Under the voice 'Cost by Service' , in the 'Usage by Project' section (reachable through the 'Project Usage' button), although I understand is just a matter of Unit of Measures, it's really not a big deal


Status changed to Awaiting Railway Response Railway about 1 month ago


Thank you, Paulo!


Status changed to Awaiting User Response Railway about 1 month ago


Status changed to Solved christian about 1 month ago