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•55m 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.

Hs-bindgen – automatic Haskell C binding generation

https://well-typed.com/blog/2026/02/hs-bindgen-alpha/
1•MrBuddyCasino•59s ago•0 comments

Slouch Patrol: Because You Forgot Once Again

https://github.com/AshishW/slouch-patrol
1•asw01•2m ago•0 comments

Suspected spies arrested in French town

https://www.bbc.com/news/articles/cwy8yw98l2xo
1•altilunium•2m ago•0 comments

Jargon Chaff File

http://www.catb.org/jargon/chaff.html
1•themaxdavitt•4m ago•0 comments

Show HN: Exact Hamiltonian Path solver (N=63) in 0.11s on mobile ARM (No RAM)

https://zenodo.org/records/18629528
1•andrespi•7m ago•0 comments

Rednow – Turn Viral Videos into Scripts

https://rednow.ai
1•yibaoshan•7m ago•0 comments

America at 250

https://www.economist.com/interactive/america-at-250
1•fisheuler•10m ago•0 comments

UNESCO World Radio Day 2026

https://www.unesco.org/en/days/world-radio
1•austinallegro•11m ago•0 comments

Apple Confirms Revamped Siri Is Still Coming in 2026

https://www.macrumors.com/2026/02/12/siri-ios-26-launch-confirmed-apple/
1•mgh2•14m ago•0 comments

February 11: more than 4B messages were sent to ChatGPT

https://twitter.com/ChatGPTapp/status/2022040577068716231
1•tosh•17m ago•0 comments

Prada Marfa

https://en.wikipedia.org/wiki/Prada_Marfa
1•jameslk•18m ago•0 comments

Copyright office will not find human authorship where AI program generates works

https://www.congress.gov/crs_external_products/LSB/PDF/LSB10922/LSB10922.8.pdf#page=3
1•internet_points•18m ago•0 comments

Show HN: Running OpenClaw on a managed Mac Mini 4 instance

https://www.scaleway.com/en/blog/scaleway-and-openclaw-with-mac-mini/
1•enthusaist•24m ago•0 comments

The End of Licenses

https://myblog.ru/the-end-of-licenses
1•xenator•27m ago•1 comments

Coursera prompt injection on copy and paste

https://twitter.com/iangcarroll/status/2022212829441667482
1•pjf•27m ago•0 comments

Anthropic to donate $20M to group backing AI regulation

https://www.reuters.com/legal/government/anthropic-donate-20-million-us-political-group-backing-a...
1•noduerme•29m ago•0 comments

A 10/10 portfolio page of a young designer

https://rishikeshsarangan.com/
2•alexsanjoseph•30m ago•1 comments

MiniMax releases M2.5: Performance on par with Claude Opus 4.6, but 20x cheaper

https://twitter.com/askOkara/status/2021988522329354264
3•alexfefun1•30m ago•0 comments

AI trends in 2026 will likely be about copilot tools, not automation agents

1•mikasisiki•32m ago•0 comments

How often does the average person fart? Scientists built a device to find out

https://www.scientificamerican.com/article/how-often-does-the-average-person-fart-scientists-buil...
1•beardyw•33m ago•0 comments

SMTP server from scratch in Go – FSM, raw TCP, and buffer-oriented I/O

2•Jyotishmoy•34m ago•0 comments

CEO of Digital Asset Company SafeMoon Sentenced to 100 Months in Prison

https://www.justice.gov/usao-edny/pr/ceo-digital-asset-company-safemoon-sentenced-100-months-pris...
1•pseudolus•37m ago•0 comments

Show HN: Enunciate – Paste a speech script, find the words you'll mispronounce

https://getenunciate.com
1•eventual_consis•37m ago•0 comments

Ask HN: Is there a no-LLM license yet?

4•ahub•38m ago•5 comments

AI uncovers solutions to Erdős problems, moving closer to transforming math

https://www.scientificamerican.com/article/ai-uncovers-solutions-to-erdos-problems-moving-closer-...
1•beardyw•38m ago•0 comments

Hear the "Amati King Cello", the Oldest Known Cello in Existence

https://www.openculture.com/2021/06/hear-the-amati-king-cello-the-oldest-known-cello-in-existence...
3•tesserato•42m ago•1 comments

Suno, AI Music, and the Bad Future

https://www.youtube.com/watch?v=U8dcFhF0Dlk
1•gobugat•44m ago•0 comments

Python for Prediction

https://pythonforprediction.wordpress.com/2026/01/28/llmtextualanswer-usage-examples/
1•librasteve•44m ago•0 comments

Show HN: Machine-readable CV portfolio (llms.txt, capabilities.json)

https://github.com/vassiliylakhonin/vassiliylakhonin.github.io
1•vassilbek•49m ago•0 comments

Analyzing Container Filesystem Isolation for Multi-Tenant Workloads

https://systemweakness.com/i-am-breaking-my-head-in-analyzing-container-filesystem-isolation-for-...
2•hevalon•49m ago•0 comments