
orpc
Typesafe APIs Made Simple ๐ช
The Lens
By Erik Loyd, SaaS CEO and former COO/CFO of an AWS Premier Partner.
Updated Aug 2026
oRPC solves a specific annoyance: your frontend calls your backend, and nothing tells you when the two quietly disagree about the shape of the data. Define the contract once and TypeScript flags the mismatch in your editor instead of in production. MIT licensed, no paid tier, no hosted service waiting to upsell you.
There is nothing to run. oRPC is npm packages you import into whatever stack you already have, with adapters for Next.js, NestJS, Bun, and Cloudflare Workers. Contract-first is the real differentiator: you write the API shape as a standalone artifact and get an OpenAPI spec out of it, so consumers that are not TypeScript are not locked out. tRPC gives you type safety without the spec; ts-rest gives you the contract without the adapter breadth.
Solo and small teams running TypeScript on both ends get the most out of this. Medium teams with a mixed stack still come out ahead because of the OpenAPI output. Large teams already deep in tRPC should leave it alone; the win is real but not migration-sized.
The catch is that this is still pre-1.0 with more than twenty packages in the monorepo. Breaking changes are landing, and "which packages do I actually need" is a real first-day question. Pin your versions.
Free vs Self-Hosted vs Paid
fully freeWhat's Free
Everything. MIT license across the whole monorepo: contract, server, client, all the framework adapters, and the OpenAPI generation. No feature is held back.
Deployment Cost
oRPC is a library, so your cost is whatever you already pay to run your app:
- Cloudflare Workers: 100,000 requests/day free, $5/mo above that.
- Vercel: included in the Hobby tier.
- Self-hosted (Node/Bun): $5-10/mo VPS.
The Real Cost
Time, not money. Budget half a day to pick the right packages and wire the first router, plus ongoing attention to breaking changes while the project is pre-1.0.
vs tRPC
tRPC is also free and has the bigger ecosystem and more answers on the internet. oRPC's edge is the OpenAPI output and contract-first structure. If every consumer of your API is TypeScript, tRPC is the safer bet on maturity alone.
vs ts-rest
ts-rest is also free and also contract-first. oRPC covers more runtimes and ships more adapters out of the box.
Completely free and open source, with no hosted tier to graduate into. Your only cost is the time spent tracking pre-1.0 breaking changes.
What to do by team size
- Solo
- free; ideal if you own both ends of the stack
- Small team
- free; the OpenAPI output pays for itself the first time a non-TS client shows up
- Medium team
- free; standardize on one adapter set before it sprawls
- Large team
- free, but do not migrate off a working tRPC setup for this
Get tools like this every Wednesday
One featured tool, three on the radar. No fluff.
A low score is not a verdict on quality. Young and niche tools start low by design. How we calculate scores
Trust Signals
License: MIT License
Use freely, including commercial. Just keep the license.
Commercial use: โ Yes
About
- Owner
- middleapi (Organization)
- Stars
- 5,462
Explore Further
More tools in the directory
next.js
The React Framework
141.7k โcc-switch
A cross-platform desktop All-in-One assistant tool for Claude Code, Codex, OpenCode, openclaw & Gemini CLI.
127.1k โopen-design
๐จ Local-first, open-source alternative to Anthropic's Claude Design. โก 19 Skills ยท โจ 71 brand-grade Design Systems ยท ๐ผ๏ธ sandboxed preview ยท ๐ฆ HTML/PDF/PPTX export. ๐ค Runs on Claude Code / Codex / Cursor / Gemini CLI / OpenCode / Qwen / Copilot / Hermes / Kimi CLI.
85.2k โ