PROVIDER - Open-source self-hostable flags
Flagsmith
Flagsmith is a feature flag and remote config platform whose core server is BSD-3 licensed, with hosted cloud and self-hosted paths sharing one SDK and data model, plus local evaluation for server-side SDKs.
3.8pts
Service Overview
Flagsmith is a feature flag and remote config platform whose core server is BSD-3 licensed, running both as hosted cloud and self-hosted; applications read flag values through SDKs, which decouples release cadence from code deploys.
One flag object carries a boolean, remote config values, segment rules and a percentage rollout, and SDKs in 15+ languages talk to the same Flags API, with server-side SDKs able to evaluate locally or behind a self-hosted Edge Proxy. Cloud plans are metered by monthly API calls and seats; the Edge API is replicated across 8 AWS regions with none in mainland China, and the console and docs are English-only.
Key Strengths
- The core server ships under BSD-3, allowing commercial use and redistribution with no per-call fee when self-hosted.
- Cloud and self-hosted share one SDK and data model, so migration only swaps the environment key and endpoint.
- The Edge API is replicated across 8 AWS regions, routing by latency and failing over when a region drops.
- Server-side SDKs evaluate locally, and the self-hosted Edge Proxy serves about 2,000 RPS at roughly 7 ms mean latency.
- Experiments run on a built-in Bayesian engine that reports lift, credible intervals and win probability.
Limitations
- The free plan caps projects at 1 and members at 1, so a second login needs Start-Up from 40 USD per month.
- API calls accumulate across every project in the organisation, counting each client init and each server-rendered page.
- SAML single sign-on, role permissions, change requests and audit logs only start at the Scale-Up tier.
- Self-hosting needs its own PostgreSQL and task processor, and the enterprise image needs a licence to set seat limits.
- None of the 8 Edge API regions sits in mainland China, and the console, docs and support run in English only.
Product Ecosystem
The data plane is a single path: a request arrives with an environment key and an identity, the rules engine returns values, and the console changes rules and rollout. The three evaluation routes differ in latency and in metering - the hosted Edge API counts each request, while a self-hosted Edge Proxy or local evaluation keeps requests inside your own process and only spends quota on environment-document polls.
Flags and remote config
A boolean flag decides a code path, while remote config delivers strings, numbers and JSON for quotas, themes and copy; both sit on the same flag object. Rollback cost differs: closing a flag returns to the old path, whereas a wrong config value only affects requests that read it, so quota parameters belong in remote config and code-path changes belong behind flags. Every flag in an environment is listed in one console table and takes effect on save.
Segment rules and identity traits
An identity links a unique identifier to traits such as plan, country and signup age, and segments group identities that satisfy trait conditions, with rules reused across flags. Remote evaluation writes the traits it receives back to the API, so later requests carry the accumulated set; local evaluation only uses the traits passed in that call, because the environment document holds no trait data. A misspelled trait key raises nothing and simply never matches, so run a real identity through the console identity panel before launch.
Evaluation routes: Edge API, Edge Proxy, local evaluation
The cloud Flags API is served from edge.api.flagsmith.com, replicated across 8 AWS regions - London, Ohio, N. California, Mumbai, Sydney, Sao Paulo, Seoul and Singapore - with latency routing and regional failover. Server-side SDKs in local evaluation mode only poll the environment document and decide inside the process for the lowest latency; a self-hosted Edge Proxy is a stateless container that the vendor states serves about 2,000 RPS at roughly 7 ms mean latency, but it persists no traits, so each request must carry the full set.
Experiments and metrics (beta)
Experiments split traffic with a multivariate flag, collect events from the JavaScript, React, Python, Java, Node.js, Go and Flutter SDKs, land them in the managed warehouse or your own ClickHouse or Databricks, and a built-in Bayesian engine reports lift, credible intervals and win probability. The feature is still labelled beta, the event pipeline is sized separately from flag traffic, and self-hosting means running that warehouse and pipeline yourself.
Governance, audit and integrations
Every flag change records the actor, timestamp and before/after value, while role permissions, change requests and full audit history start at Scale-Up, SAML and SSO arrive on the same tier, and LDAP and SCIM sit in Enterprise. Integrations cover Amplitude, Mixpanel, Segment, Datadog, New Relic, Grafana, Sentry, Jira, Slack and ServiceNow, plus a Terraform provider and webhooks; the management API uses an organisation token so pipelines can create environments and write flags.
Self-hosting and the enterprise edition
The open-source deployment ships as Docker images, needs PostgreSQL, runs the task processor separately and treats Redis as optional, with Kubernetes Helm charts, an OpenShift operator and AWS and GCP scripts available. The enterprise image comes from a private registry and requires a licence to configure seat and project limits, adding SAML, change workflows, LDAP, and Oracle or MySQL support.
Use Cases
- Use for decoupling deploy from release: roll out by environment and percentage, then turn a flag off to roll back without shipping code again.
- Use for data residency: the BSD-3 build keeps flags, traits and audit records in your own PostgreSQL and can run in an in-region data centre.
- Use for multi-language products: 15+ SDKs share one flag definition, and server-side SDKs can switch to local evaluation.
- Use for solo validation: the free plan carries 50,000 calls plus unlimited flags and environments, enough for one member to start.
- Evaluate for mainland China traffic: none of the 8 Edge API regions is in mainland China, so measure cross-border latency or front your own Edge Proxy.
- Evaluate for heavy governance: SSO, role permissions, change requests and audit history start at Scale-Up from 250 USD per month.
Plans & Free Tier
Billing runs on two separate tracks: cloud plans are tiered by monthly API calls, experiment users and seats, while self-hosting costs only servers and labour. The pricing page toggles monthly and yearly billing, and yearly saves more than 10% - the 40 vs 45 USD and 250 vs 300 USD gaps are the same tier on two billing cycles.
| Plan | Reference Price | Core Usage Quota (Tokens / Seats / Events) | Key Capabilities Unlocked |
|---|---|---|---|
| Free | 0 USD | 50,000 API calls/month, 100,000 experiment users, 1 seat, 1 project | Flags, remote config, segments and API access; environments unlimited, projects and members capped |
| Start-Up | 40 USD/month billed yearly, 45 USD monthly | 1,000,000 calls/month, 500,000 experiment users, 3 seats, unlimited projects | Scheduled flags, 2FA, A/B and MVT testing, third-party integrations, email support |
| Scale-Up | 250 USD/month billed yearly, 300 USD monthly | 5,000,000 calls/month, 2,000,000 experiment users, 5 seats included, expandable to 20 | SAML/SSO, role permissions, change requests, audit logs, own experiment warehouse, priority support |
| Enterprise | Quoted per contract, usually annual | Above 5,000,000 calls/month, 20+ seats | LDAP and SCIM, cloud/private cloud/air-gapped deployment, enterprise SLA, onboarding |
| Open-source self-hosted (BSD-3) | 0 USD licence, servers paid separately | Calls unmetered, bounded by your PostgreSQL and task-processor capacity | Flags, segments, remote config, Edge Proxy; governance needs an enterprise licence |
| API call add-on | From 50 USD per million per month, decreasing with volume | Stacked on the plan quota and billed monthly | The expansion path once a quota runs out; Enterprise follows contract rates |
Basis: figures as of November 2026, in USD before tax. The pricing page quotes add-on calls at 50 USD per million and up, decreasing with volume, while its own FAQ lists Start-Up overage at 7 USD per 100,000 requests; the first is a prepaid add-on and the second is post-hoc overage, so the two cannot be mixed. Scale-Up seats beyond the fifth bill at 50 USD per member/month against a 60 USD list price.
Metering follows the calendar month: calls are the total request count across every project in the organisation, counting the /flags, /identities, /traits and /environment-document endpoints, but not static assets or documentation views. The free plan keeps a 7-day upgrade window after an overage, while paid plans get a 30-day grace period the first time they exceed the plan within 200%, and are billed immediately on a repeat or a larger jump.
FAQ
- How far does the free plan go? It allows 50,000 API calls, 100,000 experiment users, 1 project and 1 member, with flags, environments, identities and segments unlimited under a fair-use policy. That is enough for one developer validating an idea; a second person looking at the dashboard requires Start-Up, which also unlocks email support, scheduled flags and A/B testing.
- How are API calls counted, and what happens past the limit? Calls accumulate as one calendar-month total across every project, counting each client init that fetches values and each server-rendered page, across the /flags, /identities, /traits and /environment-document endpoints. The free plan gets a 7-day upgrade window; paid plans get a 30-day grace period the first time they stay within 200%, then bill per use.
- Can mainland China reach it, and how is it paid for? It reaches without local presence: the Flags API is replicated across 8 AWS regions, the nearest being Singapore and Seoul, so latency from the mainland depends on cross-border routes; hosting an Edge Proxy or local evaluation inside the region removes the round trip. The console, docs and support are English-only, prices are quoted in USD on monthly or yearly cycles, and there is no RMB price list.
- How do the open-source and enterprise editions differ? The difference sits in governance and support, not in the flags. The BSD-3 build covers flags, segments, identities, remote config, multivariate flags and local evaluation in every SDK, unmetered when self-hosted; SAML/SSO, role permissions, change requests, audit logs and LDAP/SCIM are enterprise capabilities that need a purchased licence and images from a private registry.
- How long does a move from cloud to self-hosted take? Half a day to start, provided the environment and identity model already line up. Stand up a self-hosted instance, export projects, environments, flags and segments through the management API, then repoint the environment key and endpoint in the application without touching SDK code; identity traits do not travel with a project export, so traits accumulated by remote evaluation must be rebuilt from your own database.
Configuration & Integration Examples
Example 1: reading values and identity traits with the Python SDK
The environment key is a public Flags API credential that may live in front-end code but must never reach the management API; give default_value a conservative fallback so the app still runs when the first fetch fails. Once a flag carries segment rules, read it through the identity path with traits, or the rules never enter evaluation.
import os
from flagsmith import Flagsmith
flagsmith = Flagsmith(environment_key=os.environ["FLAGSMITH_ENV_KEY"])
# Environment-level read: no identity, good for global switches
env_flags = flagsmith.get_environment_flags()
if env_flags.is_feature_enabled("new_checkout"):
render_checkout_v2()
# Identity-level read: traits drive segment matches, keys must match the console
identity_flags = flagsmith.get_identity_flags(
"user-42",
traits={"plan": "pro", "country": "CN", "signup_days": 12},
)
theme = identity_flags.get_feature_value("checkout_theme", default_value="light")
Example 2: checking the metered endpoints with cURL
Run both commands before wiring anything up to confirm response shape and quota cost: /flags/ is one environment-level fetch and /identities/ reads with identity traits written back, and both land in the monthly call quota. Keep the key in a secret manager rather than the repository.
# Environment-level read: 1 call against the organisation's monthly quota
curl -s "https://edge.api.flagsmith.com/api/v1/flags/" \
-H "X-Environment-Key: ${FLAGSMITH_ENV_KEY}"
# Identity-level read: traits are reported with the request and count too
curl -s -X POST "https://edge.api.flagsmith.com/api/v1/identities/" \
-H "X-Environment-Key: ${FLAGSMITH_ENV_KEY}" \
-H "Content-Type: application/json" \
-d '{"identifier":"user-42","traits":[{"trait_key":"plan","trait_value":"pro"}]}'
Community & Resources
Official channels
- Flagsmith documentation - flags, segments, experiments and self-hosting in full
- GitHub repository - BSD-3 server source, SDKs and Helm charts
- SDK list - language coverage and configuration options per SDK
- Flagsmith blog - flag governance, experiment design and release practice
Community and tooling
- Self-hosting guide - Docker, Kubernetes and cloud platform paths
- Edge API notes - replication across 8 regions, migration steps and endpoint differences
- Flags API reference - definitions of the
/flags/and/identities/read endpoints - Status page - regional availability and incident history