Limits and plans
Plan limits
| Free | Small Game | Indie | Studio | Build Your Own | |
|---|---|---|---|---|---|
| Price | $0 | $19/mo | $49/mo | $99/mo | From $199/mo |
| Projects | 1 | 3 | 10 | Unlimited | 10+ |
| Concurrent players | 50 | 500 | 1,500 | 5,000 | 10,000+ |
| Peak allowed (overage) | 50 (hard cap) | 600 | 1,800 | 6,000 | As configured |
| Rooms per project | 3 | Unlimited | Unlimited | Unlimited | Unlimited |
| Egress per month | 10 GB | 250 GB | 1 TB | 2 TB | 5 TB |
| Usage history | 7 days | 30 days | 30 days | 90 days | 90 days |
| Custom domains | No | No | No | Yes | Yes |
| REST API access | No | No | No | Yes | Yes |
Functions, properties, events, WebSocket and UDP, and API key rotation are available on every plan. Egress is the data the game server sends to your players, mostly realtime snapshots.
Overage
| Free | Small Game | Indie | Studio | Build Your Own | |
|---|---|---|---|---|---|
| Players over the plan | Refused | $3 per 100 at peak | $3 per 100 at peak | $2 per 100 at peak | $15 per 1,000 |
| Egress over the allowance | Not available | $0.15 per GB | $0.15 per GB | $0.15 per GB | $0.15 per GB |
Overage is metered and shown today but not charged yet. We will tell you before overage billing starts.
When a limit is reached
A join that would go over your plan's peak player limit or room limit is refused with JOIN_REJECTED. Players already connected are not affected. Upgrade from Billing in the dashboard, or request a custom plan on the pricing page.
Connection limits
These depend on the plan. The realtime field of the joined message tells each client the realtime limits that apply to it.
| Limit | Free | Small Game | Indie | Studio | Build Your Own |
|---|---|---|---|---|---|
| Messages per connection per second (burst) | 30 (60) | 60 (120) | 60 (120) | 120 (240) | 120 (240) |
| Realtime states per player per second | 70 | 120 | 120 | 240 | 240 |
| Realtime state size (JSON) | 512 bytes | 1 KB | 1 KB | 2 KB | 4 KB |
| Function calls per project per second | 50 | 500 | 1,000 | 3,000 | 6,000 |
| Function CPU per project per second | 250 ms | 500 ms | 750 ms | 1,000 ms | 1,200 ms |
| Snapshot egress per project | 2 MB/s | 20 MB/s | 40 MB/s | 80 MB/s | 160 MB/s |
Realtime states beyond the rate are dropped, and realtime messages are counted separately from other messages. When a project goes over its snapshot egress, some snapshots are skipped and clients interpolate across the gap; reliable messages are never dropped. Function calls beyond the call rate or compute budget fail with RATE_LIMITED. Typical Functions take 1 to 3 ms of CPU.
These are the same on every plan:
| Limit | Value |
|---|---|
| Players per room | 100 |
| Snapshot rate | 30 per second |
| WebSocket message size | 64 KB |
| UDP datagram size | 8 KB |
| WebSocket connections per IP address | 50 |
| New UDP sessions per IP address | 30 per minute |
| Failed connection attempts per IP address | 30 per minute |
A connection that keeps sending far beyond its limit is disconnected.
Function limits
These limits are the same for every Function language: JavaScript, TypeScript, GDScript, Python and Lua.
| Limit | Value |
|---|---|
| CPU time per call | 150 ms |
| Memory per call | 32 MB |
| Property value size | 64 KB |
| Property writes per call | 100 |
| Broadcasts per call | 50 |
| Function source size | 20,000 characters |
| Functions per project | 50 |
| Global properties per project | 200 |
Naming limits
Room IDs and player IDs use letters, numbers, underscores and hyphens, up to 64 characters. Subdomains are 3 to 32 characters of lowercase letters, numbers and hyphens.