frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Frugal Tokens – explore costs and usage across coding agents

https://demo.frugaltokens.com/
11•dpc94•44m ago
I wanted to share a project I’ve been working on called Frugal Tokens. I originally built it because I was curious to see how much all of my sessions cost and how much cache misses affected that spend. I’d noticed people had widely different spend profiles and wanted to better understand what might contribute to that.

As I’ve worked on this, the tool has grown to show more usage patterns across all of your sessions. It shows overall usage, estimated working time and overlapping sessions, and where your spend is coming from across models and cache misses. I also have a few session level metrics with percentile breakdowns, along with a list of your sessions and high level info.

Clicking into a session opens an explorer where you can see individual model calls and tool inputs and outputs. You can also jump directly to where a cache miss happened. There’s also a rough cost comparison that shows what the recorded session would have cost with another model’s pricing, or for Anthropic, with 5m vs 1h caching.

In the future, I’d love to collect more information to see which patterns might make people’s workflows more expensive, e.g. long sessions, high context usage, many turns, etc.

The tool requires deno, but is just one command to run once that is installed. The demo provided has some of the data scrubbed, but helps to show what it looks like before running it.

Would appreciate any thoughts or ideas

https://github.com/dpclark4/frugal-tokens

Comments

ixtli•32m ago
dug around in there briefly and the per-session explorer is the best part imo
stephensilber•10m ago
I have started using this to inspect some of my heavier sessions and it has helped uncover some of the parts of my workflow and my project's build pipeline that were really slowing me down.

I also had no idea how many cache misses were happening when I stepped away for an hour or more at times.

Cop Explains Why He Used License Plate Reader to Stalk Woman

https://www.404media.co/i-saw-a-shiny-thing-cop-explains-why-he-used-license-plate-reader-to-stal...
2•cdrnsf•1m ago•0 comments

Meme.Center – Meme merch and internet T-shirts

https://shop.meme.center
1•PostTrack•1m ago•0 comments

Cursor increases usage limits and auto mode costs

https://www.reddit.com/r/cursor/comments/1vsqshp/anyone_got_this_email/
1•mellosouls•2m ago•0 comments

3D-printing enthusiast creates 'Flock Sock' to blind controversial cameras

https://www.tomshardware.com/3d-printing/3d-printing-enthusiast-creates-flock-sock-camera-blind-s...
1•Bluestein•3m ago•0 comments

What If Maintainer Burnout Isn't Burnout

https://ryancheley.com/2026/08/17/what-if-maintainer-burnout-isn-t-burnout/
2•speckx•3m ago•0 comments

Google replaced Git tags for certain source code with obtaining via Google Drive

https://grapheneos.social/@GrapheneOS/117057099753905023
1•Animux•4m ago•0 comments

A revisit of remote Spectre attacks on Cloudflare Workers

https://blog.cloudflare.com/revisiting-spectre-attacks-on-workers/
1•albertpedersen•6m ago•1 comments

Employers are ghosting college grads and rescinding offers

https://www.sfgate.com/bayarea/article/employers-ghosting-college-grads-22393277.php
9•bryan0•9m ago•1 comments

The Mark of the Machine

https://www.newyorker.com/culture/infinite-scroll/the-mark-of-the-machine
1•samizdis•9m ago•0 comments

Opus 5.0 drives incoherence into the stratosphere

https://github.com/anthropics/claude-code/issues/77136
1•Bluestein•11m ago•0 comments

People Are Cutting Down Flock Cameras En Masse

https://margaretkilljoy.substack.com/p/people-really-are-cutting-down-flock
7•cdrnsf•13m ago•0 comments

Stripe Agrees to Acquire OpenRouter

https://stripe.com/en-at/newsroom/news/stripe-agrees-to-acquire-openrouter
2•tosh•13m ago•1 comments

New zero-knowledge cryptography SaaS coming soon

https://www.patreon.com/cw/evalocker
1•chipergdc•14m ago•0 comments

Meta ran ads for an app promising to nudify female politicians

https://arstechnica.com/ai/2026/08/meta-ran-ads-for-an-app-promising-to-nudify-female-politicians/
1•madihaa•15m ago•0 comments

Show HN: HRAG – Hybrid RAG on €116/month of Hetzner, officially benchmarked

https://hrag.app/
1•victor_edka•15m ago•0 comments

Show HN: Wholly.to helps you send people money with no/low fees

https://wholly.to/
1•8by3•15m ago•0 comments

The 6-Stage AI Infra Journey: Navigating the Three FinOps and Hardware Crises

https://acefleet.dev/blog/the-6-stage-ai-infrastructure-journey
1•flyingfishisme•16m ago•0 comments

Moderna shares surge as melanoma vaccine with Merck succeeds in large trial

https://www.cnn.com/2026/08/19/health/moderna-merck-mrna-melanoma-vaccine
4•jamarna•16m ago•0 comments

Data breach at shipping giant Ceva Logistics

https://techcrunch.com/2026/08/10/a-data-breach-at-shipping-giant-ceva-logistics-is-rippling-acro...
2•awalGarg•18m ago•1 comments

How Claude's Watermark Works

https://instavm.io/blog/how-claudes-watermark-works
1•mkagenius•18m ago•0 comments

OpenRouter Is Joining Stripe

https://openrouter.ai/blog/announcements/openrouter-is-joining-stripe/
2•rvz•19m ago•0 comments

$Tripe, the Singualrity Has Begun

https://www.axios.com/2026/08/19/stripe-payments-openrouter-singularity
1•Taikhoom10•20m ago•0 comments

Mana Hempcrete Walls

https://tasteofselfsufficiency.co.uk/2026/08/17/mana-hempcrete-walls/
1•speckx•23m ago•0 comments

Expired credit cards revived by researchers to make unauthorized payments

https://www.theregister.com/security/2026/08/18/expired-credit-cards-revived-by-researchers-to-ma...
3•joebuckwilliams•23m ago•0 comments

Show HN: Virtual Panoramas of the Cambrian

https://flyingspringrol.github.io/BloomEducation/palezoic/
1•aronowb14•24m ago•0 comments

The Intrinsic Valuation of Biodiversity Loss [pdf]

https://static1.squarespace.com/static/5b4b997eda02bc592b5131cd/t/6a6d97b71fab6c1175baf018/178556...
1•marojejian•25m ago•1 comments

Stripe Agrees to Acquire OpenRouter

https://stripe.com/newsroom/news/stripe-agrees-to-acquire-openrouter
5•mmcclure•25m ago•1 comments

The Open Source Maintenance Fee for Polly

https://thepollyproject.org/2026/07/14/polly-osmf-announcement.html
2•ngetchell•25m ago•0 comments

Show HN: Headless Terminal: skill for agents to use interactive TUI/CLI programs

https://www.skills.sh/montanaflynn/headless-terminal/headless-terminal
2•anonfunction•27m ago•0 comments

MX Records: The Untold Story of Email

https://blog.lacnic.net/en/story-of-email/
2•alvis•28m ago•0 comments