Thursday, December 3, 2026 | London 11°C · Drizzle
DailyGlimpse

AI

Frugon: Open-Source Tool Slashes LLM Costs by Routing Easy Queries Locally

BirenAI 1 min read

A new open-source tool called Frugon aims to reduce large language model (LLM) expenses by analyzing call logs and identifying requests that can be handled by cheaper models. Released under the MIT license, Frugon runs entirely on the user's machine, ensuring data privacy and direct API key usage.

The tool accepts OpenAI-compatible JSONL call logs and examines each request's prompt, response patterns, token counts, model used, and timestamp. It classifies calls as 'easy' or 'hard,' recommending cheaper model routing for easy ones while leaving hard calls unchanged. Based on RouteLLM research, Frugon claims typical savings of 30–50% on mixed workloads.

Frugon compares against a curated list of current models across providers and outputs an HTML or Markdown report. It scales to over 100,000 calls with progress tracking. In a bundled demo of 56,100 calls, Frugon flagged 36,100 (about 64%) as easy, recommending routing to DeepSeek. This would reduce monthly spending from $549 to $344—a 37% cut—while maintaining quality.

Key features include optional quality sampling via the --measure flag, no network calls by default, and local execution for privacy. The tool provides a concrete, measurable approach to model routing, helping developers optimize LLM costs without compromising performance.

React