frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: LLMBillingKit – measure net margin per LLM call with one line of Python

https://github.com/dphan8/llmbillingkit
1•davidphan11•1h ago

Comments

davidphan11•1h ago
The LLM tokens pricing landscape has become quite complex as model providers have introduced more e.g. different prices for tokens depending on prompt length, mcp context, caching, tool calls, etc. I understand there are tools to manage API spend by developers but there weren’t any lightweight options for analysing the revenue side.

Hence, I created LLMBillingKit, a Python package that calculates net margin per LLM API call through measuring what you charged your users versus what each LLM request cost. I built this hoping to give more visibility on the unit economics and revenue financials behind each token. Please let me know what you think!

Install via `pip install llmbillingkit`

Repo link: github.com/dphan8/LLMBillingKit

PyPI: pypi.org/project/LLMBillingKit/

Show HN: Interactive guitar modes explorer: scales, fretboard, diatonic chords

https://www.fachords.com/chords-modal-scales/
1•giancaIta•1m ago•0 comments

New Super Mario Land,the Homebrew Marvel Intended as X-Mas Gift

https://www.nintendolife.com/news/2019/11/feature_the_story_behind_new_super_mario_land_the_homeb...
1•Markoff•1m ago•1 comments

Telnyx v4.87.1 and v4.87.2 are compromised by TeamPCP

https://github.com/team-telnyx/telnyx-python/issues/235
1•ramimac•3m ago•1 comments

Suddenly energy independence feels practical:Europeans building mini solar farms

https://www.euronews.com/2026/03/26/suddenly-energy-independence-feels-practical-europeans-are-bu...
1•vrganj•4m ago•0 comments

Show HN: Isartor – Pure-Rust prompt firewall, deflects 60-95% of LLM traffic

https://github.com/isartor-ai/Isartor
1•zippode•6m ago•0 comments

An alternative to the app store that can globally block short form media

https://altstore.io/
1•tokenomics•6m ago•0 comments

The UK Covid Inquiry has laid bare the avoidable horror of the second Covid wave

https://christinapagel.substack.com/p/the-uk-covid-inquiry-has-laid-bare
1•mariuz•10m ago•0 comments

Engineers do get promoted for writing simple code

https://www.seangoedecke.com/simple-work-gets-rewarded/
1•rbanffy•13m ago•0 comments

Two GitHub accounts, one machine

https://dineshpandiyan.com/blog/two-github-accounts-one-machine/
1•flexdinesh•22m ago•0 comments

AI bug reports went from junk to legit overnight, says Linux kernel czar

https://www.theregister.com/2026/03/26/greg_kroahhartman_ai_kernel/
2•RandomPenguin•23m ago•0 comments

'Worse-case' CAP shortages threaten the Tucson aquifer's delicate balance (2022)

https://tucson.com/news/local/article_58d33da6-aaad-11eb-99a1-57252344b119.html
1•mooreds•24m ago•0 comments

Media Bias Chart Gallery – Public – Ad Fontes Media

https://adfontesmedia.com/gallery/
1•rbanffy•25m ago•0 comments

Elevated error rates on Opus 4.6

https://status.claude.com/incidents/b9802k1zb5l2
2•nstj•27m ago•0 comments

Embeddable Common Lisp 26.3.27 release

https://ecl.common-lisp.dev/posts/ECL-26327-release.html
2•jackdaniel•29m ago•0 comments

NASA races to have the first moon base and nuclear-propulsion spacecraft

https://www.sciencenews.org/article/nasa-moon-base-nuclear-propulsion-spacecraft
2•majkinetor•30m ago•0 comments

Show HN: Pyconject – Ditch messy YAML loading in Python with config injection

https://github.com/neolaw84/pyconject
1•neolaw•34m ago•1 comments

TDD Makes a Lot of Sense with Agentic Development

1•shellerik•35m ago•0 comments

Show HN: Clipboard-MCP – System clipboard access for AI assistants

https://github.com/mnardit/clipboard-mcp
1•MaxNardit•35m ago•0 comments

Universal package repository SaaS Repsy announces the open source version

1•repsy•35m ago•0 comments

We're Building God with Technology

https://davidbramante.substack.com/p/were-building-god-with-technology
1•davidbramante•37m ago•0 comments

A Car Powered Using 500 Disposable Vape Batteries [video]

https://www.youtube.com/watch?v=HwoZg3BCigU
1•DropDead•40m ago•0 comments

Show HN: FlöFuel – cycling nutrition app that plans around your actual products

https://apps.apple.com/us/app/fl%C3%B6fuel/id6759410434
1•kikibobo69•43m ago•1 comments

Zipf's Law

https://en.wikipedia.org/wiki/Zipf%27s_law
1•_tk_•43m ago•0 comments

GitHub hits CTRL-Z, decides it will train its AI with user data after all

https://www.theregister.com/2026/03/26/github_ai_training_policy_changes/
1•cmsefton•46m ago•1 comments

The most inaccessible site possible with a perfect Lighthouse score (2019)

https://www.matuzo.at/blog/building-the-most-inaccessible-site-possible-with-a-perfect-lighthouse...
1•mooreds•46m ago•0 comments

Ask HN: Have you broke you OpenStreetMap Foundation tiles by blocking referer?

1•matkoniecz•46m ago•0 comments

I built a new composite qualitative metric

https://www.elenaverna.com/p/how-i-built-a-new-composite-qualitative
1•mooreds•46m ago•0 comments

How Well Does My AI Agent Know Me?

https://hexaco-agent.vercel.app/
1•hunglee2•48m ago•0 comments

Why New F-35 Lightning II Stealth Fighters Are Arriving Without Radars

https://www.19fortyfive.com/2026/03/flying-blind-why-new-f-35-lightening-ii-stealth-fighters-are-...
1•RustyBucket•49m ago•0 comments

"Ironies of Automation (1983)"

https://fermatslibrary.com/p/028c7a80
1•dstrbad•51m ago•1 comments