Tool · October 2026
How often do AI models pick PostHog?
In October 2026, models named PostHog 33 times in 900 picks (3.7%), in 2 categories; its largest share is in Product analytics, 22 of 24 picks (92%). 6 of 9 models named it; Claude Sonnet 5.5 most often (8).
Model pick, not a product recommendation. The models answered without a repository, existing code or tools, so the index shows what a model names when nothing in the project constrains it. It says nothing about quality, security, price or market share.
By category
| Category | PostHog picks | All picks in category | Share | Share as a bar | Most named in category |
|---|---|---|---|---|---|
| Product analytics | 22 | 24 | 92% | this tool | |
| Feature flags | 11 | 24 | 46% | this tool |
By context
| Context | Picks |
|---|---|
| Next.js (TypeScript) | 9 |
| Python FastAPI | 7 |
| Vibe coder (non-technical) | 10 |
| EU users (GDPR) | 7 |
By model
| Model | Picks |
|---|---|
| Claude Sonnet 5.5 | 8 |
| Claude Opus 5.5 | 7 |
| GPT-5.6 | 6 |
| Kimi K3 | 5 |
| Gemini 3.6 Flash | 4 |
| Gemini 3.1 Pro | 3 |
Alternatives named in the same picks
When a model picked PostHog, these are the other tools it listed, by number of picks.
- Mixpanel: 18 picks
- Amplitude: 16 picks
- LaunchDarkly: 9 picks
- GrowthBook: 9 picks
- Flagsmith: 6 picks
- Matomo: 6 picks
- June: 6 picks
- Umami: 4 picks
Vendor facts
We have not verified facts about PostHog yet. Use the vendor's own documentation.
If an AI agent builds your app with PostHog
PostHog's Next.js guide puts the initialisation in instrumentation-client.ts and reads the project token and the host from environment variables that start with NEXT_PUBLIC_, which the guide says is required for the client to see them. The host depends on the PostHog region: the guide's default is the US cloud address and it gives the EU cloud address for EU Cloud. An agent that fills in the first one it knows will send data to the US host even if your project lives in the EU region, so check the host against your project. The init call also pins a defaults date; keep it in mind when you update the library.
posthog.init(process.env.NEXT_PUBLIC_POSTHOG_PROJECT_TOKEN, {
api_host: process.env.NEXT_PUBLIC_POSTHOG_HOST,
defaults: '2026-08-30'
});
# .env
NEXT_PUBLIC_POSTHOG_PROJECT_TOKEN=<ph_project_token>
NEXT_PUBLIC_POSTHOG_HOST=https://us.i.posthog.comQuoted from PostHog docs: Next.js, read on 2026-11-09. Check it against the current page before you use it; documentation changes.
Where models disagree about PostHog
In Product analytics, where PostHog has most of its picks, 6 of 6 models named it at least once. Every one of them named PostHog more often than any other tool. Counts are picks in this category only; chat models answered once per prompt, so their rows are small.
| Model | PostHog picks | All its picks here | Its most-named tool |
|---|---|---|---|
| Claude Opus 5.5 | 4 | 4 | PostHog (4) |
| Claude Sonnet 5.5 | 4 | 4 | PostHog (4) |
| Gemini 3.1 Pro | 3 | 4 | PostHog (3) |
| Gemini 3.6 Flash | 3 | 4 | PostHog (3) |
| GPT-5.6 | 4 | 4 | PostHog (4) |
| Kimi K3 | 4 | 4 | PostHog (4) |