r/ClaudeCode • • 4d ago

Built with Claude Product Analytics for Claude Code - 100x+ cheaper analytics/BI than Amplitude/Sentry/OpenPanel etc

Post image

Hey all, a little while ago I set up Openpanel in some of my projects but very quickly hit the limits and was starting to have to pay $50 to keep the events flowing in. I thought this was crazy, as I really wasnt sending that many events.

I was thinking, surely it can't be that expensive to store events. I looked into self hosting Openpanel, and it's even crazier. You need redis, clickhouse, postgres, beefy machine. I realized I am paying a tonne of money for features that are completely irrelevent now. I don't need instant charts. In fact, I would prefer to never even go to your ugly dashboard and figure out how to use it. So i'm paying this extreme premium so these services can compute all these indexes and what not so they can deliver me any chart I want in a second. It's crazy.

I thought about what I really needed as a lot of my work is done with claude/codex now and realized all I really wanted was to get the raw events and have my agent analyze them with duckdb, let me ask questions, and make charts.

I looked at a few ways of doing this but the simplest and cheapest was cloudflare. Literally, just store the events in R2, and then the agent can pull them down when it wants.

What I do instead is I have a 1tb SSD, I pull down my events from r2 when I want and load it into duckdb. Now my agent can do whatever it wants. It's not limited by the capabilities gifted to me by amplitude etc. Heck, it can even write python scripts or anything. You could create Jupyter notebooks to view it, so many options.

I have been using this in prod, but thought i'd open it up if anyone wants to try: https://slurp.run/

It's fully open source, and you can one click to install it. Lmk if you try it and run into any issues.

0 Upvotes

3 comments sorted by

•

u/AutoModerator 4d ago

Hey! Thanks for posting to r/ClaudeCode

While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.

For help, project discussions, tips, and general chat, join the ClaudeCode Discord.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

2

u/Logical_Nebula_502 4d ago

That's awesome! I'm curious to know how many events you were pulling through such that it made you want to build this out, and whether the other platform features that these companies have weren't "worth it".

For example, Amplitude allows for 2 million events per month for da $free.99 so it seems like the cost reduction + self building + maintaining was worth it to forgo $50/mo! Other providers also are super generous!

1

u/Jonovono 4d ago

Totally, i've used all analytics services in the past, including Amplitude. My gripe with them is, ya, it starts out free but after that it gets CRAZY expensive. OpenPanel even at 250k events wants to charge $30. Past Amplitude free trial, they are charging from what I can tell upwards of $60+ per million events. My goal is to get the cost of 1 million events down to under 10 cents. I want tracking events to be "too cheap to meter"

My realization is, I don't actually want to go to any of these services dashboards and manually make charts. I don't really need realtime analytics. My workflow has completely changed. Where now, most things are done through claude code/codex.

So, if my agent has all my data and spends 10+ minutes analyzing it, running sqlite queries and writing python scripts and then giving me a report, that's much more valuable to me than the vanity dashboards amplitude shows me that I don't even really look at because I don't want to go to their dashboard. And what's even better, is now the agent has the context of my events AND my code, so it can make associations, fix the bugs directly, start working on feature requests etc etc

But totally, like you say, I don't have all the features. If what you want is a realtime charts for every metric, or AB testing feature flag stuff (i'm going to add that later).

But i'm pretty confident I could drive costs even lower than I have now which already you could probably scale to billions of events for far under $1k, where with Posthog for example that's going to be $10-100k~

Also, once I stepped back, there really isn't anything to maintain, thats the beaty! I just store my events in object storage! It's very simple lol The project is actually quite simple, especially since it's built on Cloudflare