News for hackers. Stuff that matters.
Re:Show HN: MarginDash – See which AI customers are profitable by gdhaliwal23 on Friday February 13, 2026 @04:05AM (#47000625)
Founder here. Gemini actually suggested I build this. I was brainstorming SaaS ideas and it pointed out the gap between AI cost tracking and revenue attribution. I dug into it, agreed, and built it.

The hardest part was the cost simulator. Comparing price-per-million-tokens across models is misleading — different models burn different amounts of tokens for the same task. So we normalize token counts to estimate what a swap would actually look like. When we recommend an alternative, we filter out anything that drops more than 10% on any benchmark or can't handle your context window size. Still improving this.

The SDK never sees your prompts or responses — just model name, token counts, and a customer ID. Limitations: simulator recommends from six vendors only, no custom/fine-tuned models, USD only.

Stack is Rails and Postgres. Happy to answer anything.

There are no comments on this comment yet.