Remote config vs feature flags: differences, and which tools do both
Remote config changes values, feature flags change behavior for chosen users. How they differ, and a sourced comparison of value types, size limits, update speed, validation and rollback in Firebase, AWS AppConfig, Azure, LaunchDarkly, Statsig and more.
Short answer: Remote config delivers values, such as a timeout, a banner text or a JSON layout, that your app reads at runtime without a release. Feature flags decide which users get a behavior. Most flag tools now do both, with typed or JSON values, but they differ widely in size limits, how fast changes arrive and whether values are validated.
For when to use a flag, configuration or an environment variable at all, see feature flags vs configuration vs environment variables. This page compares the tools.
How are remote config and feature flags different?
| Remote config | Feature flag | |
|---|---|---|
| Answers | "What value should the app use?" | "Does this user get this behavior?" |
| Typical value | Number, string, JSON object | Boolean, or a small set of variants |
| Varies by user? | Sometimes (by region, app version, segment) | Usually: by user, account, percentage |
| Lifetime | Often permanent | Release flags are temporary; kill switches and permissions last |
| Main risk | A bad value, such as invalid JSON or a typo, breaks every client at once | The wrong users get a feature, or a stale flag lingers |
| What protects you | Validation, staged rollout, rollback to a known-good version | Targeting, percentage rollout, kill switch |
The tools converge: Firebase Remote Config has percentage rollouts and A/B tests, and LaunchDarkly, Statsig and PostHog all serve JSON values. The difference that remains is in the guardrails each tool puts around values.
How do the tools compare?
From each vendor's documentation, read on 15 November 2026. "Not stated" means we didn't find it in the docs, not that the feature is missing.
| Tool | Value types | Size limit | How updates reach apps | Validation | Rollout and rollback |
|---|---|---|---|---|---|
| Firebase Remote Config | String, boolean, number, JSON (stored as strings) | 1,000,000 characters of values per project; 3,000 parameters per template type | Fetched values are cached for at least 12 hours by default (minimum fetch interval); a real-time listener triggers a fetch while the app is in the foreground; the app activates new values | Data-type check | Percentage rollouts; roll back to a previous template version |
| AWS AppConfig | Freeform configuration and feature flags | 2,048 KB per hosted configuration and per deployment by default, up to 4,000 KB on request | The AppConfig Agent caches and polls every 45 seconds by default; or direct API calls | JSON Schema or Lambda validators run before deployment; a failed check stops it | Linear or exponential deployments, rolled back if a CloudWatch alarm fires during the deployment or bake time |
| Azure App Configuration | Strings with content types, including JSON | 10 KB per key-value, key and attributes included | Pull, triggered by app activity: refreshes at most every 30 seconds by default | Not stated | Immutable snapshots (up to 1 MB) as a last known good configuration |
| LaunchDarkly | Boolean, string, number, JSON | 32 KB per JSON object or array flag | Server SDKs stream changes; client SDKs can stream | JSON schema for variations | Percentage rollouts per rule |
| Statsig (dynamic configs) | JSON | 100 KB per config | "Near real-time" per Statsig; server SDKs update in the background, client values stay fixed for a session unless the app updates the user | Not stated | Different values per user segment |
| ConfigCat | Boolean and free-form values, including JSON | Not stated | SDKs poll every 60 seconds by default | Predefined variations restrict values to a list | Percentage options and targeting rules |
| GrowthBook | Boolean, string, number, JSON | Not stated | SDKs can stream updates over server-sent events from GrowthBook Cloud or a GrowthBook Proxy | JSON validation on Enterprise | Percentage rollouts and experiments |
| Flagsmith | String, number, boolean, JSON alongside on/off | Not stated | A remote API call per lookup by default; opt-in local evaluation polls every 60 seconds | Not stated | Segment overrides, A/B/n weights |
| Unleash | Variant payloads: string, JSON, CSV, number | Not stated | Backend SDKs refresh every 15 seconds by default; frontend SDKs every 15 to 60 seconds | Payload must match its type | Variant weights per strategy |
| DevCycle | Boolean, string, number, JSON objects | Not stated | Not stated | Variables are typed; a type mismatch in code returns the code default | Values per variation and targeting rule |
| PostHog | Any JSON payload; remote config flags return one payload to everyone | 512 KB per flag's filters (whether payloads count isn't stated) | Clients via /flags; most server SDKs poll every 30 seconds by default (Go every 5 minutes) |
Not stated | Payload per variant; remote config flags can be encrypted (server only) |
| Vercel Flags | Flag values evaluated on the server | 200 KB per flag, 10 MB per project | Server-side only: streamed over server-sent events, plus polling every 60 seconds | Not stated | Targeting and rollouts in Vercel projects |
| Vercel Global Config (formerly Edge Config) | Key-value store, which the Flags SDK and other providers can read | 1 MB per store | Reads typically take under a millisecond on Vercel; writes propagate in up to 10 seconds | Not stated | Backups kept 7, 90 or 365 days by plan |
Sources:
- Firebase: get started, parameters, quotas and limits, real-time, templates, rollouts.
- AWS AppConfig: quotas, agent, agent on EC2, overview, deployment strategies.
- Azure: key-values, dynamic configuration, snapshots.
- LaunchDarkly: variations, flag types, client and server SDKs.
- Statsig: dynamic configs, client vs server SDKs.
- ConfigCat: predefined variations, caching.
- GrowthBook: feature basics, JavaScript SDK.
- Flagsmith: managing features, server-side SDKs.
- Unleash: strategy variants, SDK overview.
- DevCycle: variables.
- PostHog: creating flags, remote config.
- Vercel: Flags limits and pricing, Flags SDKs, Global Config, limits.
What goes wrong with remote config?
A bad value reaches everyone at once. A config change can reach every client together unless your tool stages it. Use the guardrails your tool has:
- Validation: AWS AppConfig's validators, LaunchDarkly's JSON schemas, GrowthBook's JSON validation on Enterprise, ConfigCat's predefined variations.
- Staged rollout: AWS AppConfig's linear or exponential deployments, Firebase's percentage rollouts.
- Rollback: Firebase template versions, Azure snapshots, AWS AppConfig's alarm rollback.
Stale values on mobile. Firebase's default minimum fetch interval is 12 hours, so a fix can take hours to reach users unless real-time updates are on; those work only while the app is in the foreground, need recent SDK versions, and the app still has to activate the new values. See feature flags in iOS and Android apps for how other mobile SDKs cache and refresh.
Oversized payloads. Limits range from 10 KB per key-value in Azure to 2 MB per configuration in AWS AppConfig (4 MB on request), and Firebase caps all values in a project at 1,000,000 characters. Large JSON documents also slow startup on clients that fetch them on every launch.
Secrets in config. Client-side values are visible to users. PostHog's encrypted remote config payloads are only returned to servers; for real secrets, use a secret manager.
Code that trusts the value. Parse defensively, validate the shape in code, and fall back to a safe default.
How do I read config safely in code?
Treat every remote value as untrusted input. With OpenFeature, object values come through getObjectValue with a default, so the call never throws; the shape check is still yours:
const DEFAULTS = { pageSize: 20, banner: null }
const raw = await client.getObjectValue('checkout-config', DEFAULTS, { targetingKey: user.id })
const obj = raw && typeof raw === 'object' && !Array.isArray(raw) ? raw : DEFAULTS
const config = {
pageSize: Number.isInteger(obj.pageSize) && obj.pageSize > 0 && obj.pageSize <= 100 ? obj.pageSize : DEFAULTS.pageSize,
banner: typeof obj.banner === 'string' ? obj.banner : DEFAULTS.banner,
}
Which should I use?
- Mobile app values, such as copy, layout and minimum version: Firebase Remote Config, with real-time updates for anything urgent (audience targeting and metrics use Google Analytics).
- Backend configuration on AWS, where a bad value must roll back automatically: AWS AppConfig.
- .NET or Azure apps with many settings and environments: Azure App Configuration.
- Values that vary by user, or that you want to experiment with: a flag tool with JSON values, such as LaunchDarkly, Statsig, GrowthBook, Flagsmith, Unleash, DevCycle, PostHog or ConfigCat.
- Apps on Vercel: Vercel Flags for flags evaluated on the server, or Global Config for values read with very low latency. See edge feature flags for edge runtimes generally.
Keeping one tool for flags and config is simpler, as long as it has the validation and rollout controls your config needs. See the best feature flag tools or the directory for the full profiles.