This product was not featured by Product Hunt yet.
It will not be visible on their landing page and won't be ranked (cannot win product of the day regardless of upvotes).

Product Thumbnail

AgentCOGS

Per-customer AI margin tracking for LLM SaaS

Open Source
Developer Tools
Artificial Intelligence
GitHub
Visit WebsiteSee on Product HuntGithub ⧉Vercel ⧉

Hunted byVaibhav SinghVaibhav Singh

AgentCOGS is an open-source Python SDK that shows the AI margin of each of your customers, not just the blended total. Inside agentcogs.run(), it reads token usage from the OpenAI and Anthropic calls you already make and attributes that cost to the customer you set. AI margin = (monthly fee - attributed AI cost) / monthly fee. Type the fee or pull it from the customer's Stripe subscription. Self-hosted dashboard included; a hosted API is not serving. Fictional demo: agentcogs.vercel.app. MIT.

Top comment

Hi Product Hunt - Vaibhav here, maker of AgentCOGS.

AgentCOGS answers one question for SaaS built on LLMs: which customer stops making money this month? A blended AI bill can look fine while one customer's usage quietly outgrows their fee.

What it does:

  • Runs inside agentcogs.run() and reads token usage from the OpenAI and Anthropic calls you already make

  • - Attributes that cost to the customer you set

  • - Computes AI margin = (monthly fee - attributed AI cost) / monthly fee; type the fee or pull it from Stripe

  • - Checks a per-customer budget before the next SDK call, with straight-line pace to month-end

What's real today: the SDK (pip install agentcogs), a self-hosted dashboard, and a fictional sample at agentcogs.vercel.app you can explore without typing anything. The hosted API is not serving yet - everything runs on your machine. MIT licensed.

I'd love feedback on the margin definition (docs/cost-methodology.md in the repo) and on which providers you'd want instrumented next. GitHub: github.com/vaibhav11123/agentcogs

Comment highlights

No comment highlights available yet. Please check back later!

About AgentCOGS on Product Hunt

“Per-customer AI margin tracking for LLM SaaS”

AgentCOGS was submitted on Product Hunt and earned 2 upvotes and 1 comments, placing #154 on the daily leaderboard. AgentCOGS is an open-source Python SDK that shows the AI margin of each of your customers, not just the blended total. Inside agentcogs.run(), it reads token usage from the OpenAI and Anthropic calls you already make and attributes that cost to the customer you set. AI margin = (monthly fee - attributed AI cost) / monthly fee. Type the fee or pull it from the customer's Stripe subscription. Self-hosted dashboard included; a hosted API is not serving. Fictional demo: agentcogs.vercel.app. MIT.

AgentCOGS was featured in Open Source (69.1k followers), Developer Tools (523.3k followers), Artificial Intelligence (484k followers) and GitHub (41.5k followers) on Product Hunt. Together, these topics include over 287.6k products, making this a competitive space to launch in.

Who hunted AgentCOGS?

AgentCOGS was hunted by Vaibhav Singh. A “hunter” on Product Hunt is the community member who submits a product to the platform — uploading the images, the link, and tagging the makers behind it. Hunters typically write the first comment explaining why a product is worth attention, and their followers are notified the moment they post. Around 79% of featured launches on Product Hunt are self-hunted by their makers, but a well-known hunter still acts as a signal of quality to the rest of the community. See the full all-time top hunters leaderboard to discover who is shaping the Product Hunt ecosystem.

Want to see how AgentCOGS stacked up against nearby launches in real time? Check out the live launch dashboard for upvote speed charts, proximity comparisons, and more analytics.