frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Frugon – Find which LLM calls a cheaper model could handle (local, MIT)

https://github.com/Rodiun/frugon
10•jarodrh•1d ago
I started leaning in on AI heavily this year, as I wanted to get more done autonomously, but then my token usage climbed dramatically to the point where my weekly quota would run out before the end of the week, sometimes a couple of days into the week.

I realised I had to do something about it else I'd have to double my spend. So I decided to start tracking my cost per task type. This revealed that a lot of my spend went to searches/scans or simple things like scouting tasks.

I then decided to turn this into a simple CLI tool that can be used to read your OpenAI-style logs locally, and analyze the cost and compare this spend to other models, then show you how much you could potentially save by switching those calls to a cheaper model.

When you run analyze you get an offline estimate priced against LiteLLM and gated by LMArena tiers. The general savings bands come from the research published by RouteLLM; but you can confirm this yourself using 2 commands --measure (shows the prompt-response output side by side) and --judge (a model chosen to do the comparisons). These send a sample of the prompts from the logs to the candidate models - either the default choice or set by you. This call goes directly to the model provider (never through me) as any normal LLM call would, and the response is shown and judged to either be better or worse or a tie.

It's deliberately small, because I tend to over complicate/think things sometimes: analyze + capture + a few commands, doing three jobs. Cost, quality visibility, routing recommendation.

Nothing is hosted. capture is an optional local proxy on your own machine, and there's no endpoint in the path of your data. You can confirm this by checking the source.

I included a demo so you can check out the output. It has a synthetic 56k call log (a month's worth) showing how costs can drop from $549.46 to $343.91 a month. A 37.4% saving.

Try it:

  uvx frugon analyze --demo
or

  uv tool install frugon
Then point it at your own logs.

All feedback is welcome, especially any on the routing/quality logic, or anything else, good or bad.

Comments

cyanydeez•1h ago
this would be more interesting as a local LLM anlysis; throw out all the costs, and figure out primary-subagent model architecture, and maximize token generation and prefill.

I don't see how anyone can operationalize this information.

XUEYANZ•35m ago
Haha. somehow i just love the naming. it just makes sense :D

Show HN: Microsoft releases Flint, a visualization language for AI agents

https://microsoft.github.io/flint-chart/#/
204•chenglong-hn•8h ago•75 comments

Show HN: Yamanote.fun – A complete soundscape for Tokyo's Yamanote line

https://www.yamanote.fun/
55•madebymagnolia•1d ago•14 comments

Show HN: Frugon – Find which LLM calls a cheaper model could handle (local, MIT)

https://github.com/Rodiun/frugon
10•jarodrh•1d ago•2 comments

Show HN: Onboard-CLI, a LLM powered and AST-based tool to visualize codebase

https://github.com/animesh-94/Onboard-CLI
19•yr_animesh•5h ago•5 comments

Show HN: Follow London Trains in 3D

https://ride.nexttrain.london/
130•mgranados•4d ago•56 comments

Show HN: Cyrinx (36kbps Acoustic Transport)

https://cyrinx.org/
2•dweekly•57m ago•0 comments

Show HN: Agent Draw: An agent draws while you talk, built on TLDraw

https://techstackups.com/articles/tldraw-agent-draw/
30•jameswhitford•2d ago•6 comments

Show HN: Abralo – Free, easy way to run several Claude Code agents in one window

https://abralo.com/
9•cwbuilds•11h ago•2 comments

Show HN: Hnwork.app – UI for Who is hiring posts

https://hnwork.app/
20•scottilee•5h ago•5 comments

Show HN: Foreman, a self-hosted LLM gateway for cost aware model routing

https://github.com/Northwood-Systems/foreman
12•AndrewLiu96•7h ago•5 comments

Show HN: Neil the Seal Game

https://neiltheseal.app/
88•dalemhurley•3d ago•79 comments

Show HN: I ran 70 MCP servers in a sandbox and logged what they do

https://github.com/BhaveshThapar/mcp-audit
2•bthapar•3h ago•1 comments

Show HN: A tool that checks how your business appears in AI search

https://www.tryagentscore.com
2•nikhilsiyer•3h ago•1 comments

Show HN: Chiptune Radio

https://chiptune-radio.alephvoid.com/
75•bootbloopers•1d ago•16 comments

Show HN: Davit, a Apple Containers UI

https://davit.app
377•xinit•1d ago•97 comments

Show HN: Handsum: An LQIP Image File Format

https://nigeltao.github.io/blog/2026/handsum.html
2•nigeltao•5h ago•0 comments

Show HN: Nully – FOSS AI chat without the bloat

https://nully.chat/
2•johnfahey•5h ago•0 comments

Show HN: Kastor – Terraform-style specs for AI agents

https://github.com/weirdGuy/kastor
32•weirdguy•10h ago•17 comments

Show HN: Rowboat – Open-source, local-first alternative to Claude Desktop

https://github.com/rowboatlabs/rowboat
212•segmenta•1d ago•91 comments

Show HN: Skill-extractor turns coding agent transcripts into reusable skills

https://github.com/surenode-ai/skill-extractor
4•chand249•5h ago•0 comments

Show HN: Pug.sh – open-source product analytics

https://pug.sh/
11•BajajScooter•12h ago•5 comments

Show HN: PostgreSQL performance and cost across 23 EC2 instance types

https://postgres.saneengineer.com
95•anivan_•1d ago•20 comments

Show HN: REST - Living Without Burnout. A manifesto about sustainable discipline

https://themanifesto.rest/
2•dasannikov•6h ago•0 comments

Show HN: Free Mermaid Diagram Editor

https://moxiedocs.com/mermaid-diagram-editor
49•ghosts_•1d ago•12 comments

Show HN: SharpSkill – Test your IT skills in 15 different spoken languages

https://sharpskill.dev/en
4•Enjoyooor•6h ago•0 comments

Show HN: Nodeup – automate Node.js version upgrades and NPM package migration

https://github.com/dipto0321/nodeup
3•dipto47•6h ago•0 comments

Show HN: Connect DuckDB to any database that has an ADBC driver

https://github.com/columnar-tech/duckdb-adbc-client
3•sarch•6h ago•0 comments

Show HN: Fast, native Mac file manager (filters, fuzzy find, 9 MB, no Electron)

https://whimfiles.com
97•whimbyte•1d ago•69 comments

Show HN: Docx-CLI: agents read/edit Word docs using 1/2 the time and tokens

https://github.com/kklimuk/docx-cli
69•kirillklimuk•1d ago•30 comments

Show HN: Halo – open-source, tamper-evident runtime evidence for AI agents

https://github.com/bkuan001/halo-record
37•brian_kuan•1d ago•23 comments