When you start building or experimenting on Solana, you'll quickly run into three different networks called clusters. Picking the right one saves you money and confusion. Here's what each cluster does and when to reach for it.
What is a cluster?
A Solana cluster is simply a group of validators working together to maintain one shared ledger. Each cluster is a separate world: the tokens, accounts, and programs on one do not exist on another. Solana runs three official public clusters.
Mainnet-beta: the real network
This is the live production network where real value moves. SOL here has actual market value, transactions cost real fees, and deployed apps serve real users. The "beta" label is historical — mainnet-beta has been stable and permissionless for years.
Rule of thumb: only touch mainnet-beta when you are ready to spend real money.
Devnet: your free playground
Devnet mirrors mainnet's behavior but uses valueless tokens. You can request free SOL from a faucet and test freely. It's the go-to place for developers to deploy programs, try transactions, and debug without risk.
- Free SOL via airdrop faucets
- Behaves like mainnet for most testing
- May reset occasionally, so don't store anything important
Testnet: stress-testing ground
Testnet is where validators and the core Solana team test new releases and network upgrades under load. It can be unstable by design. Most app developers rarely need it — it's mainly for those running validator software or testing performance edge cases.
How to switch clusters
In most wallets and command-line tools, changing clusters is a one-line setting. For example, the Solana CLI uses a config command to point at devnet, testnet, or mainnet-beta. Your wallet app usually has a network dropdown in settings.
Quick takeaways
- Learning or building? Start on devnet with free tokens.
- Running a validator or testing upgrades? Use testnet.
- Going live with real value? That's mainnet-beta.
Understanding clusters is one of the first steps to using Solana confidently. Practice on devnet until you're comfortable, then graduate to mainnet when the stakes are real.