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•45m 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•33m ago
dug around in there briefly and the per-session explorer is the best part imo
stephensilber•11m 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.

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

https://demo.frugaltokens.com/
11•dpc94•45m ago•2 comments

Show HN: Nikon F100 Film Camera Repair Notes

https://github.com/enthdegree/f100
30•enthdegree•4d ago•16 comments

Show HN: Naeos – an engineering system for AI coding agents

https://github.com/NAEOS-foundation/naeos
3•bayu911•1h ago•0 comments

Show HN: nanoAlphaZero – Train a grandmaster-level chess model in 24h with TPUs

https://github.com/wtedw/nanoAlphaZero
2•tdoubleu•1h ago•0 comments

Show HN: I am getting genuine questions

https://github.com/docbrain-ai/docbrain
2•bhanuhai2•1h ago•2 comments

Show HN: LongTerMemory, an AI EdTech Platform

https://wired.business/longtermemory
2•aledevv•1h ago•0 comments

Show HN: Automatically detect and patch walking-dead states in Sierra games

https://github.com/katiahayati/lucasartsifier/
136•wkfauna•15h ago•75 comments

Show HN: a javascript engine written in C3 with native TS support

https://github.com/ricardobeat/boomkat
3•ricardobeat•2h ago•1 comments

Show HN: Anonymous age verification with passkey-powered encryption

https://loginwithone.com/
5•mikeysight•4h ago•4 comments

Show HN: Interactive, animated architecture of any HuggingFace models

https://modelmap.cc
101•lizhaoliu•17h ago•11 comments

Show HN: Progressive web-app to explore Paris while solving puzzles without app

https://flanori.com/
4•rhazn•3h ago•0 comments

Show HN: Verify OpenAI's signed agent traffic in Python (RFC 9421/Web Bot Auth)

https://github.com/regent-protocol/regent-httpsig
3•abay_aubakirov•3h ago•0 comments

Show HN: Xalgorix – open-source AI pentester that proves vulnerabilities

https://www.xalgorix.com/
6•xalgord•4h ago•4 comments

Show HN: Openleetcode – Local LeetCode runner where tests live in the repo

https://github.com/therepanic/openleetcode
68•therepanic•1d ago•17 comments

Show HN: My Mac slept through its cron jobs, so I made goguma, a menu bar app

https://github.com/junnam586/goguma
4•junnam586•4h ago•2 comments

Show HN: Marginal – See which customers and features drive your AI API costs

https://marginalhq.com/
4•jithinlalk25•4h ago•0 comments

Show HN: Saggar, a Mac terminal that keeps sessions and your attention organized

https://saggar.marginalutility.dev/
65•mcclowes•2d ago•59 comments

Show HN: Carno.js – a Nest-style application framework for Bun

https://github.com/carnojs/carno.js
6•l-crispr•5h ago•1 comments

Show HN: LLM-Shield-Proxy Zero-Egress PII Streaming Proxy (55MB RAM)

https://github.com/ninadphalak/LLM-Shield-Proxy
4•ninadphalak•5h ago•1 comments

Show HN: macOS data protection keychain for Electron apps

https://github.com/biw/keychain-store
23•biwills•1d ago•3 comments

Show HN: Desktopcolors.com – A museum for solid background colors of classic OS

https://desktopcolors.com
162•vlowrian•2d ago•71 comments

Show HN: Basis – A free crypto terminal without paywalls

https://www.basischarts.com/
2•Alrady•7h ago•0 comments

Show HN: Shoehorn – Quantize any model down to run on your machine

https://notactuallytreyanastasio.github.io/shoehorn/
44•rhgraysonii•1d ago•9 comments

Show HN: PlugClaw – Private AI agent hardware for any phone or PC

https://plugos.net/plugclaw/
6•darkreader•13h ago•5 comments

Show HN: Capto – alerts when a background job goes quiet, with breadcrumbs

https://capto.run
7•johndory80•1w ago•3 comments

Show HN: Go CLI for website health checks, zero dependencies

https://github.com/atillalab/site-health
13•mehmetkose•1d ago•2 comments

Show HN: Loft Day – a wedding invitation turned point-and-click game

https://marketa.behdad.org/loft-day
9•behdad•1d ago•5 comments

Show HN: Sokoban AI Solver

https://mkornreich.me/projects/sokoban/
70•enjoyyourlife•2d ago•42 comments

Show HN: SparkleChinese – Learn Chinese while you browse

https://sparklechinese.com
5•tommy_guo•4h ago•0 comments

Show HN: A local MitM proxy to control TLS fingerprints

https://github.com/ytkoka/impersonate-proxy
27•ytkoka•1d ago•6 comments