Ship Safely, Test Everything

Feature Flags & A/B Testing

Control feature rollouts with confidence. Run experiments at scale. Get data-driven insights for every product decision.

Feature Flags

Toggle features on/off without deploying. Enable for specific users, teams, or percentages.

A/B Experiments

Run controlled experiments with statistical significance. Measure impact on any metric.

User Targeting

Target by user attributes, geography, device, or custom segments.

Real-time Analytics

Track flag evaluations, experiment metrics, and user behavior in real-time.

SDK Support

Official SDKs for JavaScript, React, Python, Go, and more. Edge-ready.

Edge Evaluation

Evaluate flags at the edge for sub-millisecond latency. No round trips.

Simple SDK Integration

React
import { useFlag, useExperiment } from '@hostscience/flags';

function PricingPage() {
  // Feature flag
  const showNewPricing = useFlag('new-pricing-ui');

  // A/B experiment
  const { variant } = useExperiment('checkout-flow');

  return (
    <div>
      {showNewPricing ? <NewPricing /> : <OldPricing />}
      {variant === 'streamlined' && <StreamlinedCheckout />}
    </div>
  );
}
Python
from hostscience import flags

client = flags.Client("your-sdk-key")

# Check feature flag
if client.flag("new-pricing-ui", user_id=user.id):
    return new_pricing_response()

# Run experiment
variant = client.experiment("checkout-flow", user_id=user.id)
if variant == "streamlined":
    return streamlined_checkout()

Pricing

Feature Flags Starter

Basic feature management

Free
  • 10 flags
  • 100,000 evaluations/mo
  • Boolean flags
  • User targeting
  • Basic analytics
Start Free
Most Popular

Feature Flags Pro

Advanced feature control

$29.0/mo
  • 100 flags
  • 1,000,000 evaluations/mo
  • A/B experiments
  • Percentage rollouts
  • Segments
  • SDK support
  • Webhooks
Get Started

Feature Flags Business

Enterprise feature management

$99.0/mo
  • Unlimited flags
  • Unlimited evaluations/mo
  • Unlimited flags
  • ML-powered insights
  • Audit logs
  • SSO
  • Priority support
Get Started

Ship Features with Confidence

Start with 10 free flags and 100K evaluations per month.

Get Started Free