鉄道 vs レンダー vs Fly.io
Web サービス、API、バックグラウンド ワーカーの PaaS ホスティング コストを比較します。ワークロードに応じて最も安価なオプションを見つけてください。
コスト計算ツール
機能の比較
| 特徴 | 鉄道 | 与える | Fly.io |
|---|---|---|---|
| 無料利用枠 | $1 credit/mo (+ $5 one-time trial) | 750h/mo, 5GB bandwidth | ⚠️ None for new orgs (2026) — legacy accounts only |
| 非活動状態でスリープする | ✅ オプション | ⚠️ 無料枠の場合 | ✅ オプション |
| ポストグレ | ✅ 内蔵 | ✅ 内蔵 | ✅ Postgresを飛ばす |
| レディス | ✅ 内蔵 | ✅ 内蔵 | Upstash経由 |
| カスタムドメイン | ✅ | ✅ | ✅ |
| Docker のサポート | ✅ | ✅ | ✅ (ネイティブ) |
| マルチリージョン | 限定 | 限定 | ✅ クラス最高 |
| Gitからデプロイする | ✅ | ✅ | CLIファースト |
| Cron ジョブ | ✅ | ✅ | ✅ |
| こんな方に最適 | クイックデプロイ | シンプルなアプリ | グローバルレイテンシ |
それぞれを選択する場合
| 使用事例 | ベストチョイス | なぜ |
|---|---|---|
| サイドプロジェクト/趣味 | 与える | Only one of the three with a real ongoing free tier for new accounts |
| Next.js / モノリポジトリ | 鉄道 | 最高の DX、モノリポジトリのサポート |
| グローバル低遅延 API | Fly.io | 30 以上のリージョン、エニーキャスト |
| シンプルなWebサービス | 与える | セットアップが最も簡単 |
| 多くのマイクロサービス | 鉄道 | サービスごとの請求は予測可能 |
| エリクサー/フェニックス | Fly.io | 公式フライフェニックスジェネレーター |
なぜこれら 3 つの価格がこれほど異なるのか
鉄道 そして Fly.io both meter usage down to the second -- Railway charges roughly $0.0000077 per vCPU-second and $0.0000039 per GB-second of RAM (about $20/mo and $10/mo per unit running continuously, with a $5/mo Hobby-plan floor), while Fly.io charges about $0.00000068 per vCPU-second in its cheapest regions and $0.0000023 per GB-second of RAM -- noticeably cheaper per second on paper. That granularity rewards apps that scale to zero or sit mostly idle, since you only pay for the seconds actually used. 与える は逆のアプローチを採用しています。つまり、サービスが実際に消費する CPU や RAM の量に関係なく、サービスあたり月額 7 ドルの定額 (スターター プラン) です。これにより、きめ細かい節約と引き換えに、事前に予算を立てることができる予測可能な請求額が得られます。
Bandwidth pricing diverged sharply after Render's April 2026 repricing: Render's free allowance was cut 20x, from 100GB/mo down to just 5GB/mo, with overage now a granular $0.15/GB. Railway kept its 100GB free allowance and charges $0.05/GB beyond that. Fly.io's egress rate is the cheapest of the three at $0.02/GB in North America and Europe (more in other regions) -- but its famous "generous free tier" no longer applies to new organizations created in 2026, which get no ongoing free bandwidth at all, only a short trial. If you're starting a brand-new project rather than running a legacy account, Render is the only one of the three with a real free tier today. Run your own CPU, RAM, bandwidth, and service-count numbers through the calculator above rather than assuming one provider's old reputation still holds.
Read the full breakdown: three real hosting bills compared →
よくある質問
Which of Railway, Render, or Fly.io is cheapest for a small side project?
Render, for a brand-new account. Its 750 free instance-hours a month covers one always-on service with 5GB of free bandwidth included. Fly.io no longer gives new organizations any ongoing free allowance as of 2026 -- only a short trial -- so a side project started today has no free tier there despite Fly's old reputation for one. Railway's free tier is a one-time $5 trial credit with no ongoing free quota, so a side project on Railway starts costing money once that credit runs out, even at near-zero usage.
Railway と Fly.io は秒単位で料金を請求するのに、Render の料金は一律なのはなぜですか?
Render のスターター プランは、プランの制限内での正確な使用量に関係なく、サービスごとに月額 7 ドルの固定料金であり、予測可能性と精度を引き換えにします。 Railway と Fly.io はどちらも秒単位で計測されるため、ほとんどアイドル状態にあるサービスやゼロまでスケールするサービスは、Render の定額料金よりも安くなる可能性がありますが、24 時間 365 日稼働しているサービスは、同等の Render プランよりも高くなる可能性があります。
3 つの帯域幅の料金はどのように異なりますか?
Railway keeps a 100GB free allowance, then charges $0.05/GB after that. Render cut its free allowance 20x in an April 2026 repricing, from 100GB down to just 5GB/mo, with overage now $0.15/GB. Fly.io has the cheapest per-GB overage rate of the three at $0.02/GB in North America and Europe -- but as of 2026, new organizations get no ongoing free bandwidth at all, only a short trial, so that low rate applies from the very first gigabyte for anyone starting fresh today.
グローバルなマルチリージョン展開にはどのプラットフォームが最適ですか?
Fly.ioが断然の差をつけています。これは、エニーキャスト ルーティングを使用して同じアプリを 30 以上のリージョンにデプロイすることを中心に構築されているため、リクエストは自動的に最も近いエッジに到達します。 Railway と Render は両方とも、より限定的な方法でマルチリージョンをサポートしており、通常はリージョンごとに個別のサービス インスタンスを自分で実行および管理する必要があります。