{
  "apiVersion": "1.1",
  "schemaVersion": 1,
  "engineVersion": 1,
  "asOf": "2026-11-24",
  "currency": "USD",
  "pair": {
    "slug": "fly-io-vs-railway",
    "canonicalSlug": "fly-io-vs-railway",
    "isCrossCategory": false,
    "categoryA": {
      "id": "hosting",
      "name": "App hosting"
    },
    "categoryB": {
      "id": "hosting",
      "name": "App hosting"
    }
  },
  "citationUrl": "https://costroast.com/vs/fly-io-vs-railway?usage=%7B%22cpuMs%22%3A10%2C%22deployments%22%3A20%2C%22egressGb%22%3A100%2C%22memoryGbHours%22%3A100%2C%22requests%22%3A1000000%7D",
  "canonicalUrl": "https://costroast.com/vs/fly-io-vs-railway",
  "markdownUrl": "https://costroast.com/vs/fly-io-vs-railway.md?usage=%7B%22cpuMs%22%3A10%2C%22deployments%22%3A20%2C%22egressGb%22%3A100%2C%22memoryGbHours%22%3A100%2C%22requests%22%3A1000000%7D",
  "calculationUrl": "https://costroast.com/api/v1/calculate?a=fly-io&b=railway&usage=%7B%22cpuMs%22%3A10%2C%22deployments%22%3A20%2C%22egressGb%22%3A100%2C%22memoryGbHours%22%3A100%2C%22requests%22%3A1000000%7D",
  "verdict": {
    "summary": "Railway costs $2.23 less per month than Fly.io at this workload. This compares modeled charges, not overall product quality.",
    "cheaperProduct": "B",
    "costDeltaMonthlyUsd": 2.23,
    "costPercentDelta": 26,
    "crossoverSummary": null
  },
  "crossCategoryBridge": null,
  "productA": {
    "id": "fly-io",
    "name": "Fly.io",
    "planId": "fly-io-iad-1gb-reviewed",
    "planName": "One always-on shared-cpu-1x / 1 GB Machine — Ashburn, 30 days",
    "eligible": true,
    "monthlyCostUsd": 8.7,
    "billingInterval": "month",
    "annualCommitmentUsd": null,
    "sourceUrl": "https://docs.fly.io/about/pricing",
    "checkedAt": "2026-11-21",
    "warnings": [
      "Assumes the workload fits one continuously running Machine for 30 days, billed by the second. Traffic reaches the internet through an edge in the same region. The organization uses current pay-as-you-go rates and granular data transfer pricing."
    ],
    "exclusions": [
      "Taxes, negotiated discounts, credits, and optional add-ons are excluded.",
      "Regional and global 12-month reservations, legacy plans and trial credits are excluded. Volumes, stopped root filesystems, snapshots, databases, dedicated IPs, paid certificates, cross-region transfer, autoscaling and support are also excluded."
    ],
    "usage": {
      "requests": 1000000,
      "cpuMs": 10,
      "memoryGbHours": 100,
      "egressGb": 100,
      "deployments": 20
    },
    "workloadFields": [
      {
        "id": "requests",
        "label": "Dynamic requests",
        "unit": "requests / month",
        "min": 0,
        "max": 1000000000,
        "step": 1000,
        "integer": true,
        "defaultValue": 1000000
      },
      {
        "id": "cpuMs",
        "label": "CPU time per request",
        "unit": "milliseconds / request",
        "min": 0,
        "max": 300000,
        "step": 1,
        "integer": false,
        "defaultValue": 10
      },
      {
        "id": "memoryGbHours",
        "label": "Provisioned memory",
        "unit": "GB-hours / month",
        "min": 0,
        "max": 10000000,
        "step": 1,
        "integer": false,
        "defaultValue": 100
      },
      {
        "id": "egressGb",
        "label": "Data sent to visitors",
        "unit": "GB / month",
        "min": 0,
        "max": 1000000,
        "step": 1,
        "integer": false,
        "defaultValue": 100
      },
      {
        "id": "deployments",
        "label": "Production deployments",
        "unit": "deployments / month",
        "min": 0,
        "max": 10000,
        "step": 1,
        "integer": true,
        "defaultValue": 20
      }
    ],
    "scope": "A commercial web API with uncached dynamic requests, US compute, one deploying developer and standard builds. Runtime compatibility, concurrency and performance must be assessed separately. No databases, image transformations, middleware, premium logs or other add-ons.",
    "lineItems": [
      {
        "label": "Monthly subscription",
        "quantity": 1,
        "unit": "month",
        "rate": 6.7,
        "amount": 6.7
      },
      {
        "label": "North America internet egress",
        "quantity": 100,
        "unit": "GB",
        "rate": 0.02,
        "amount": 2
      }
    ],
    "priceVersionId": "ext-fly-io-iad-1gb-reviewed-e6a88d1ab2fe618d7b07a908d0af62502acda37e5f2572d120fc81e6b05f3ea7",
    "modelHash": "5bd13971448fdf8f4669613d81e70d4423d22ce3d52453a4ea7414c7ede299b1",
    "modelSnapshot": {
      "schemaVersion": 1,
      "engineVersion": 1,
      "category": {
        "id": "hosting",
        "name": "App hosting",
        "description": "Requests, compute and bandwidth. See how hosting changes with traffic.",
        "scope": "A commercial web API with uncached dynamic requests, US compute, one deploying developer and standard builds. Runtime compatibility, concurrency and performance must be assessed separately. No databases, image transformations, middleware, premium logs or other add-ons.",
        "primaryField": "requests",
        "fields": [
          {
            "id": "requests",
            "label": "Dynamic requests",
            "unit": "requests / month",
            "description": "Every request invokes server code and reaches the CDN. Static asset requests are outside this scenario.",
            "defaultValue": 1000000,
            "min": 0,
            "max": 1000000000,
            "step": 1000
          },
          {
            "id": "cpuMs",
            "label": "CPU time per request",
            "unit": "milliseconds / request",
            "description": "Active CPU time, excluding network waits. Benchmark each runtime; the same input is a planning assumption.",
            "defaultValue": 10,
            "min": 0,
            "max": 300000,
            "step": 1
          },
          {
            "id": "memoryGbHours",
            "label": "Provisioned memory",
            "unit": "GB-hours / month",
            "description": "Memory multiplied by instance lifetime, including waits. Fluid concurrency can reduce this. Set it from measured usage.",
            "defaultValue": 100,
            "min": 0,
            "max": 10000000,
            "step": 1
          },
          {
            "id": "egressGb",
            "label": "Data sent to visitors",
            "unit": "GB / month",
            "description": "Uncached response traffic to visitors. Also used as origin traffic for this uncached scenario.",
            "defaultValue": 100,
            "min": 0,
            "max": 1000000,
            "step": 1
          },
          {
            "id": "deployments",
            "label": "Production deployments",
            "unit": "deployments / month",
            "description": "Publishes to production. Local or external CI builds are assumed for Cloudflare. Vercel standard builds without paid concurrency.",
            "defaultValue": 20,
            "min": 0,
            "max": 10000,
            "step": 1
          }
        ],
        "capabilities": [
          {
            "id": "edge_compute",
            "label": "Edge compute",
            "description": "Runs on distributed edge points of presence close to users."
          },
          {
            "id": "custom_domain",
            "label": "Custom domains",
            "description": "SSL/TLS termination on your own custom domain."
          },
          {
            "id": "ddos_protection",
            "label": "DDoS mitigation",
            "description": "Automated unmetered DDoS defense."
          }
        ],
        "presets": [
          {
            "id": "api_starter",
            "name": "API Starter",
            "description": "Low-traffic backend API or webhook receiver",
            "usage": {
              "cpuMs": 15,
              "deployments": 10,
              "egressGb": 20,
              "memoryGbHours": 25,
              "requests": 500000
            }
          },
          {
            "id": "saas_scale",
            "name": "High-Traffic SaaS",
            "description": "Production web application with regular traffic",
            "usage": {
              "cpuMs": 25,
              "deployments": 40,
              "egressGb": 1000,
              "memoryGbHours": 2500,
              "requests": 25000000
            }
          },
          {
            "id": "compute_heavy",
            "name": "Compute Heavy",
            "description": "Longer execution times and larger memory allocations",
            "usage": {
              "cpuMs": 250,
              "deployments": 25,
              "egressGb": 200,
              "memoryGbHours": 5000,
              "requests": 5000000
            }
          }
        ]
      },
      "product": {
        "id": "fly-io",
        "name": "Fly.io",
        "vendorId": "fly-io",
        "categoryId": "hosting",
        "tagline": "Explore Fly.io with source-reviewed pricing for the named plans below.",
        "website": "https://fly.io/",
        "pricingUrl": "https://docs.fly.io/about/pricing",
        "color": "#7c3aed",
        "capabilities": [],
        "plans": [
          {
            "id": "fly-io-iad-1gb-reviewed",
            "name": "One always-on shared-cpu-1x / 1 GB Machine — Ashburn, 30 days",
            "basePrice": 6.7,
            "source": {
              "url": "https://docs.fly.io/about/pricing",
              "title": "Fly.io Ashburn 1 GB Machine and North America outbound transfer",
              "checkedAt": "2026-11-21"
            },
            "meters": [
              {
                "label": "North America internet egress",
                "quantity": {
                  "field": "egressGb"
                },
                "included": 0,
                "rate": 0.02,
                "unitSize": 1,
                "unit": "GB"
              }
            ],
            "limits": [
              {
                "quantity": {
                  "field": "memoryGbHours"
                },
                "max": 720,
                "reason": "This scenario provisions one 1 GB Machine for 720 hours. Larger or multiple machines need another model."
              }
            ],
            "warnings": [
              "Assumes the workload fits one continuously running Machine for 30 days, billed by the second. Traffic reaches the internet through an edge in the same region. The organization uses current pay-as-you-go rates and granular data transfer pricing."
            ],
            "exclusions": [
              "Taxes, negotiated discounts, credits, and optional add-ons are excluded.",
              "Regional and global 12-month reservations, legacy plans and trial credits are excluded. Volumes, stopped root filesystems, snapshots, databases, dedicated IPs, paid certificates, cross-region transfer, autoscaling and support are also excluded."
            ],
            "pricingStatus": "published",
            "billing": {
              "currency": "USD",
              "interval": "month"
            }
          }
        ]
      }
    },
    "evidence": {
      "kind": "reviewed_static_schedule",
      "observedAt": "2026-11-21",
      "sourceUrl": "https://docs.fly.io/about/pricing"
    }
  },
  "productB": {
    "id": "railway",
    "name": "Railway",
    "planId": "railway-hobby",
    "planName": "Hobby",
    "eligible": true,
    "monthlyCostUsd": 6.47,
    "billingInterval": "month",
    "annualCommitmentUsd": null,
    "sourceUrl": "https://railway.com/pricing",
    "checkedAt": "2026-11-09",
    "warnings": [
      "Hobby has a $5 monthly minimum including $5 usage credit. Enter total active CPU and provisioned memory for the service, including background work. Aggregate monthly usage does not establish per-service capacity eligibility.",
      "USD monthly container-service plan, metered by the second. Memory input must represent measured billable memory use over running time and CPU input must include all billed CPU work. Builds are free. The included usage credit resets every cycle and never accumulates; cancellation retains the plan through the billing period and remaining usage is billed."
    ],
    "exclusions": [
      "Volume storage, object storage, sandboxes and optional services. Hobby is a single-developer workspace.",
      "Railway VMs and sandboxes use a different tariff and are excluded. The cited security docs do not establish the category requirement of automated unmetered DDoS defense; manual Under Attack Mode is not that capability and can block API traffic."
    ],
    "usage": {
      "requests": 1000000,
      "cpuMs": 10,
      "memoryGbHours": 100,
      "egressGb": 100,
      "deployments": 20
    },
    "workloadFields": [
      {
        "id": "requests",
        "label": "Dynamic requests",
        "unit": "requests / month",
        "min": 0,
        "max": 1000000000,
        "step": 1000,
        "integer": true,
        "defaultValue": 1000000
      },
      {
        "id": "cpuMs",
        "label": "CPU time per request",
        "unit": "milliseconds / request",
        "min": 0,
        "max": 300000,
        "step": 1,
        "integer": false,
        "defaultValue": 10
      },
      {
        "id": "memoryGbHours",
        "label": "Provisioned memory",
        "unit": "GB-hours / month",
        "min": 0,
        "max": 10000000,
        "step": 1,
        "integer": false,
        "defaultValue": 100
      },
      {
        "id": "egressGb",
        "label": "Data sent to visitors",
        "unit": "GB / month",
        "min": 0,
        "max": 1000000,
        "step": 1,
        "integer": false,
        "defaultValue": 100
      },
      {
        "id": "deployments",
        "label": "Production deployments",
        "unit": "deployments / month",
        "min": 0,
        "max": 10000,
        "step": 1,
        "integer": true,
        "defaultValue": 20
      }
    ],
    "scope": "A commercial web API with uncached dynamic requests, US compute, one deploying developer and standard builds. Runtime compatibility, concurrency and performance must be assessed separately. No databases, image transformations, middleware, premium logs or other add-ons.",
    "lineItems": [
      {
        "label": "Monthly subscription",
        "quantity": 1,
        "unit": "month",
        "rate": 5,
        "amount": 5
      },
      {
        "label": "Active CPU time",
        "quantity": 2.7777777777777772,
        "unit": "vCPU-hours",
        "rate": 0.027792,
        "amount": 0.0772
      },
      {
        "label": "Provisioned RAM",
        "quantity": 100,
        "unit": "GB-hours",
        "rate": 0.013896,
        "amount": 1.3896
      },
      {
        "label": "Network egress",
        "quantity": 100,
        "unit": "GB",
        "rate": 0.05,
        "amount": 5
      },
      {
        "label": "Included monthly usage credit",
        "quantity": 1,
        "unit": "credit",
        "rate": -5,
        "amount": -5
      }
    ],
    "priceVersionId": "railway-hobby:7a80b0de673c8a3b4981dc5bfa35266d66b96e71f6195f161e1a41c34944b43c",
    "modelHash": "95d3b090757ab7b8edd5cb9bd26b9efc66da7c882816764677c4031c06c752d3",
    "modelSnapshot": {
      "schemaVersion": 1,
      "engineVersion": 1,
      "category": {
        "id": "hosting",
        "name": "App hosting",
        "description": "Requests, compute and bandwidth. See how hosting changes with traffic.",
        "scope": "A commercial web API with uncached dynamic requests, US compute, one deploying developer and standard builds. Runtime compatibility, concurrency and performance must be assessed separately. No databases, image transformations, middleware, premium logs or other add-ons.",
        "primaryField": "requests",
        "fields": [
          {
            "id": "requests",
            "label": "Dynamic requests",
            "unit": "requests / month",
            "description": "Every request invokes server code and reaches the CDN. Static asset requests are outside this scenario.",
            "defaultValue": 1000000,
            "min": 0,
            "max": 1000000000,
            "step": 1000
          },
          {
            "id": "cpuMs",
            "label": "CPU time per request",
            "unit": "milliseconds / request",
            "description": "Active CPU time, excluding network waits. Benchmark each runtime; the same input is a planning assumption.",
            "defaultValue": 10,
            "min": 0,
            "max": 300000,
            "step": 1
          },
          {
            "id": "memoryGbHours",
            "label": "Provisioned memory",
            "unit": "GB-hours / month",
            "description": "Memory multiplied by instance lifetime, including waits. Fluid concurrency can reduce this. Set it from measured usage.",
            "defaultValue": 100,
            "min": 0,
            "max": 10000000,
            "step": 1
          },
          {
            "id": "egressGb",
            "label": "Data sent to visitors",
            "unit": "GB / month",
            "description": "Uncached response traffic to visitors. Also used as origin traffic for this uncached scenario.",
            "defaultValue": 100,
            "min": 0,
            "max": 1000000,
            "step": 1
          },
          {
            "id": "deployments",
            "label": "Production deployments",
            "unit": "deployments / month",
            "description": "Publishes to production. Local or external CI builds are assumed for Cloudflare. Vercel standard builds without paid concurrency.",
            "defaultValue": 20,
            "min": 0,
            "max": 10000,
            "step": 1
          }
        ],
        "capabilities": [
          {
            "id": "edge_compute",
            "label": "Edge compute",
            "description": "Runs on distributed edge points of presence close to users."
          },
          {
            "id": "custom_domain",
            "label": "Custom domains",
            "description": "SSL/TLS termination on your own custom domain."
          },
          {
            "id": "ddos_protection",
            "label": "DDoS mitigation",
            "description": "Automated unmetered DDoS defense."
          }
        ],
        "presets": [
          {
            "id": "api_starter",
            "name": "API Starter",
            "description": "Low-traffic backend API or webhook receiver",
            "usage": {
              "cpuMs": 15,
              "deployments": 10,
              "egressGb": 20,
              "memoryGbHours": 25,
              "requests": 500000
            }
          },
          {
            "id": "saas_scale",
            "name": "High-Traffic SaaS",
            "description": "Production web application with regular traffic",
            "usage": {
              "cpuMs": 25,
              "deployments": 40,
              "egressGb": 1000,
              "memoryGbHours": 2500,
              "requests": 25000000
            }
          },
          {
            "id": "compute_heavy",
            "name": "Compute Heavy",
            "description": "Longer execution times and larger memory allocations",
            "usage": {
              "cpuMs": 250,
              "deployments": 25,
              "egressGb": 200,
              "memoryGbHours": 5000,
              "requests": 5000000
            }
          }
        ]
      },
      "product": {
        "id": "railway",
        "name": "Railway",
        "categoryId": "hosting",
        "vendorId": "railway",
        "tagline": "Instant infrastructure platform with per-second execution and pay-per-use billing.",
        "website": "https://railway.com/",
        "pricingUrl": "https://railway.com/pricing",
        "color": "#0b0d0e",
        "plans": [
          {
            "id": "railway-hobby",
            "name": "Hobby",
            "billing": {
              "currency": "USD",
              "interval": "month"
            },
            "basePrice": 5,
            "meters": [
              {
                "label": "Active CPU time",
                "quantity": {
                  "terms": [
                    {
                      "fields": [
                        "requests",
                        "cpuMs"
                      ],
                      "factor": 2.7777777777777776e-7
                    }
                  ]
                },
                "unit": "vCPU-hours",
                "included": 0,
                "unitSize": 1,
                "rate": 0.027792
              },
              {
                "label": "Provisioned RAM",
                "quantity": {
                  "field": "memoryGbHours"
                },
                "unit": "GB-hours",
                "included": 0,
                "unitSize": 1,
                "rate": 0.013896
              },
              {
                "label": "Network egress",
                "quantity": {
                  "field": "egressGb"
                },
                "unit": "GB",
                "included": 0,
                "unitSize": 1,
                "rate": 0.05
              }
            ],
            "limits": [],
            "warnings": [
              "Hobby has a $5 monthly minimum including $5 usage credit. Enter total active CPU and provisioned memory for the service, including background work. Aggregate monthly usage does not establish per-service capacity eligibility.",
              "USD monthly container-service plan, metered by the second. Memory input must represent measured billable memory use over running time and CPU input must include all billed CPU work. Builds are free. The included usage credit resets every cycle and never accumulates; cancellation retains the plan through the billing period and remaining usage is billed."
            ],
            "exclusions": [
              "Volume storage, object storage, sandboxes and optional services. Hobby is a single-developer workspace.",
              "Railway VMs and sandboxes use a different tariff and are excluded. The cited security docs do not establish the category requirement of automated unmetered DDoS defense; manual Under Attack Mode is not that capability and can block API traffic."
            ],
            "source": {
              "url": "https://railway.com/pricing",
              "checkedAt": "2026-11-09",
              "title": "Railway App Platform Pricing"
            },
            "usageCredit": 5,
            "capabilities": [
              "custom_domain"
            ]
          }
        ]
      }
    },
    "evidence": {
      "kind": "catalog_assertion",
      "observedAt": "2026-11-09",
      "sourceUrl": "https://railway.com/pricing"
    }
  },
  "scenarios": [
    {
      "name": "API Starter",
      "description": "Low-traffic backend API or webhook receiver",
      "costA": 7.1,
      "costB": 5,
      "winner": "B"
    },
    {
      "name": "High-Traffic SaaS",
      "description": "Production web application with regular traffic",
      "costA": null,
      "costB": 89.57,
      "winner": "unknown"
    },
    {
      "name": "Compute Heavy",
      "description": "Longer execution times and larger memory allocations",
      "costA": null,
      "costB": 89.13,
      "winner": "unknown"
    }
  ],
  "reproducibility": "Replay the selected public model snapshots with schema1/engine1 and the returned effective usage and asOf. This response is not a persisted historical receipt.",
  "calculationId": "860bb94aa78bda67e40c905ef787086fb2453d8e7c66a0ed5108f8306b901a3a"
}