Single-turn text completion over x402
llmrt-companion.manhliemcn4euwlu.workers.dev/llm-completion-402
Single-turn text completion over x402: POST a prompt, get generated text plus token usage. No API key.
GET
https://llmrt-companion.manhliemcn4euwlu.workers.dev/llm-completion-402Uptime0.0% 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
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://llmrt-companion.manhliemcn4euwlu.workers.dev/llm-completion-402?model=deepseek%2Fdeepseek-v4-flash&prompt=Reply+with+OK&system=You+are+a+helpful+assistant.&max_tokens=16");
console.log(await res.json());Example input
{
"model": "deepseek/deepseek-v4-flash",
"prompt": "Reply with OK",
"system": "You are a helpful assistant.",
"max_tokens": "16"
}