Cheapest Model
siroagent.com/v1/llm-auto
Cheapest Model: Siro picks the cheapest language model that fits your tier, maker and price ceiling, and names it in the quote before you pay. Set a check, and a failed answer is retried on a stronger model at Siro's cost.
POST
https://siroagent.com/v1/llm-autoUptime100% of 1 check in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://siroagent.com/v1/llm-auto", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"json":"no","json_keys":"title, summary","maker":"any","max_price":"0.03","max_tokens":1024,"min_chars":200,"must_include":"risk, price","prompt":"Explain x402 in two sentences.","tier":"fast"}),
});
console.log(await res.json());Example input
{
"json": "no",
"json_keys": "title, summary",
"maker": "any",
"max_price": "0.03",
"max_tokens": 1024,
"min_chars": 200,
"must_include": "risk, price",
"prompt": "Explain x402 in two sentences.",
"tier": "fast"
}