x402 · USDG · Robinhood Chain

The cheapest model that can do the job.

Frugal sends every task your agent makes to the smallest AI model that can handle it. Tagging a ticket doesn't need the biggest brain. A contract review does. You pay per call in USDG, and Frugal only takes a cut of what it saves you.

Live simulator

Watch it pick.

Choose a task. Frugal checks how hard it is, walks up the model ladder and stops at the first one good enough. Lower the safety margin to save more, and watch what happens when it cuts too close.

Tasksdifficulty

Safety margin+5
Extra quality points above what the task needs.

Model ladder · example modelsquality · cost per call

Pick a task.
0tasks
$0.00always biggest model
$0.00with Frugal, fee included
0retries one step up
// routing decisions show up here
Simulated in your browser: model names, prices and quality scores are made-up examples. No real calls or payments.
How it works

Small first. Big when it matters.

01
Send the task

Your agent calls one endpoint instead of picking a model itself.

02
Size it up

Frugal estimates how hard the task is from its type, length and the quality you ask for.

03
Climb the ladder

It picks the cheapest model above the bar. If the answer fails a check, it retries one step up.

04
Pay per call

One USDG payment with x402: the model's price plus 20% of what you saved. No saving, no fee.

Rules

Thrifty, not cheap.

Quality first

You set the minimum quality. Frugal never routes below it to save a cent.

Fee only on savings

If the biggest model was the right one, you pay its price and nothing more.

Retries are on us

When a small model's answer fails a check, the retry one step up isn't charged the fee.

Pin when you want

Force a model for any task type. Frugal steps aside.

Every choice logged

Which model, why, what it cost and what it would have cost. Per call.

No ETH, no token

Pay in USDG with x402. The facilitator pays gas. There's no Frugal token.

API

One endpoint for every model.

request

POST https://api.frugal.example/run
{
  "task": "summarize",
  "input": "…email text…",
  "min_quality": 65
}
← 402 · 0.045¢ + fee  // agent pays in USDG

response

{
  "output": "…summary…",
  "model": "wren",
  "cost": "0.045¢",
  "biggest_model_cost": "2.7¢",
  "saved": "2.655¢",
  "fee": "0.531¢",
  "escalated": false
}
FAQ

Questions

How does Frugal know a task is easy?

From the task type, the input length and the minimum quality you set, plus how often each model passed similar tasks before. Unknown tasks start one step higher.

What if a small model gets it wrong?

Frugal checks the answer's format and runs a quick self-check. If it fails, the task goes one step up the ladder automatically.

Why are the models named Pip, Wren and so on?

They're stand-ins for the size classes Frugal routes between, from tiny to frontier. The names and prices on this page are examples.

Does the agent need ETH?

No. It signs a USDG payment with x402 and the facilitator pays gas.

Is there a token?

No.

Stop paying genius rates
for easy work.

Let every task go to the model it actually needs.