PROVIDER - Runtime release control

LaunchDarkly

LaunchDarkly puts feature flags, progressive delivery and experimentation behind one runtime control plane; changes stream to language SDKs and are evaluated in-process. Its free tier costs $0 with 1 project, 3 environments and 1K client MAU a month.

Testing & Optimization United States 2026.11.24
4.4pts

Service Overview

LaunchDarkly is a runtime release control platform: code ships first and a flag decides who sees the feature. Flags, targeting rules and experiments share one context, changes stream to language SDKs, and every evaluation happens inside the application process.

The platform bills three meters: client MAU, service connections and AI runs, with server-side usage converted from SDK instance and environment connection time. The free tier costs $0 with 1 project, 3 environments and 1K client MAU a month; payment runs on international cards or an AWS or Vercel Marketplace account, there is no filing requirement, and seats are never charged.

Key Strengths

  • Release is decoupled from deploy: one image rolls out by environment, tenant and percentage, and rollback is a flag flip.
  • Changes stream to connected SDKs, and the delivery SLO stays under 200 milliseconds on the pay-as-you-go and Enterprise plans.
  • Boolean and multivariate flags share one targeting engine, so attributes, segments and percentage buckets stack on a single flag.
  • Experiments, guarded rollouts and AI configs reuse the same contexts and metrics, which removes a second tracking pipeline.
  • Official SDKs cover server, client, mobile and edge runtimes, plus OpenFeature providers and a Relay Proxy.

Limitations

  • Client MAU, service connections and AI runs are billed on separate meters, and every server replica or pre-production environment counts as a connection.
  • The free tier caps at 1 project and 3 environments, keeps data for 14 days, and switches the account to read-only once usage passes the allowance.
  • Required approvals, code references, scheduled changes and audit logs exist only on Enterprise; the self-serve plans can request a review but cannot enforce it.
  • The 17% annual saving applies to usage rates only, while monthly rates are $10 per 1K MAU and $12 per service connection.
  • The console, streaming endpoints and invoicing all sit outside mainland China, so cross-border links jitter and payment is not settled in RMB.

Product Ecosystem

The diagram follows a change from the SDK subscription to the rollback decision; the label under each stage names the meter that stage is billed by, with client and edge SDKs on MAU and server-side SDKs on connections.

Delivery network and local evaluation

At startup an SDK pulls the flag snapshot for its environment from the delivery network and writes it into an in-memory cache that does not expire by default; later rule changes stream to every connected SDK. The delivery network is made of a third-party CDN plus the vendor's own multi-availability-zone core. When the connection drops the application keeps evaluating from the cache, and only a failed first fetch falls back to the defaults in code. Mobile clients can switch to polling to save data, and a Relay Proxy can cache one configuration inside your own network for services that share a connection.

Targeting rules and segments

Boolean and multivariate flags share one rule engine: attribute clauses, reusable segments, percentage buckets and individual overrides match top to bottom and stop at the first hit. A context can carry several kinds, and client, edge and AI SDKs are metered as MAU while server-side SDKs are metered as connections, so the two billing models map onto different targeting and budget designs.

Progressive delivery and guarded rollback

A multi-phase release walks through environments and audiences, with a regression check before each phase. A guarded rollout binds metrics and a sampling rate, runs sample-ratio checks, then rolls back one phase when a guardrail metric breaches, or only notifies if configured that way. Release Autopilot drives a flag to full rollout from deploy signals, release plans are reusable, and the release dashboard lists every active phase and its health.

Experimentation and metrics

The experiment layer covers A/B/n tests, Bayesian and frequentist analysis, CUPED variance reduction, sequential testing, sample ratio mismatch detection and multi-armed bandits. Metrics accept clicks, page views, numeric values, conversions and custom events, and can run warehouse-native inside Snowflake, Redshift, Databricks or BigQuery. Layered experiments, mutual exclusion groups and holdouts keep tests from contaminating each other.

AI configs and observability

AgentControl manages prompts, model configs, tool libraries and agent graphs; online evaluation uses LLM-as-judge scoring, and one online evaluation consumes both a model call and a judge call. Observability covers session replays, errors, logs and OpenTelemetry traces, with 5K replays, 5K errors, 10M trace spans and 10M log lines a month on the free tier, billed per meter beyond that.

SDKs, integrations and governance

SDKs cover server-side languages, client and mobile platforms, edge runtimes and AI calls, alongside OpenFeature providers and the Relay Proxy. Change events forward to Datadog, Sentry and Honeycomb, collaboration hooks reach Slack, Teams and Trello, and flags can be managed with a Terraform provider or the REST API while an MCP server exposes them to coding agents. Code references, lifecycle states, bulk targeting and unlimited audit history come with Enterprise.

Use Cases

  • Fit | Web and backend teams shipping several times a day: one image rolls out by environment and percentage, and flipping a flag stops the damage.
  • Fit | Mobile feature gating: a released build cannot be recalled, so flags and remote config key on app version and device type.
  • Fit | Multi-tenant B2B entitlements: capabilities switch on per plan, contract and tenant attribute instead of per release branch.
  • Fit | Teams that need an audit trail: required approvals, code references and unlimited history ship with Enterprise and map to release policy.
  • Assess | Real-time decisions for mainland China users: console and streaming endpoints sit abroad, so cross-border latency and first-fetch defaults need testing.
  • Assess | Two-person teams and static sites: the free tier allows 1 project and 3 environments, and the concept and metering overhead outweighs env vars.

Plans & Free Tier

The three plans differ in usage allowance, data retention and governance; flags and targeting rules are unlimited on every plan. Guarded rollouts, A/B/n tests and multi-armed bandits are available on the free plan, while required approvals, code references and unlimited audit history come only with Enterprise. The table below lists the price of each meter, with the annual discount concentrated in the usage rates.

Plan Reference price Usage allowance (tokens / seats / events) Key capabilities unlocked
Developer (free) $0 per month, free forever, no credit card 1K client MAU, 5 service connections, 5K AI runs, 5K session replays, 5K errors, 10M trace spans and 10M log lines a month; 1 project, 3 environments; 14-day retention Unlimited flags and targeting, A/B/n and multi-armed bandits, LLM-as-judge online evaluation, MCP server; 300 ms delivery SLO
Foundation (annual) $8.33 per 1K MAU, $10 per service connection, $5 per 1K AI runs, $2.92 per 1K replays, $0.25 per 1K errors, $1.25 per 1M traces or logs First 1K MAU, 5 connections and 5K AI runs free, then the rates at left; unlimited projects and environments; 30-day retention Approval requests with 1 to 5 reviewers, observability data export, AWS and Vercel Marketplace billing; 17% below monthly
Foundation (monthly) $10 per 1K MAU, $12 per service connection, $5 per 1K AI runs, $3.50 per 1K replays, $0.30 per 1K errors, $1.50 per 1M traces or logs Same free allowances as annual; billed at the start of each month for last month usage Same as annual, without the 17% discount
Enterprise (contract) Quoted on committed volume and usage tiers Usage and retention written into the contract, 100+ days retention; annual contracts true forward on a quarterly average Required approvals, scheduling and release workflows, code references, bulk targeting, SCIM, custom roles, unlimited audit history, PII redaction, 99.99% uptime support

Rates above are the vendor list prices as of November 2026, in USD, excluding tax. The vendor example: 10 service connections plus 2K client MAU costs $58.33 a month billed annually, or $70 monthly. Release Autopilot automation is free on the self-serve plan until February 1, 2027.

FAQ

  • How far does the free tier go? It runs flags, targeting rules and a full progressive release indefinitely. Developer costs $0, needs no credit card, and includes 1 project, 3 environments, 1K client MAU, 5 service connections and 5K AI runs a month with 14-day retention; once an allowance is used up the account turns read-only and nothing is charged automatically.
  • Am I billed on MAU or on service connections? Both. Client-side, edge and AI SDKs count unique contexts as MAU, while each server-side SDK instance connected to an environment counts one service connection averaged over minutes. Every replica, worker and pre-production environment adds its own connection, so 10 connections plus 2K MAU costs $58.33 a month billed annually.
  • Can it be reached from mainland China, and how do I pay? It loads, but critical paths should not rely on direct access. Console and streaming endpoints sit abroad, a first fetch can fail over jittery links and fall back to code defaults, and a self-hosted Relay Proxy can cache configuration; payment runs on international cards or an AWS or Vercel Marketplace account, with no RMB settlement or Chinese invoice.
  • Where do flag configs and user contexts live? In the vendor cloud; SDKs only evaluate locally. Flag definitions, targeting rules, audit records and experiment metrics stay on the vendor side, and a context instance is kept 30 days after its last evaluation or until the environment holds 3 million instances; Enterprise adds PII redaction and 100+ days retention, and EU or Federal instances are separate deployments.
  • Are there open-source or cheaper alternatives? Yes, and the trade-off sits in governance and metering. Flagsmith self-hosts and meters by usage, GrowthBook runs warehouse-native experiments for data teams, and Statsig bills by events with a lighter start. Whether you need required approvals, code references and unlimited audit history is the first filter.

Configuration & Integration Examples

Example 1: initialize a server-side SDK with safe defaults

Place this at the application entry point; the third argument of variation() decides what the app does when configuration cannot be reached, so it must return the old behaviour.

# The key comes from the environment, and evaluation happens in-process
import os
import ldclient
from ldclient.config import Config
from ldclient.context import Context

ldclient.set_config(Config(os.environ["LAUNCHDARKLY_SDK_KEY"]))
client = ldclient.get()

ctx = (
    Context.builder("user-42")
    .kind("user")
    .set("plan", "pro")
    .set("country", "CN")
    .set("tenant", "acme")
    .build()
)

show_new_checkout = client.variation("new-checkout-flow", ctx, False)
print("new checkout:", show_new_checkout)

client.flush()   # flush before exit or the last evaluation events are lost
client.close()

Keep only attributes you evaluate on in the context; leave email and phone out. For offline environments and unit tests use Config(sdk_key, offline=True) so tests never reach the live endpoint.

Example 2: write a targeting rule and bucket split through the REST API

Rules match top to bottom and stop at the first hit, so the default rule stays last; weight is per mille, so 95000 means 95%.

# Split two tenants 95% to 5%; replace $LD_PROJECT and the flag key
curl -s -X PATCH \
  "https://app.launchdarkly.com/api/v2/flags/$LD_PROJECT/new-checkout-flow" \
  -H "Authorization: $LD_API_TOKEN" \
  -H "Content-Type: application/json; charset=utf-8" \
  -d '[
    {
      "op": "replace",
      "path": "/environments/production/rules/0",
      "value": {
        "clauses": [
          { "attribute": "tenant", "op": "in", "values": ["acme", "globex"], "negate": false }
        ],
        "rollout": {
          "variations": [
            { "variation": 0, "weight": 95000 },
            { "variation": 1, "weight": 5000 }
          ]
        }
      }
    }
  ]' | jq '{key, version}'

Record the returned version in the release log so a rollback can replay it instead of re-editing the UI; scope the token to the project or environment, and remember the caller is written to the audit record.

Community & Resources

Official channels

Learning resources

  • Blog — release process design, flag governance and engineering write-ups
  • OpenFeature specification — vendor-neutral flag evaluation API for swapping implementations
  • Status page — availability notices for the delivery network
Visit LaunchDarkly Website → https://launchdarkly.com/
Visit Website ↗