Hosting on irt.io
The Room API and the Client API are an open-source library: @irtio/room, @irtio/clientand the room host that runs a build are MIT licensed, and a build runs on your own machine without irt.io. irt.io is the official hosting. What is charged for is hosting, not the library.
What hosting adds
The same build runs in both places, and the client SDKs work against either, so moving between them is a change of router address.
| Self-hosted room host | Hosted on irt.io | |
|---|---|---|
| Room code, schemas and the client SDKs | The same | The same |
| Where rooms run | One process on one machine | On irt.io's servers in a region, with no machine of yours to size or keep running |
| Room state | On your own disk | In the state store, kept while the room hibernates |
| Connections | WebSocket, straight to the room host | WebTransport or WebSocket through the region's router, which holds players while a room wakes |
| Your site | On any web host, or served by the room host | On any web host, or on <project>.irt-serve.com, where it goes live together with the rooms it was built against |
| Deploys | You unpack a build and run it | irt deploy, and the dashboard makes an earlier build live again |
| Your backend | The client HTTP API only | The HTTP API at api.irt.io and signed webhooks as well |
| Cost | Your machine | The time your rooms are awake, from prepaid credit |
What's different when you self-host has the full list.
Pricing
Hosting is paid from credit, by usage. A room costs room-hours only while it's awake, which in practice is while players are in it.
- No recurring payments
- No subscription. You pre-buy credit, and usage is paid from it.
- Pay for what you use
- Usage is room-hours, traffic, voice-minutes and storage. Players aren't metered.
- Rooms cost room-hours only while they're awake
- A room hibernates 30 seconds after its last player leaves, and uses no room-hours until the next one wakes it.
- Usage can't exceed your credit
- Credit is prepaid, so no invoice follows, and each project has spending caps you set.
| Meter | What it counts | Price |
|---|---|---|
| Room-hours | An hour of one room awake, however many players are in it. | From $0.005 an hour, by room size |
| Traffic | The bytes your rooms send to players and receive from them. | Free |
| Voice-minutes | Per participant, per minute in a call. Only if you turn voice on. | $0.001 a participant-hour |
| Storage | The room state your hibernated rooms keep, and your replays and clips. | Free |
Pricing has a calculator, the price of each room size, and how credit and spending caps work.
Getting an invite
We'd love to hear what you're building. Request an invite, and if you want credit to get started, ask us.
Until your invite arrives, irt dev and the self-hosted room host run the same code.