9 months ago
Hi there, I started using Railway some months ago to host some home-made APIs (I'm not a professional developer) and I had a free plan. That task has been on hold for at least 4 months (which means I haven't used Railway during that time). Today I got an email saying that I had used all my trial credits and that I must upgrade my plan to continue using my account.
It's no a problem to upgrade (done that already), but I would like to understand why those credits have been used up (what has been consumed) in these months during which I didn't really do anything in Railway. My APIs aren't published, so nobody else can consume them, by the way.
Thanks a lot! Manuel
I have a couple of projects, here are their IDs:
ee24b87f-8fbe-4444-afc0-5cba50def7a9
d4f4d7a9-581b-43cb-a404-b6ca065362d7
0 Replies
9 months ago
N/A
9 months ago
If you didn't have any running deployments then it is possible you had a volume that consumed disk usage over time, which would also explain how it lasted 4 months
Hi Fragly. If by "volume" do you mean large files, I don't think that's the case. But I think the deployments were running until now. I had assumed no credits would be consumed if there were no calls to the APIs, but could it be that simply having them deployed has consumed my credits?
9 months ago
oh yes, if they were running then that is definitely what used up your credits, you're charged for memory consumption as well so even if the service gets no API request, it'll still consume idle memory usage which would drain your credits
9 months ago
and by volume I mean static file storage basically
so I guess it's a good idea to stop or pause the deployments when I'm not testing them, right? (also with my new Hobby plan)
9 months ago
Yea, that is a good idea
Although the first 5 dollars of usage is free on hobby plan so if your services stay below 5 dollars total cost then you wouldn't need to bother removing deployments
Another thing that's worth noting is you can use app sleeping which puts your app in a "sleep" state until it receives requests, which would definitely be helpful if you're trying to save costs
9 months ago
Awesome, you can find it in service settings
Would you mind pointing me to the relevant documentation about costs involved by the files stored or the API traffic?
9 months ago
static file storage costs are $0.25 per GB (you can see information about resource pricing on this page )
although that only applies if you have a [Volume]() attached to your service and you are deliberately storing files in that volume
If you don't have a volume attached then everything is stored in ephemeral storage which is free, but does reset when your service restarts or redeploys
9 months ago
Regarding API traffic, Railway charges $0.1 per GB egress, you can see that on the pricing page too
thanks a lot, @Fragly I was checking the right place then, I thought there would be more detailed info. awesome, that helps
9 months ago
Of course, happy I could help 🙂
9 months ago
Don't worry we have internal tooling for that
9 months ago
Thank you, you too 🫡
9 months ago
!s
Status changed to Solved dev • 10 months ago