Skip to content
Fourohtwo

LLM cost scout

api.proxyllm.ai/x402/llm-cost-scout

LLM cost scout: send your monthly OpenAI API spend in USD and get back the flat ChatGPT/Codex subscription tier that absorbs it through the ProxyLLM gateway, the exact new monthly total and savings, the live model catalog, and machine-readable signup steps an agent can complete autonomously (email OTP, no browser).

BaseAnswering
POSThttps://api.proxyllm.ai/x402/llm-cost-scout

Uptime100% of 4 checks 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://api.proxyllm.ai/x402/llm-cost-scout", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"monthly_openai_bill_usd":{"description":"Current monthly OpenAI API spend in USD","required":true,"type":"number"}}),
});
console.log(await res.json());

Example input

{
  "monthly_openai_bill_usd": {
    "description": "Current monthly OpenAI API spend in USD",
    "required": true,
    "type": "number"
  }
}