PostHog vs Cloudflare Developer Platform
Open source product analytics — all-in-one dev tool
vs. Workers, Pages, D1, R2, KV — edge-native serverless
Pricing tiers
PostHog
Free (generous)
No credit card. Each product has its own free monthly quota. Great for startups + OSS.
Free
Paid (usage-based)
Pay only what you use, after free quotas. Volume discounts at higher tiers. 6 projects, 7-year retention.
$0 base (usage-based)
Self-Hosted (OSS)
MIT-licensed. Run on your own infra via Docker/k8s. Zero vendor lock-in.
$0 base (usage-based)
Enterprise
Custom. SAML SSO, dedicated CSM, custom SLA.
Custom
Cloudflare Developer Platform
Free
Workers: 100k req/day, 10ms CPU/req. D1: 5M reads/day. KV: 100k reads/day. R2: 10 GB/mo. Durable Objects: 100k req/day.
Free
Workers Paid
$5/month minimum. 10M Workers req/mo + overages. Generous D1, KV, R2 allowances. All services unlocked.
$5/mo
Enterprise
Custom. Higher SLAs, dedicated support, account managers.
Custom
Free-tier quotas head-to-head
Comparing free on PostHog vs free on Cloudflare Developer Platform.
| Metric | PostHog | Cloudflare Developer Platform |
|---|---|---|
| d1 reads day | — | 5000000 rows/day |
| d1 storage gb | — | 5 GB |
| d1 writes day | — | 100000 rows/day |
| data warehouse rows | 1000000 rows/month | — |
| durable objects gb sec | — | 13000 GB-sec/day |
| durable objects requests | — | 100000 req/day |
| error tracking exceptions | 100000 exceptions/month | — |
| feature flags requests | 1000000 requests/month | — |
| kv reads day | — | 100000 reads/day |
| kv storage gb | — | 1 GB |
| kv writes day | — | 1000 writes/day |
| llm analytics events | 100000 events/month | — |
| logs gb | 50 GB/month | — |
| product analytics events | 1000000 events/month | — |
| projects | 1 projects | — |
| r2 class a ops | — | 1000000 ops/month |
| r2 class b ops | — | 10000000 ops/month |
| r2 egress | — | free (unlimited) egress |
| r2 storage gb | — | 10 GB/month |
| retention years | 1 year | — |
| session replay recordings | 5000 recordings/month | — |
| surveys responses | 1500 responses/month | — |
| team members | unlimited members | — |
| workers cpu ms | — | 10 ms/invocation |
| workers logs events | — | 200000 events/day |
| workers requests day | — | 100000 req/day |
Features
PostHog · 14 features
- A/B Testing — Experiments with significance analysis.
- Data Pipelines — Export events to BigQuery, Snowflake, S3.
- Data Warehouse — Query external sources (Stripe, Hubspot, S3) alongside events with SQL.
- Error Tracking — Sentry-style error tracking in same platform.
- Feature Flags — Rollout flags with targeting, A/B testing, JSON payloads.
- LLM Analytics — Tracing + cost tracking for OpenAI, Anthropic, Gemini, etc.
- Logs — Centralized log ingest with free 50 GB/month.
- Product Analytics — Events, funnels, trends, retention, paths. SQL insights available.
- Revenue Tracking — Integration with Stripe for revenue + churn metrics.
- Self-Hosting — Docker/Helm. Full feature parity with cloud.
- Session Replay — Watch user sessions. Privacy controls, masked inputs, JS errors.
- SQL Query API — Run ClickHouse SQL over your events via API.
- Surveys — In-app surveys + feedback widgets.
- Workflows — Trigger emails/webhooks on events.
Cloudflare Developer Platform · 18 features
- AI Gateway — Proxy for OpenAI/Anthropic/Gemini with caching, analytics, retries, rate limitin…
- D1 — Managed serverless SQLite via sqlite-wasm. Read replicas via replicas keyword.
- Durable Objects — Strongly-consistent objects with storage, pinned to a region. Good for sync/stat…
- Email Routing — Catchall email routing + Email Workers for programmatic handling.
- Hyperdrive — Connection pooler + cache for Postgres. Makes your DB edge-fast.
- Images — Store, resize, transform images. Polish on-the-fly.
- KV — Eventually-consistent key-value at every POP. Good for config, caching.
- Pages — Static + SSR framework hosting (Next.js via OpenNext, Remix, Nuxt, SvelteKit).
- Pages Functions — Workers integrated into Pages for backend logic.
- Queues — Persistent message queues with batched consumers. Exactly-once per consumer grou…
- R2 — S3-compatible object storage with **zero egress fees**.
- Stream — Video upload, encoding, adaptive streaming.
- Vectorize — Vector DB at the edge. For RAG + semantic search.
- Workers — V8-isolate serverless at 300+ POPs. Sub-ms cold starts. JS/TS/Rust/Python (beta)…
- Workers AI — Run LLMs (Llama, Mistral) + image, speech, embedding models at edge via @cf/... …
- Workers Logs — Structured logs with 3-day retention on paid.
- Workflows — Durable step-functions for long-running tasks.
- Zaraz — Third-party script management at edge (analytics, marketing tags).
Developer interfaces
| Kind | PostHog | Cloudflare Developer Platform |
|---|---|---|
| CLI | — | Wrangler CLI |
| SDK | posthog-android, posthog-flutter, posthog-go, posthog-ios (Swift), posthog-js, posthog-node, posthog-php, posthog-python, posthog-react-native, posthog-ruby | — |
| REST | PostHog REST API | Cloudflare REST API, D1 HTTP (via Worker), R2 S3-compatible API |
| MCP | PostHog MCP | Cloudflare MCP |
| OTHER | Webhooks + Actions | Workers Runtime (V8) |
Staxly is an independent catalog of developer platforms. Outbound links to PostHog and Cloudflare Developer Platform are plain references to their official websites. Pricing is verified against vendor pages at publication time — reconfirm before buying.
Want this comparison in your AI agent's context? Install the free Staxly MCP server.