Skip to content
Fourohtwo

LLM API with OpenAI-compatible chat completions over x402

llmrt-companion.manhliemcn4euwlu.workers.dev/chat-completion-402

LLM API with OpenAI-compatible chat completions over x402: POST messages, get the reply plus token usage. No API key, no signup.

BaseSolananano:mainnetAnswering
GEThttps://llmrt-companion.manhliemcn4euwlu.workers.dev/chat-completion-402

Uptime50.0% of 2 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://llmrt-companion.manhliemcn4euwlu.workers.dev/chat-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"
}