Skip to content
Fourohtwo

Cheap AI chat and LLM inference

chat.madebydevx.com/v1/chat/completions

Cheap AI chat and LLM inference: OpenAI-compatible chat completions API (POST /v1/chat/completions) on Llama 3.1 8B Instruct. $0.002 USDC per call on Base via x402, no API key. For agents, chatbots and LLM apps. Max 512 completion tokens. Pay once, get the completion immediately. By DevX.

BaseAnswering
POSThttps://chat.madebydevx.com/v1/chat/completions

Uptime100% 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://chat.madebydevx.com/v1/chat/completions", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({}),
});
console.log(await res.json());

Example input

{}