RAILWAY PRICING QUESTION

danielroman11
HOBBY

a year ago

I have two APIs deployed, one using express and MySql, this one uses SSR. The other is a restAPI with Nestjs that has a connection to Postgress. Both APIs have no interaction at all, they are portfolio projects.

Previously they only charged me 5 dollars, I have the hobby plan and I found it strange that only for deploying two projects I had to start paying 12 dollars, for me the truth is crazy because there are only 2 projects and they cost 12 dollars, without having the slightest interaction? This price is normal to have two APIs? I would like to read your opinions.

This is my Dockerfile:
`
FROM node:20-alpine AS dev
ENV PNPMHOME=‘/pnpm’ ENV PATH=‘$PNPMHOME:$PATH’
RUN corepack enable

WORKDIR /usr/src/app
COPY . .

RUN --mount=type=cache,id=s/c3c868f7-49e7-49da-9efb-f2c04a4a58d5-/pnpm/store,target=/pnpm/store pnpm install --frozen-lockfile

EXPOSE ${PORT}

CMD [‘pnpm’, ‘start’]
`

Thank you very much in advance for your time.

Translated with DeepL.com (free version)

6 Replies

danielroman11
HOBBY

a year ago

These are the metrics

Attachments


a year ago

That's perfectly normal for node apps, especially next apps.

Please read this docs section -

https://docs.railway.app/reference/pricing/faqs#why-am-i-charged-for-more-than-5-on-the-hobby-plan


danielroman11
HOBBY

a year ago

Two APIs projects with 0 interaction cost 12 dollar?!


a year ago

Railway does not charge for something like how many users you have, they charge for the resources your apps use, and even apps idling have resource usage.


danielroman11
HOBBY

a year ago

I know, but each api uses 600mb, with the hobby plan I can use 8GB why do they charge me 12 dollars then? In the attached file I give you the information about the usage of my apis, maybe I'm missing something, please explain me why this billing, because I don't understand the pricing.


a year ago

You are charged for the resources you use, the 8GB means you can use up to a maximum of 8GB per service, it does not mean you are getting 8GB of usage included in your 5$ subscription fee.

Please read this page -

https://docs.railway.app/reference/pricing/plans