frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: MarginDash – See which AI customers are profitable

https://margindash.com/
1•gdhaliwal23•1h ago
I built MarginDash because I couldn't answer a basic question: which of my customers actually make me money after AI costs? My Stripe dashboard showed revenue going up. My OpenAI bills showed costs going up faster. I had no way to connect the two at the customer level. MarginDash is a few line SDK integration (TypeScript, Python, or REST) that tracks model usage per customer and connects it to revenue — either through Stripe sync or by passing revenue directly in the API call. You get a per-customer P&L showing revenue, cost, and margin.

A cost simulator lets you pick any feature, swap the underlying model, and see projected savings. Models are ranked by intelligence-per-dollar using public benchmarks (MMLU-Pro, GPQA, AIME) so you can find cheaper options that aren't actually worse. Budget alerts email you before a customer or feature blows past a threshold.

The pricing database covers 100+ models across OpenAI, Anthropic, Google, AWS Bedrock, Azure, and Groq with daily updates — so cost calculations stay accurate without you maintaining a spreadsheet. The SDK only sends model name, token counts, and customer ID. No prompts, no responses.

Solo founder, built the whole thing for $239.72 in AI costs (wrote about that too). Currently free while I get feedback — would love to hear what you think, especially about the cost simulator.

Comments

gdhaliwal23•1h ago
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.

Show HN: Self-hosted alternative to Goodreads. Own your reading data

https://github.com/raghavan/BookSync
1•raghavankl•41s ago•0 comments

Artificial Intelligence and Magical Thinking

http://edwardfeser.blogspot.com/2019/03/artificial-intelligence-and-magical.html
1•b-man•8m ago•0 comments

I built a 3D racing engine that runs on an ESP32-S3 (8MB PSRAM)

https://medium.com/@davidmonterocrespo24/how-i-built-the-first-3d-racing-game-for-esp32-s3-becaus...
1•dmonterocrespo•8m ago•1 comments

AI Agents Are Making Software More Like Biology

https://twitter.com/pablofariasnew/status/2023212613015150657
1•zenva•11m ago•0 comments

Old School Telecine, circa 1980s (2017)

https://www.liftgammagain.com/forum/index.php?threads/old-school-telecine-circa-1980s.9984/
2•exvi•14m ago•0 comments

Keep screenshots/automation working while the MacBook lid is closed

1•xtongs•16m ago•1 comments

Forbes 250 Americas greatest innovators

https://www.forbes.com/sites/alexknapp/2026/02/11/forbes-250-americas-greatest-innovators
1•norbel•16m ago•0 comments

I made the first iMessage API that can change chat background

https://github.com/photon-hq/advanced-imessage-kit/blob/main/examples/background-set.ts
1•RyanZhuuuu•18m ago•0 comments

Technical Update and Correct Live Link

https://unheededly-unmouthed-tawanda.ngrok-free.dev
1•STEM_SAFE•19m ago•1 comments

Non-globally-rigid inversive-distance circle packings [pdf]

https://w3.cs.jmu.edu/bowersjc/files/BowersCirclePackingTalk_ICMS2016.pdf
1•gsf_emergency_6•19m ago•0 comments

CallCombat – Sales Call Roleplay

https://callcombat.com
1•rogutkuba•23m ago•0 comments

LobsterTank – Firecracker microVM hosting for OpenClaw agents ($2/month)

https://lobstertank.me
1•_3u10•23m ago•0 comments

Anthropic improves free Claude tier as OpenAI prepares insert ads into ChatGPT

https://www.engadget.com/ai/anthropic-beefs-up-claudes-free-tier-as-openai-prepares-to-stuff-ads-...
3•gnabgib•25m ago•0 comments

WebMCP early preview available in Chrome

https://developer.chrome.com/blog/webmcp-epp
1•RyanShook•28m ago•0 comments

Show HN: Purple Computer – Turn an old laptop into a calm first kids computer

https://purplecomputer.org
3•imtavi•29m ago•2 comments

Show HN: ClaudeCraft – Minecraft server where Claude agents do everything

2•skullmag•30m ago•2 comments

A Stock Market Doom Loop Is Hitting Everything That Touches AI

https://www.bloomberg.com/news/articles/2026-02-15/a-stock-market-doom-loop-is-hitting-everything...
3•virgildotcodes•33m ago•1 comments

Show HN: SkillForge – Turn Screen Recordings into Agent-Ready Skills

https://skillforge.expert
1•YaraDori•41m ago•0 comments

Cost of Housing

https://geohot.github.io//blog/jekyll/update/2026/02/16/cost-of-housing.html
5•kart23•42m ago•0 comments

Show HN: I built a tool to poison audio files against AI training models

2•STEM_SAFE•45m ago•1 comments

The Uncanny Fluency

https://residualstream.app/blog/the-uncanny-fluency/
3•Abeeprodev•48m ago•1 comments

Why Running Alone Feels Harder Than Running with Someone

https://vo2maxpro.com/blog/why-running-alone-feels-harder
1•GoodluckH•50m ago•0 comments

Show HN: Crabify, a Spotify TUI

https://github.com/eiiot/crabify
3•eiiot•52m ago•1 comments

Aeris: Real-Time 3D Flight Tracking

https://aeris.edbn.me/
1•thunderbong•52m ago•0 comments

Harness engineering: leveraging Codex in an agent-first world

https://openai.com/index/harness-engineering/
2•vinhnx•56m ago•0 comments

Replacement crew docks at space station, boosts crew back to seven (PMC medical?

https://spaceflightnow.com/2026/02/15/replacement-crew-docks-at-space-station-boosts-crew-back-to...
1•bookmtn•57m ago•0 comments

Show HN: I replaced my SaaS stack with a single AI agent running on a Mac Mini

1•mupengism•58m ago•0 comments

A Single Reason to Not Vibe Code

https://asindu.xyz/a-single-reason-to-not-vibe-code
2•vinhnx•58m ago•0 comments

AI is slowly munching away my passion

https://whynot.fail/human/ai-is-slowly-munching-away-my-passion/
1•vinhnx•59m ago•0 comments

How were video transfers made? (2011)

https://www.film-tech.com/ubb/f12/t000972.html
1•exvi•59m ago•0 comments