frugal

source-available · byok · any model

Tool calls are the new tokens.

Routes every tool call to the cheapest provider that returns a result. Free / local first. Paid as fallback. Your keys. No account.

$0-first BYOK Any model

Every tool call, routed.

Eight capabilities. Three tiers each. Walked left to right — free first, paid as fallback.

Search shipping

Web SERP, routed.

FreeSearXNG · Marginalia
CheapSerper · $0.001
Premium

Extract shipping

Page → clean text.

Freego-readability · local
Cheap
Premium

Browse partial

Headless rendering.

FreePlaywright (planned)
Cheap
PremiumBrowserbase (planned)

Code exec planned

Run untrusted code.

FreeDocker · local
CheapE2B · $0.10/hr
Premium

Embeddings planned

Vector encode.

Freenomic, bge · local
Cheap3-small · $0.02/1M
Premium

Transcribe planned

Audio → text.

Freewhisper.cpp · local
CheapDeepgram · $0.0043/min
Premium

Chat (small) planned

Fast model call.

FreeOllama · LM Studio
Cheap4o-mini · haiku · flash
Premium

Chat (large) planned

Reasoning model.

FreeKimi K2 · Qwen 72B
Cheap
Premium

The cheapest tools for AI.

Tool prices haven't fallen the way model prices have. You.com is 5× Serper. A Firecrawl scrape costs as much as the gpt-4o-mini call that consumes it. SearXNG, on your machine, is free. Frugal takes the cheapest result.

Capability free / local cheap paid premium paid
Search SearXNG (self-host) Serper · $0.001/call You.com · $0.005/call
Extract Trafilatura, readability.js, Mercury (self-host) Firecrawl $0.001–0.005/page
Browse Playwright + Chromium (local) Browserless ~$0.002/unit (30s) Browserbase $0.10/hr (~$0.002/min)
Code exec local Docker E2B ~$0.10/hr (2 vCPU) Modal ~$0.14/hr (+GPU)
Embeddings nomic-embed-text, bge-large (local) text-embedding-3-small · $0.02/1M tok 3-large, Voyage-3, Cohere
Transcription whisper.cpp (local) Deepgram Nova · $0.0043/min OpenAI Whisper $0.006/min, Speechmatics
Chat (small) Ollama / LM Studio (local OSS) gpt-4o-mini, haiku, gemini-flash gpt-4o, claude-sonnet
Chat (large) Kimi K2, Qwen 72B (serious local HW) gpt-4o, claude-opus, gemini-pro

Every call prints the decision — capability, provider, cost — in the agent's trace.

One MCP server. That's it.

Agents talk to Frugal via MCP. Two commands. No other surface.

install into every detected agent
$ frugal mcp install
detected: Claude Desktop, Cursor, Claude Code
✓ wrote all three configs.
run as an MCP server
$ frugal mcp serve
mcp ready on stdio. tools: frugal__search

Install

One Go binary, ~10 MB. No SaaS. No account. Reads OPENAI_API_KEY, ANTHROPIC_API_KEY, SERPER_API_KEY from your env and forwards calls upstream. Releases are cosign-signed; the installer verifies the checksum before moving the binary into place.

$ curl -fsSL https://frugal.sh/install | bash

From source

$ git clone https://github.com/brainsparker/frugal.git && cd frugal && make build

Add Frugal to your agent

$ frugal mcp install
# auto-detects Claude Desktop, Cursor, Claude Code.
# merges 'frugal' into each detected config. idempotent.

Built to self-host.

Your keys stay local
API keys never leave your machine. No control plane. No data retention by architecture.
BUSL 1.1 → Apache 2.0
Source-available today. Self-hosting and internal commercial use are permitted. Each release converts to Apache 2.0 four years after publication. License FAQ →

Cut the tool bill.

One Go binary. Three lines to install. Every tool call routed to the cheapest provider that works. BYOK.