Vaibhav Singh

Vaibhav Singh

Building AgentCOGS | IIT Delhi student

Badges

Tastemaker
Tastemaker
Gone streaking
Gone streaking

Forums

•

31m ago

AgentCOGS - Per-customer AI margin tracking for LLM SaaS

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.
View more