{"repo":"Rodiun/frugon","free":true,"listed":false,"github":"https://github.com/Rodiun/frugon","clone":"git clone https://github.com/Rodiun/frugon.git","description":"Free, local, open-source LLM cost analyzer - see where your LLM bill leaks, on your machine.","language":"Python","stars":210,"topics":["anthropic","cli","cost-optimization","finops","llm","llmops","local-first","openai","python"],"license":"MIT","category":"ai-agents","readme_excerpt":"Frugon Your LLM bill is leaking — see exactly where, on your machine. Free, local, open-source LLM cost analyzer. Point Frugon at your LLM call logs and see — on your machine — how much you'd save by switching or routing models. Your data never leaves your machine. Your keys go straight to your own providers. Nothing reaches us. Install & run No logs yet? See Getting your logs below, or run frugon analyze --demo to see it work on a bundled sample. Getting your logs frugon reads JSONL files in the OpenAI request/response format. There are two ways to produce them. Option A — frugon capture (proxy shim) frugon capture is a local HTTP proxy that sits between your app and your provider. Every call is forwarded unchanged to your real provider and saved as one JSONL line. Options: --port , --out , --upstream (override the forwarding target), --verbose (print one line per captured call to verify it's recording), --proxy (opt in to route upstream calls through a proxy — by default frugon ignores any ambient HTTP PROXY / HTTPS PROXY , so your API key never passes through a third-party proxy). The shim adds no latency overhead on localhost and makes no calls to any frugon endpoint. Option B — write JSONL directly If you already capture logs (e.g. via middleware or a provider SDK callback), write one JSON object per line with this shape: usage.prompt tokens / usage.completion tokens — preferred when present; frugon falls back to its own tokenizer when absent. timestamp is optional but e","default_branch":null,"files":null,"tree":[],"storefront":"/r/Rodiun","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Rodiun/frugon/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}