LLM inference and AI chat completions billed per token
llmrt-companion.manhliemcn4euwlu.workers.dev/chat-metered-402
LLM inference and AI chat completions billed per token: the 402 quotes your input tokens plus your declared max_tokens, and you pay for what the call actually uses. OpenAI-compatible, no signup, no API key.
GET
https://llmrt-companion.manhliemcn4euwlu.workers.dev/chat-metered-402Uptime100% 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://llmrt-companion.manhliemcn4euwlu.workers.dev/chat-metered-402?prompt=Reply+with+OK&system=You+are+a+helpful+assistant.&max_tokens=16");
console.log(await res.json());Example input
{
"prompt": "Reply with OK",
"system": "You are a helpful assistant.",
"max_tokens": "16"
}