ogabrielluiz / langflow-railway

A template to deploy langflow in Railway
12 stars 12 forks source link

Cost to deploy this on railway #2

Open kdawgwilk opened 6 months ago

kdawgwilk commented 6 months ago

Just curious on the costs for running this in Railway

kshadow07 commented 1 month ago

Hi @kdawgwilk ,

To address the cost of running your application on Railway, consider the following:

Railway offers a free tier for basic deployments. This can be a great starting point for testing and smaller applications.

Some of the factors that affect this cost are:

Instance type: The kind of instance you need affects the cost. Railway provides various instance types of different sizes (small to large) with different capacities for CPU, memory, and storage.

Amount of time: The longer your instance runs, the more it costs. You will be billed per hour your instance is running. Storage: If you need to store data like model weights or input/output data, storage costs will be incurred.

Bandwidth: Your Langflow model might receive a high volume of requests, which may lead to bandwidth costs.

For example, for a small instance (e.g., railway-small) with 1 CPU, 2 GB RAM, and 10 GB storage, estimated costs are as follows: Instance hours: Equivalent to an average of $0.012 per instance hour Storage: Around $0.023 per GB-month Bandwidth: $0.09 per GB

Assuming your Langflow model requires: 100 instance hours per month ($1.20 charged on an hourly basis) 50 GB of storage per month (approximately $1.15) 100 GB of bandwidth per month (around $9.00) The estimated total cost would be approximately $11.35 per month.