TL;DR
Choose Railway for flexible hosting of almost any service, database, or Docker image. Choose floo for internal tools that people and agents both use: invite-only sign-in and a scoped API key per agent are built into every app, so you don't add an auth provider or write a key system. floo runs the internal and personal software you build with AI.
- Sign-in: Railway's login gate needs the $5,000 a month tier and admits only project members. Below that you add a provider like Clerk. floo's gateway admits the people you invite, on every plan.
- Agents: Railway tokens manage Railway, not your app. floo gives each agent its own route-scoped, rate-limited, revocable key.
- Data and jobs: both platforms provision Postgres and run cron from config.
- Where Railway leads: it runs nearly any service or database type, bills by the second, and includes unlimited seats on Pro.
Facts about Railway come from its own documentation and pricing page, read on October 22, 2026.
What does each platform do for an internal tool?
| Need | Railway | floo |
|---|---|---|
| Invite-only sign-in | Railway Authentication at the $5,000/mo tier, project members only; otherwise an auth provider such as Clerk | access_mode = "accounts"; invited people sign in through floo; every plan |
| Vendors for the task | 2 (Railway plus an auth provider) | 1 |
| Database | railway add --database postgres; app reads it through a reference variable | [managed.default] with type = "postgres"; DATABASE_URL injected |
| Daily job | cronSchedule in railway.json; runs at least 5 minutes apart and can drift | [cron.<name>] in config, run in the app's container |
| Agent credential | None for app routes; build your own or use a provider | Key per named consumer, scoped to declared routes, rate-limited, with request history |
| Commercial plan | Hobby $5 or Pro $20 per workspace, plus usage | Starter $4 a month for one app; Team $250 |
How does sign-in work?
Railway Authentication, announced in October 2026, is an identity-aware proxy: Railway's edge asks every visitor to sign in with Railway before forwarding the request, and only members of the project get through. It is available on the $5,000 a month committed-spend tier, and a workspace admin turns it on in the dashboard.
Below that tier, the app ships its own auth. Railway's guide uses Clerk as its main example. That adds a second vendor, a second dashboard, and two Clerk keys to copy into Railway.
On floo, sign-in is one line in floo.app.toml, access_mode = "accounts", and floo apps invite teammate@acme.com --role member adds a teammate. Your code reads the signed-in person from X-Floo-User-Email and the other identity headers, and removing someone ends their sessions immediately.
How does an agent get access?
Railway's account, workspace, project, and OAuth tokens all authenticate to Railway's own API. None of them is a credential for your app's routes. An agent key for the app means a key table and middleware you write, or a provider such as Clerk's API keys, a usage-billed feature.
On floo:
floo apps consumers create stock-agent
floo apps keys create stock-agent --consumer stock-agent --scope inventory.write --rate-limit-rpm 60
The key works only on routes declared with that scope. floo strips it before your code sees the request, passes the verified consumer's identity instead, and lists every request by key ID.
Can an agent run the whole setup?
Mostly, on both. Railway's CLI covers creating a project, adding Postgres, setting variables, deploying with railway up, and cron, and Railway offers a remote and a local MCP server. The login gate toggle and the auth provider's setup happen in dashboards.
On floo, sign-in, data, jobs, routes, and agent keys are all in the API, CLI, and MCP server, so an agent can ship the whole tool. A person still signs up, adds a card and buys credits, and installs the GitHub App unless the repository is hosted on floo.
Where is Railway stronger?
- Flexibility. Railway deploys any Docker image or repository, and offers MySQL, MongoDB, Redis, and other databases from templates.
- Storage buckets. S3-compatible buckets with free egress and API operations.
- Billing. Per-second usage, with unlimited seats included on Pro.
Which should you choose?
Choose Railway when you want a flexible canvas for many services and are happy to bring your own auth. Choose floo when the software is for a known group of people and an agent will use it too, so sign-in and agent keys should come with the app.
For the wider field, see the best platforms to host internal tools built with AI.
Sources
- Railway: Railway Authentication, guardrails, frontend authentication guide, PostgreSQL, reference variables, cron jobs, public API, CLI, MCP server, storage buckets, plans
- Clerk: API keys
- floo: app auth, app API keys, Postgres, cron jobs, pricing
Frequently asked questions
Does Railway have built-in sign-in for private apps?
Railway Authentication puts a Railway login in front of a service, but it is available only on the $5,000 a month committed-spend tier and admits only members of the Railway project. Below that, Railway's guide has you add a provider such as Clerk.
Can an AI agent get a scoped API key for a Railway app?
Not from Railway. Railway's account, workspace, and project tokens authenticate to Railway's own API, not to your app's routes. A scoped agent key means building your own or using a provider such as Clerk's API keys.
How is floo different from Railway for internal tools?
On floo, invite-only sign-in and per-agent API keys are part of the app's config on every plan. Invited people sign in through floo's gateway, and each agent gets a key scoped to declared routes, with rate limits and a request log.
Is Railway cheaper than floo?
Railway's Hobby plan is $5 a month including $5 of usage, and Pro is $20 a month per workspace plus usage. floo's Starter plan is $4 a month for one app with 4 floo credits included. A private internal tool on Railway also needs an auth provider below the $5,000 tier.