agents.writerslogic.com/api/v1/chat-fast
OpenAI-style chat completion served by the hub's provider router (small, fast model, up to 8000 input tokens and 1024 output tokens per call), with a signed receipt that binds the provider, model, token usage and the hashes of your messages and the reply. Supports optional strict json_schema output returned both parsed and as a string. Does not stream, call tools or functions, accept images, or us
POST
https://agents.writerslogic.com/api/v1/chat-fastUptime100% 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://agents.writerslogic.com/api/v1/chat-fast", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"messages":[{"role":"system","content":"Answer in one sentence."},{"role":"user","content":"What does an x402 receipt prove?"}],"max_tokens":200}),
});
console.log(await res.json());Example input
{
"messages": [
{
"role": "system",
"content": "Answer in one sentence."
},
{
"role": "user",
"content": "What does an x402 receipt prove?"
}
],
"max_tokens": 200
}