Xray-core vs Commercial VPN Services
Xray-core and commercial VPN services like NordVPN and ExpressVPN both route encrypted traffic through an intermediary, but they operate on opposite deployment models: one requires you to run the server, the other runs it for you.
| Feature | Xray-core | Commercial VPN (e.g., NordVPN, ExpressVPN) |
|---|
| License | MPL-2.0 (open source) | Proprietary |
| Infrastructure | Self-hosted (your server) | Provider-managed |
| Protocol selection | VMess, VLESS, XTLS, REALITY, Shadowsocks, WireGuard, Trojan | Fixed (WireGuard, OpenVPN, proprietary) |
| Anti-censorship protocols | XTLS and REALITY (active probing resistance) | Limited or unavailable |
| Management interface | Third-party panels (3X-UI, Marzban) | Bundled client apps |
| Pricing model | Server cost only (no per-seat fee) | $3-15/month per user |
| Code auditability | Full (MPL-2.0) | No |
Xray-core is the better choice when you need XTLS or REALITY to handle deep packet inspection (standard WireGuard and OpenVPN fingerprints are detectable in some network environments), when data sovereignty requirements prohibit using third-party infrastructure, or when you are building a shared service for multiple users where per-seat commercial pricing does not scale. A basic VPS to run the core typically costs under $5/month regardless of user count.
Commercial VPN subscriptions are the better choice when you need a zero-configuration consumer experience, consistent global server coverage across 50+ locations for latency management, or an audited no-logs policy with published third-party results. No server management, automatic failover, and bundled apps for every platform justify the subscription cost for non-technical users.