New Railway accounts get a free trial with a one-time $5 credit, usable for up to 30 days, and the pricing page says no credit card is required. During the trial each service can use up to 1 GB RAM, 2 vCPU and 0.5 GB of volume storage.
When the 30 days pass or the $5 is spent, the account reverts to the Free plan, which gives $1 of credit per month with lower limits (0.5 GB RAM, 1 vCPU per service). Unverified accounts may get a limited trial with restricted outbound network access. The Hobby plan costs $5/month and includes $5 of usage.