Railway vs Codebase API
Fact by fact
18 different6 stated by only one1 the same on both
The basics
What it isRailway: Infrastructure platform that deploys services, databases and sandboxes from a repo or image and bills CPU, memory, egress and storage by the second.Codebase API: App-builder API that builds a web app from a prompt, returns a preview and the source, paid from monthly credits or per build over x402 with no account
AccessRailway: HTTP, CLI, MCPCodebase API: HTTP, CLI, MCP, Hosted UI
Still on saleRailway: YesCodebase API: Yes
What they work on
BothDeployment
Only one of themRailway: DatabaseHosted projectSandboxBucketDomainJob applicationWorkspaceTeamTraceService instanceCodebase API: Async jobWebsiteWork projectAI model
Price
PricesRailway: Not statedCodebase API:
- Indie$16 /month
- Builder$33 /month
- Pro$65 /month
Buying and paying
Agent gets a key aloneRailway: Not statedCodebase API: Yespaying the x402 offer returns 'x402.apiKey' for a wallet-keyed account
First call without a keyRailway: Not statedCodebase API: Noa keyless call answers 402 until paid
Agent can payRailway: Nopayment through a web account, a sales contract or a card on file; no agent payment route seenCodebase API: YesPOST /api/v1/builds with no key answers 402 PAYMENT-REQUIRED (x402 v2, USDC on Base); payment returns a key
Payment railsRailway: card, invoice'Railway accepts credit cards for plan subscriptions and usage'; invoices on EnterpriseCodebase API: card, cryptocard plans; USDC on Base over x402
Payment protocolsRailway: noneno agent payment protocol named on public pagesCodebase API: x402x402Version 2 in the PAYMENT-REQUIRED header
Subscription requiredRailway: NoFree plan with $1 a month of usageCodebase API: Nox402 payment buys credits with no plan
Smallest purchase (USD)Railway: From $5Hobby '$5' with $5 a month of usageCodebase API: Not stated
Price published as dataRailway: Noprices only in HTML pagesCodebase API: Yesthe 402 PAYMENT-REQUIRED header carries amount, asset and credits
Receipt or usage recordRailway: Not statedCodebase API: Yes402 response states 'x402.creditsGranted'; out-of-credit answers 402 insufficient-credits
Reading and signing up
Public pricesRailway: Yesplans and per-second ratesCodebase API: Yesplan prices on the public pricing page
Self-serve sign-upRailway: YesCodebase API: Yesaccount by web sign-up; key or OAuth from the account
Free useRailway: YesFree Trial $5 one-time credit; Free plan $1 a monthCodebase API: Yes'Free $ 0 /mo ... 1,000 credits a month'
OpenAPIRailway: Yesrailway.com/openapi.json for the GraphQL entrypoint and OAuth endpointsCodebase API: Yes'OpenAPI 3.1 spec' at codebase.design/api-docs per llms.txt
OpenAPI versionRailway: 3.1'OpenAPI 3.1'Codebase API: 3.1stated in llms.txt
Docs without loginRailway: YesCodebase API: YesAPI reference readable without an account
llms.txtRailway: Yesrailway.com and docs.railway.comCodebase API: Yescodebase.design/llms.txt
Docs as MarkdownRailway: Not statedCodebase API: NoAccept: text/markdown returned text/html on the docs page tested
MCP
Vendor MCP serverRailway: YesRailway Remote MCP Server at mcp.railway.com; server card at /.well-known/mcp/server-card.jsonCodebase API: Yeshttps://codebase.design/api/mcp
MCP server hosted by the vendorRailway: YesCodebase API: Yeshosted by the vendor
MCP sign-inRailway: Signs in with OAuth'over OAuth — no local install, no CLI login, no token files'Codebase API: Signs in with OAuth401 with OAuth protected-resource metadata; also accepts a Bearer API key
Jobs both do
Open a job to see every API that does it.

