PLAN-2026-10-23-DEEP.md (committed earlier) cites these two as companion docs; they were written in the same pass but never made it into a commit. Recovering them so the backlog's citations resolve to real files.
358 lines
22 KiB
Markdown
358 lines
22 KiB
Markdown
# Railyard — Competitive Positioning, User Research, Technical Architecture Notes
|
|
|
|
Date: 2026-10-23. Companion to `docs/RAILYARD_ENTERPRISE_ARCHITECTURE.md` (full
|
|
architecture), `docs/CONSUMERS.md` (who calls what today) and
|
|
`docs/OSS_FOUNDATIONS.md` (build-vs-fork decisions). `PLAN-2026-10-23-DEEP.md`
|
|
did not exist in this repo at time of writing, so there is nothing to avoid
|
|
duplicating; this doc stays on competitive positioning, user research and
|
|
architecture as instructed, not a pages/APIs/features backlog.
|
|
|
|
## What Railyard actually is today (read from the live code, not the pitch)
|
|
|
|
- Railyard is infrastructure first, product second: per `docs/CONSUMERS.md`,
|
|
"Railyard exists first to run billing, LLM routing, metering and payouts
|
|
for OUR portfolio (Rally, Menivor, Scribase, OpenJev, the mobile apps and
|
|
games), and second to sell the same services to others on the same code
|
|
path." Every hop is opt-in/env-gated; most of it is wired but not switched
|
|
on in production for the owner's own apps yet.
|
|
- The only component with a live, no-login, self-serve signup funnel today
|
|
is **Insights** (`apps/insights-edge`): public landing page, email+domain
|
|
form, 10,000 free events/month, instant tokenized dashboard link, running
|
|
at `insights.ereboslab.com` (verified live, HTTP 200, 2026-10-23).
|
|
- **Faultline** (GlitchTip, `errors.ereboslab.com`) and **Rithub** (Gitea
|
|
fork, `git.ereboslab.com`) are both live (verified HTTP 200) but have no
|
|
external self-serve signup wired — Faultline is consumed by the owner's
|
|
other products directly; Rithub runs native Gitea accounts with no OIDC/SSO
|
|
bridge to the rest of Railyard yet (`apps/gitea/README.md`: "No
|
|
Railyard-run OIDC/identity server exists yet").
|
|
- **apps/console** is the one place a unified "Railyard" product exists: sign
|
|
in with Google/GitHub/email, a $1 refundable card check, a 14-day trial,
|
|
one monthly/yearly plan via Dodo, and a nav bundling **Insights, Flags,
|
|
Product analytics, Usage, Billing**, plus **Watch** (uptime) behind a flag
|
|
and an outbound **Code** link to Rithub. This is the closest thing to a
|
|
PostHog/Vercel-style bundle Railyard has — and per `apps/console/NOTES.md`
|
|
it is built and merged to `main` but not deployed to the live Worker,
|
|
blocked on one owner-only step (provisioning a real `railyard-console`
|
|
Scribase project; a guard in `lib/config.ts` 500s every route until that
|
|
happens).
|
|
- **Relay** (model gateway), **Rago** (usage billing), **Switchyard**
|
|
(tool-calling), **Vend** (resellable AI SDK), **Mint** (ledger) have no
|
|
self-serve signup at all — onboarding a new org today is an admin-token
|
|
`curl` call (`apps/toolgate/README.md`'s own bootstrap example), not a
|
|
web form.
|
|
|
|
That shape — one real self-serve wedge (Insights), five to seven backend
|
|
rails with zero self-serve path, and one unified console built but not yet
|
|
reachable by an outside user — is the ground truth this strategy is written
|
|
against.
|
|
|
|
## 1. Direct competitors
|
|
|
|
Grouped by rail, since Railyard is honestly a bundle of narrow categories,
|
|
not one product with one competitor set.
|
|
|
|
**Model gateway (Relay vs.)**
|
|
- OpenRouter — no monthly fee, 400+ models/70+ providers, no per-token
|
|
markup; makes money on a 5.5% fee on card credit top-ups (min $0.80, 5%
|
|
crypto), 8% for the EU/US-only Business tier. Strongest: largest catalog,
|
|
zero-setup BYOK. Weakest: no self-hosting at all, so no data-residency
|
|
option, and the 5.5% top-up fee compounds hard at volume (~$5k/yr on
|
|
$100k/month of spend).
|
|
- Portkey (now marketed as Prisma AIRS AI Gateway after the May 2026 Palo
|
|
Alto Networks acquisition) — Developer free (10K logs/mo, 3-day
|
|
retention), Production $49/mo (100K logs/mo, 30-day retention, guardrails,
|
|
RBAC, semantic caching, +$9/100K logs). Strongest: 1,600+
|
|
providers/models, SOC2/HIPAA/GDPR compliance, self-hostable. Weakest:
|
|
now enterprise-security-branded post-acquisition, $49/mo floor for
|
|
anything past the free dev tier, and billed on log volume rather than
|
|
being free at the gateway layer.
|
|
- Helicone — open-source, free to self-host; managed Hobby free (10K
|
|
req/mo), Pro $79/mo, Team $799/mo. Strongest: 0% token markup, fully
|
|
self-hostable, strong observability. Weakest: smaller catalog (~100
|
|
models vs. OpenRouter's 400+ and Portkey's 1,600+).
|
|
|
|
**Usage/subscription billing (Rago vs.)**
|
|
- Stripe Billing — 0.7% of billed volume (0.5% at Scale), stacked on top of
|
|
2.9%+30c card processing. Strongest: already the payments rail most
|
|
founders use. Weakest: cost scales with revenue forever (≈$70k/yr at
|
|
$10M in usage charges), 100 req/s Events API cap, weak hybrid pricing.
|
|
- Lago (Cloud) — Starter free up to $250K cumulative invoiced revenue, then
|
|
0.75%; Performance $599/mo includes $100K/mo free billing volume; AGPLv3
|
|
open-source core. Strongest: the only fully open-source option, so
|
|
self-hostable with no per-transaction fee. Weakest: cloud version is
|
|
thin — most real functionality needs the $599+/mo tier, and AGPL scares
|
|
off teams that need to embed it in a closed product.
|
|
- Orb / Metronome — both custom/sales-quoted, no public pricing (Orb
|
|
reportedly ≈$720/mo platform fee; Metronome 0.8% of billing volume +
|
|
$0.04/1,000 events, now Stripe-owned after its 2026 $1B acquisition and
|
|
powering OpenAI/Anthropic/NVIDIA billing). Strongest: proven at serious
|
|
AI-usage scale. Weakest: opaque pricing, sales-cycle onboarding — exactly
|
|
what a solo founder or 3-person team cannot get through quickly.
|
|
|
|
**Error tracking (Faultline vs.)**
|
|
- Sentry — Team $26/mo (50K errors), Business $80/mo, Enterprise custom
|
|
(median $23,301/yr per Vendr data); 2026 added a $40/contributor/mo "Seer"
|
|
AI add-on. Strongest: mature product, deep performance/replay/profiling.
|
|
Weakest: per-user and per-event overage pricing gets expensive fast
|
|
(teams of 50-200 report $500-$2,000+/mo), and self-hosting Sentry needs
|
|
50+ Compose services and 16GB+ RAM.
|
|
- GlitchTip Cloud (the project Faultline is itself built on) — free to
|
|
self-host unlimited; hosted free tier 1,000 events/mo, paid from
|
|
$17-50/mo for 50K-500K events. Strongest: no per-seat fees, trivially
|
|
light to self-host (512MB RAM). Weakest: Faultline today is just a
|
|
deployed GlitchTip instance with no visible differentiation from
|
|
glitchtip.com's own cloud offering — same product, same price class,
|
|
different logo.
|
|
- Honeybadger — positioned at indie/small-team error tracking, similar
|
|
price band to Sentry Team. Strongest: uptime+error+cron monitoring in one
|
|
small-team plan. Weakest: smaller ecosystem, no open self-host option.
|
|
|
|
**Web analytics (Insights vs.)**
|
|
- Plausible — $9/mo for 10K pageviews/site, cookieless, EU-hosted, open
|
|
source with a free self-hosted Community Edition, auto-detects AI
|
|
referral traffic (ChatGPT/Perplexity/Claude). Strongest: cheapest
|
|
single-site entry price, self-hostable. Weakest: Stats API gated to the
|
|
Business tier; per-site pricing penalizes multi-property teams.
|
|
- Fathom — $15/mo flat for unlimited sites up to 100K views, $45/mo to 1M.
|
|
Strongest: one flat bill across unlimited sites, forever retention and
|
|
API access even on the entry plan. Weakest: no AI-referral attribution,
|
|
no self-hosting (only a "Lite" self-host tier).
|
|
- PostHog — free tier covers 1M analytics events, 5K session replays, 1M
|
|
feature-flag requests, 100K error-tracking exceptions, 1.5K survey
|
|
responses/month, all in one account; paid tiers from $250/mo (Boost).
|
|
Strongest: the only competitor that already bundles analytics + flags +
|
|
replay + error tracking + surveys the way Railyard's console is trying
|
|
to. Weakest: 2026 cut session-replay free allowance 66% (15K→5K/mo), and
|
|
real bills jump fast past free tier (modeled $370-$1,900+/mo for a
|
|
growing app) — the free tier is generous but the cliff is steep.
|
|
- Simple Analytics — $20/mo + $20/extra user, no self-hosting. Weakest of
|
|
the three on both price and flexibility.
|
|
|
|
**Feature flags (Flags vs.)**
|
|
- LaunchDarkly — free Developer tier (unlimited seats/flags, 14-day
|
|
retention, 1,000 client MAU), then pay-as-you-go from $10-12 per service
|
|
connection/1K MAU; real bills $75-$825/mo at 10K-100K MAU, enterprise
|
|
contracts averaging $64K-$72K/yr. Strongest: enterprise governance,
|
|
audit, approvals. Weakest: cost explodes with MAU — the worst fit for a
|
|
cash-constrained small team.
|
|
- Unleash — self-hosted free forever (core features, capped at 1
|
|
project/2 environments); Cloud Pay-As-You-Go $75/seat/mo, 5-seat minimum.
|
|
Strongest: true free self-host. Weakest: cloud entry price ($375/mo
|
|
minimum for 5 seats) is high for a small team; no built-in analytics.
|
|
- Flagsmith — BSD-3 self-hosted with no artificial caps; hosted free tier
|
|
1 member/50K requests/mo; Start-Up $40-45/mo for 3 members/1M requests.
|
|
Strongest: most generous self-host (uncapped) and cheapest at scale
|
|
among hosted options. Weakest: smaller ecosystem/integration catalog
|
|
than LaunchDarkly.
|
|
- PostHog — flags bundled into the same free/paid tiers above (1M flag
|
|
requests free, then $0.0001/request). Strongest: one bill with analytics.
|
|
Weakest: same steep post-free-tier cliff.
|
|
|
|
**Uptime monitoring (Watch vs.)**
|
|
- UptimeRobot — free tier 50 monitors/5-min checks (most generous free
|
|
tier in the category); Solo $7/mo, Team $29/mo, Enterprise $54/mo.
|
|
Strongest: cheapest headline price, best free tier. Weakest: no built-in
|
|
on-call/incident management — needs a bolted-on PagerDuty integration
|
|
that adds real cost (~$2,124/yr) at team scale.
|
|
- Better Stack — free tier only 10 monitors/3-min checks; paid from
|
|
$29/mo but bundles uptime + on-call + incident management + status
|
|
pages in one product, which wins on 3-year TCO (~$1,800 vs. ~$2,472+ for
|
|
UptimeRobot+PagerDuty) once a team needs on-call. Strongest: all-in-one
|
|
incident workflow. Weakest: smaller free tier than UptimeRobot.
|
|
- Pingdom — no free tier, from $15-18/mo for 10 checks, climbs fast;
|
|
mainly relevant if already in the SolarWinds ecosystem. Weakest in the
|
|
category on both price and free-tier access.
|
|
|
|
**Tool-calling / agent actions (Switchyard vs.)**
|
|
- Zapier (incl. Zapier MCP) — task-based billing; Professional ≈$20-30/mo
|
|
for 750 tasks, Team $69-103.50/mo for 2,000 tasks; 9,000+ app
|
|
integrations; each MCP tool call burns 2 tasks. Strongest: by far the
|
|
largest integration catalog and a no-code builder non-engineers can use.
|
|
Weakest: task pricing is expensive per-unit for high-volume agent
|
|
workloads, and MCP calls cost double in task consumption.
|
|
- Composio — tool-call-based billing; free 20K-100K calls/mo (depends on
|
|
OAuth setup), Pro $29/mo usage credit then $0.0003/call + $0.003/trigger
|
|
+ 5% markup on premium tools + $3.75/M sandbox LLM tokens. Strongest:
|
|
far better unit economics at high agent-call volume (200K calls for
|
|
$29/mo vs. Zapier's 750 tasks for ~$20-30). Weakest: ~1,000-1,500
|
|
toolkits vs. Zapier's 9,000+, and four separate metered dimensions make
|
|
the bill hard to forecast.
|
|
|
|
**Git hosting (Rithub vs.)**
|
|
- GitHub Team/Enterprise — $4/user/mo Team, $21/user/mo Enterprise (a
|
|
50-person team: ≈$12,600/yr before Copilot). Strongest: the default
|
|
network effect — every hire and every OSS contributor already has an
|
|
account. Weakest: no real self-hosted free path (Enterprise contract
|
|
required); expensive per-seat at scale.
|
|
- Gitea Cloud/Enterprise — hosted from ≈$3.25-9.50/user/mo; self-hosted
|
|
MIT core is free and runs on a $5 VPS. Strongest: MIT license, tiny
|
|
footprint, Actions/Packages/Wiki/LFS all built in (proven locally in
|
|
`apps/gitea`'s own 2026-10-15 session: HTTPS/SSH push, LFS, npm
|
|
registry publish, wiki, Actions tab all confirmed working). Weakest: no
|
|
official large-scale managed cloud comparable to GitHub's; Rithub today
|
|
is undifferentiated Gitea branding with no SSO into the rest of
|
|
Railyard yet.
|
|
- Codeberg — free for FOSS projects, non-profit, Forgejo-based. Not a
|
|
commercial-team competitor; relevant only as the free alternative for
|
|
open-source maintainers.
|
|
|
|
**All-in-one bundle (Railyard Console vs.)**
|
|
- PostHog is the one competitor that already does what `apps/console` is
|
|
trying to do — analytics + flags + replay + error tracking + surveys,
|
|
one sign-in, one bill, generous free tier, $250/mo first paid step.
|
|
This is the real strategic threat to the console, not any single-purpose
|
|
tool above.
|
|
|
|
## 2. Differentiation plan — specific, not generic
|
|
|
|
- **Settlement layer, not vanity bundling.** Every sub-rail (Relay, Rago,
|
|
Switchyard, Vend, Turnstile) holds a Mint hold before work happens and
|
|
captures the exact cost after, with Ed25519 hash-linked receipts and
|
|
reserve conservation (`docs/RAILYARD_ENTERPRISE_ARCHITECTURE.md`). That
|
|
means Railyard can make a claim none of the above can: **a failed LLM
|
|
call, a failed tool call, or a failed task literally cannot generate a
|
|
charge** — there is no refund queue because there is no premature debit.
|
|
OpenRouter, Zapier, Composio and Stripe Billing all bill on attempted
|
|
usage/tasks, not verified success; this is a structural, provable
|
|
difference to put on a comparison page, not a tagline.
|
|
- **One bill across categories PostHog doesn't cover.** PostHog bundles
|
|
analytics+flags+replay+error-tracking+surveys. It does **not** do LLM
|
|
model routing, usage-based billing/invoicing, uptime monitoring, or git
|
|
hosting. Railyard's console (once deployed) is positioned to be the
|
|
wider bundle: the same analytics/flags/replay PostHog offers, plus
|
|
model-gateway spend, tool-call spend, usage billing and uptime, on the
|
|
same Mint ledger and the same $1-trial-then-one-plan billing ladder —
|
|
i.e., compete with PostHog on scope, not on matching its free-tier
|
|
numbers (which are genuinely hard to beat: 1M events/5K replays/1M flag
|
|
requests free is a high bar).
|
|
- **Undercut OpenRouter's take-rate explicitly.** Relay charges no
|
|
percentage markup on top-ups the way OpenRouter's 5.5% (8% EU/US-only)
|
|
does. A direct "$100k/month spend → OpenRouter takes ~$5,500/yr-$8,000/yr
|
|
in fees, Relay takes $0 markup (Mint's cut is on captured compute, not a
|
|
credit-purchase tax)" comparison page is the concrete artifact; this is
|
|
the single clearest price-axis win available anywhere in the portfolio.
|
|
- **Beat Gitea Cloud and GitHub Team on bundled billing, not on git
|
|
features.** Rithub cannot out-feature GitHub. It can be the only git
|
|
forge where CI minutes, LFS storage and package registry usage settle
|
|
through the same Mint ledger as a team's model/tool spend — one invoice
|
|
instead of a GitHub bill plus an OpenRouter bill plus a Stripe bill.
|
|
That requires finishing the one real gap found in the code: Rithub has
|
|
no SSO into the console yet (`apps/gitea/README.md`, confirmed
|
|
TODO(railyard-sso)) — ship that before claiming "one bill, one
|
|
sign-in" anywhere in marketing copy, or the claim is false on day one.
|
|
- **Faultline needs a reason to exist beyond "GlitchTip with a new logo."**
|
|
Today it has none — same price class, same features as glitchtip.com's
|
|
own cloud. The only defensible move is to fold Faultline's errors into
|
|
the same per-org usage meter as Insights/Flags/Watch in the console
|
|
(it is architecturally positioned to, since Rago already meters
|
|
`insights_events` the same way) so error events are free up to the
|
|
console's bundle cap instead of a separate GlitchTip bill — undercutting
|
|
GlitchTip Cloud's own $17-50/mo tiers by rolling errors into a plan the
|
|
customer is already paying for one other thing from.
|
|
- **Switchyard's success-only billing is the Composio/Zapier differentiator,
|
|
not catalog size.** Railyard cannot out-catalog Zapier (9,000+
|
|
integrations) or Composio (~1,000-1,500 toolkits) soon — Switchyard
|
|
ships 27 tools today (`apps/toolgate/README.md`). The honest wedge is
|
|
teams that already pay for Relay (model routing) wanting their tool
|
|
calls on the *same* `sk-t0-` key and the *same* Mint ledger as their
|
|
model spend, with Zapier's failure mode (billed task even when the
|
|
Zap errors) replaced by hold/capture. Market it as the tool rail for
|
|
people already on Relay, not as a general Zapier replacement.
|
|
|
|
## 3. Primary user persona / ICP
|
|
|
|
- **Who exactly:** a technical founder or 2-5 person engineering team
|
|
shipping an AI-powered product (SaaS, agent, or app) who is already
|
|
paying for, or about to sign up for, at least two of: an LLM gateway
|
|
(OpenRouter/Portkey), a billing/metering tool (Stripe Billing/Lago), an
|
|
error tracker (Sentry/GlitchTip), and a web analytics tool
|
|
(Plausible/PostHog). This matches the owner's standing audience rule —
|
|
founders, small teams, developers, Supabase/Neon/Resend users — and
|
|
matches who the live products (Scribase, Menivor, Rally/vcpeer, Bidstage)
|
|
already are inside this same portfolio.
|
|
- **Job to be done:** stop paying 3-5 separate subscriptions and
|
|
reconciling 3-5 separate dashboards for "is my AI product working and
|
|
am I losing money on it" — one sign-in, one usage meter, one invoice,
|
|
across model spend, tool spend, errors, analytics and uptime.
|
|
- **What they are NOT:** not an enterprise buyer (no procurement cycle
|
|
tolerance — LaunchDarkly/Orb/Metronome's custom-quote sales motion is
|
|
exactly what this persona avoids), and not a no-code marketer (Zapier's
|
|
audience) — they write code and want an API/CLI first, a dashboard
|
|
second.
|
|
- **Where they already are today, inside this portfolio:** Scribase
|
|
(Supabase/Neon alternative), Bidstage, Menivor and Rally/vcpeer all
|
|
target this same founder/small-team persona — Railyard's fastest,
|
|
cheapest acquisition channel is cross-sell into users who already signed
|
|
up for one of those, not cold outbound to strangers.
|
|
|
|
## 4. User journey map (discovery to paying/retained)
|
|
|
|
1. **Discovery.** Today realistically happens through: (a) cross-sell from
|
|
another owned product (Scribase/Menivor/Bidstage users seeing an
|
|
"Insights" or "Faultline" badge), (b) a founder searching
|
|
"OpenRouter alternative no markup" / "Sentry alternative self-hosted" /
|
|
"Plausible vs PostHog" — the exact query shapes the research above
|
|
turned up third-party roundups for — or (c) a comparison/listing page
|
|
Railyard itself publishes.
|
|
2. **Landing.** Lands on one single-purpose surface — right now only
|
|
Insights' public landing page (`insights.ereboslab.com`) actually has
|
|
this; Faultline and Rithub have no equivalent public landing/signup
|
|
page yet.
|
|
3. **Self-serve activation.** Email+domain form, no card, dashboard link
|
|
mailed instantly (Insights' existing flow). This step works today and
|
|
is the only step in the whole journey that is proven end-to-end.
|
|
4. **First real value moment.** Seeing real traffic/error/flag data in the
|
|
dashboard within the free tier (10,000 events/mo for Insights).
|
|
5. **Second-product need.** User hits a second pain (an error spike, a
|
|
feature-flag need, a model-spend question) and should be offered the
|
|
console bundle instead of signing up for a competitor for that second
|
|
need.
|
|
6. **Unified signup.** Console sign-in (Google/GitHub/email), $1 refundable
|
|
card check, 14-day trial, see Apps/Insights/Flags/Product
|
|
analytics/Usage/Billing in one place.
|
|
7. **Conversion.** Trial ends, one monthly/yearly plan via Dodo, tracked
|
|
through `lib/ladder.ts` and Standard Webhooks.
|
|
8. **Retention/expansion.** Usage grows across more meters (model spend via
|
|
Relay, tool spend via Switchyard), all settling through the same Mint
|
|
ledger and the same invoice.
|
|
|
|
**Biggest drop-off risk, named specifically:** step 6, the unified console
|
|
signup, **cannot happen at all right now** — `apps/console` is merged to
|
|
`main` but not deployed to its live Worker, blocked on one owner step
|
|
(provisioning the `railyard-console` Scribase project so `SCRIBASE_URL`
|
|
stops pointing at the control-plane host; confirmed by a live deploy
|
|
attempt in `apps/console/NOTES.md` that 500s every route including `/`
|
|
until that happens). Every user who completes steps 1-5 on Insights today
|
|
has nowhere to go for step 6 — there is no visible path from "I like
|
|
Insights" to "I am now a Railyard console customer." Second-worst drop-off:
|
|
steps 2-3 don't exist yet for Faultline or Rithub at all, so cross-sell
|
|
from Insights into those products means handing the user an admin-API
|
|
curl command, not a signup form.
|
|
|
|
## 5. Three concrete growth moves
|
|
|
|
1. **Ship a "you're already using Insights, here's your Railyard account"
|
|
cross-sell banner the moment the console is reachable**, pre-filling
|
|
the email from the Insights dashboard-link flow so an existing
|
|
self-serve Insights user becomes a console sign-in with zero new typing
|
|
— this directly plugs the step-6 drop-off found above and costs no
|
|
infrastructure beyond a banner + prefilled OAuth/email-code start,
|
|
since both already share a Scribase-based auth pattern.
|
|
2. **Publish one real, numbers-backed comparison page: "Relay vs.
|
|
OpenRouter: $0 markup vs. 5.5-8% on every top-up."** Submit it to the
|
|
same places the research above surfaced organically ranking for this
|
|
(awesome-llm-gateway GitHub lists, r/LocalLLaMA and r/artificial threads
|
|
comparing gateways, Hacker News "Show HN" for a model router) — this is
|
|
the single clearest, most defensible price-axis claim in the whole
|
|
portfolio and nobody else in this niche is making it with Mint's
|
|
success-only billing as the mechanism (not just a lower number, a
|
|
structurally different guarantee).
|
|
3. **Give Faultline a reason to exist by wiring it into the console's
|
|
usage meter before marketing it at all**, then target the exact search
|
|
intent third-party sites are already writing about — "Sentry
|
|
alternative for indie teams," "GlitchTip hosted" — with a page that
|
|
says "free up to your Insights/Flags plan's cap, not a separate
|
|
$17-50/mo bill," which is a real, buildable differentiation (Rago
|
|
already metering `insights_events` the same way) rather than
|
|
"we hosted the same open-source project someone else already hosts."
|