Multiplayer for browser games

Star vs Colyseus

Colyseus is an open-source multiplayer framework for Node.js, under the MIT license. You, or your coding agent, write the game server with it, then run that server on your own machines or on Colyseus Cloud.

Star is a hosted service for browser games. You upload the game, Star's agent writes the game server, and Star runs the rooms and the game's page at one link.

Pick Colyseus when you want to write and own the server. Pick Star when you have a browser game and want a multiplayer link without writing or running one.

We make Star, so weigh what we say about it accordingly. Everything about Colyseus comes from its own site, read on . The sources are linked below.

How they compare

What it isStarA hosted service for browser games: the game's page, its server and its rooms.ColyseusAn open-source framework for Node.js, MIT licensed, with rooms, matchmaking and state sync.
Who writes the serverStarStar's agent. You can't start a game server on Star from your own code today.ColyseusYou or your coding agent, in TypeScript. Colyseus publishes an agent skill for Claude Code, Cursor and Codex.
Where the server runsStarOn Star. There is nothing to deploy.ColyseusOn your own servers, anywhere you like, or on Colyseus Cloud, its managed hosting.
CostStarHosting the game and its rooms is free. Adding multiplayer is a build by Star's agent, so it uses credits. Simple games on Claude Haiku 5.5 start around 50 credits; larger games and other models use more. Free accounts get 50 credits to start and 50 more each week after that, up to a balance of 150.ColyseusThe framework is free. Self-hosting costs what your servers cost. Colyseus Cloud started at $15 a month per location, with no free tier, when we checked on December 2, 2026.
Game files and play linkStarStar hosts the game and gives you a link. Players open it in a browser, with no account or download.ColyseusColyseus is the server side. You host the game's own pages and files wherever you choose.
LeaderboardsStarAsk Star's agent to add one. Star saves the scores, and guests can post them.ColyseusBuild it on your server, with your own database.
EnginesStarBrowser games only.ColyseusClient SDKs for TypeScript, Unity, Defold, Haxe and Construct 3, with Godot and GameMaker in alpha.
ControlStarStar decides where the server runs and how it scales.ColyseusYou decide: the code, the regions and the scaling are yours.

Checked on colyseus.io, colyseus.io/pricing, github.com/colyseus/colyseus. Prices change, so read Colyseus's pricing page before you decide.

Which one to pick

Pick Colyseus if

  • You want to write your own server code and own its architecture.
  • Your game isn't a browser game. Colyseus has SDKs for Unity, Defold and other engines.
  • You need to choose where servers run, how they scale or how long a session lasts.
  • The game has to use services you already run, like your own accounts, database or sign-in.
  • You don't want one platform to host the whole game.

Pick Star if

  • You built a single-player browser game with Claude Code, Cursor or Codex, and you want a link friends can play together.
  • You don't want to write, deploy or watch a server.
  • You want the game, its rooms and its leaderboard on one account.
  • You want to host it free and see it working before you pay for anything.

If we got something wrong about Colyseus, email [email protected] and we'll fix it.

Questions

About choosing between Star and Colyseus

For a browser game where you'd rather not write or run the server, yes: Star's agent writes the game server and Star hosts the rooms. It isn't a replacement when you want your own server code, or when your game isn't a browser game. Colyseus is the better fit there.
No. Star's agent writes the game server for a game on Star, and you can't start a game server on Star from your own code today. A Colyseus server runs on your own servers or on Colyseus Cloud.
There are two routes. With Star, your coding agent puts the game on Star and asks Star's agent to add multiplayer, and you get back a link. With Colyseus, your coding agent writes a Colyseus server using the Colyseus agent skill, and you host that server and the game yourself.
The framework is, under the MIT license, and you can host it on your own servers with no license fee. You pay for those servers, or for Colyseus Cloud, its paid managed hosting. Its pricing page has the current plans.
Hosting your game and its multiplayer rooms is free, and so is playing. Adding multiplayer is a build with Star's agent, so it uses credits. On Claude Haiku 5.5, the model free accounts build with, it has cost about as much as the free credits a new account starts with. Bigger games and other models use more.

Make your browser game multiplayer