LLM inference proxy (Pro tier)
agent402.tools/api/llm-pro
LLM inference proxy (Pro tier) - GPT-4o or GPT-4.1 (or gpt-6.1-sol by its id). Supports vision (up to 2 image URLs) and structured output (response_format: json_object or json_schema). No API key needed; pay per call via x402. Input capped at 16k chars, output at 2048 tokens.
POST
https://agent402.tools/api/llm-proUptimeNot checked yet
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
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://agent402.tools/api/llm-pro", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"model":"gpt-4o","messages":[{"role":"user","content":"Say hello in one sentence."}],"max_tokens":64}),
});
console.log(await res.json());Example input
{
"model": "gpt-4o",
"messages": [
{
"role": "user",
"content": "Say hello in one sentence."
}
],
"max_tokens": 64
}