---
url: "https://posthog.com/feature-flags"
title: Feature Flags – Ship safely and control rollouts with PostHog
domain: posthog.com
locale: en
type: landing
words: 222
cited_by: 9
indexed_by: stealpage
---

## What does it do?

Feature Flags let you turn features on or off for specific users, groups, or percentages of traffic without redeploying code. Create a flag, check it in your app, then control who sees what from PostHog – phased rollouts, kill switches, multivariate variants, JSON payloads, and beta opt-ins. When something breaks, flip it off. When it works, roll it out wider and measure the impact in analytics and session replay.

## Who is it for?

![A hedgehog toggling a feature flag](https://res.cloudinary.com/dmukukwp6/image/upload/v1/posthog.com/src/components/Product/hogs/feature-flags-hog)

## How do I use it?

## Key features

## AI prompts

Ask PostHog AI to create flags, explain targeting, and clean up stale ones. Works in [PostHog AI](https://posthog.com/ai) (in-app chat), [PostHog Desktop](https://posthog.com/desktop) (our AI code editor), and in your product editor (using the MCP). Already signed in? Click a prompt to try it.

### Createcreate-feature-flag

### Updateupdate-feature-flag

### Inspectfeature-flag-get-definition

### Test evaluationfeature-flags-test-evaluation-create

### Blast radiusfeature-flags-user-blast-radius-create

### Clean upfeature-flags-status-retrieve

### Schedule changesscheduled-changes-create

## Install

SDKs for web, mobile, and backend – or evaluate flags over the API.

## Feature comparison

## Get started – free

No credit card required. You get the **first 1,000,000 requests free every month,** then pricing starts at **$0.0001/request** and reduces with volume.

### Install with AI

Run this command in your terminal or AI editor.

```
npx -y @posthog/wizard@latest
```

Supports Next.js, React, Python, and

### Install without AI

Sign up for a free account and follow the install instructions for your stack.

[Get started - free](https://us.posthog.com/signup)