Open-source feature flags with A/B testing
Flagsmith is the best open-source feature flag platform for teams that want to own their data. Free to self-host on AWS Mumbai with zero licensing fees. A/B testing built-in. Cloud tier from $45/month for teams that prefer managed hosting. If you value data sovereignty, open-source code, and want to avoid vendor lock-in, Flagsmith is unbeatable.
Flagsmith is an open-source feature flag and experimentation platform. Launched in 2019, Flagsmith is backed by VC investors and focused on developer experience. The entire codebase is open-source on GitHub — you can self-host on your own infrastructure, fork it, modify it, or run their managed cloud service.
Flagsmith's core differentiator is that you own your data. No vendor lock-in. Deploy on AWS Mumbai (ap-south-1), keep all feature flags and experiment data in-country. A/B testing is built-in — split traffic by percentage, target by user attributes, track variant exposure.
Quick facts: Founded 2019 · London/Estonia · VC-backed · Open-source MIT license · 10K+ GitHub stars · Cloud + self-hosted · SOC 2 in progress
Toggle features on/off instantly. Target users by ID, email, custom attributes, or percentage. No re-deployment.
Built-in A/B tests. Split traffic by percentage, target by segment. Integrate with Amplitude/Mixpanel to measure impact on your north star metric.
100% open-source. GitHub: github.com/Flagsmith/flagsmith. MIT license. Fork, modify, deploy yourself.
Docker Compose or Kubernetes deployment. All data in ap-south-1 region. No data export concerns.
Run 3+ variants in a single experiment. Test multiple flag values simultaneously.
JavaScript, Python, Go, Java, .NET, React, Vue, iOS, Android. All maintained.
Flagsmith and LaunchDarkly serve different philosophies:
| Criteria | Flagsmith | LaunchDarkly | Winner |
|---|---|---|---|
| Model | Open-source + managed cloud | Enterprise SaaS only | Flagsmith (flexibility) |
| Self-Hosting | ✅ Free | ❌ Enterprise only, $$$ | Flagsmith |
| Data Ownership | ✅ You own all data | ❌ LaunchDarkly owns | Flagsmith |
| Pricing (Small Team) | Free self-hosted or $45/mo cloud | $500+/month | Flagsmith (100x cheaper) |
| Enterprise Features | Good | Best-in-class | LaunchDarkly |
| A/B Testing | ✅ Built-in | ❌ Separate product | Flagsmith |
| Vendor Lock-In | ❌ None (open-source) | ✅ High | Flagsmith |
Flagsmith offers both free self-hosted and managed cloud. At 1 USD = ₹84.
Self-hosted: Clone github.com/Flagsmith/flagsmith, run Docker Compose: docker-compose up. Deploy to EC2 t2.small + RDS Postgres in ap-south-1. Or use Flagsmith Cloud at $45/month.
Name it new_feature_enabled, set to ON/OFF. Add description for your team.
JavaScript: npm install flagsmith. Initialize with API key. Call flagsmith.hasFeature('new_feature_enabled') to check flag status.
Set up experiment: 50% control (old feature), 50% variant (new feature). Let it run. Measure conversion impact.
Use Flagsmith webhooks to send flag changes to Amplitude, Mixpanel, or CleverTap. Track which users are in which variant.
Managed cloud, per-flag pricing. Less engineering overhead than self-hosting.
Choose when: Want managed without DevOps, per-flag pricingOpen-source with enterprise support. More mature than Flagsmith.
Choose when: Need enterprise-grade open-source with paid supportCloud-based, focus on advanced experimentation analytics.
Choose when: Want cloud-first without managing infrastructure