Skip to content
Fourohtwo

LLM chat completion on open-weight models

nightshift-agent.solaris-organization.workers.dev/api/chat

LLM chat completion on open-weight models: gpt-oss-20b (default), llama-3.1-8b, mistral-small-3.1-24b. Send prompt (string) or OpenAI-style messages. Up to 1,500 output tokens and 12k chars of input per call. Returns an OpenAI-compatible chat.completion. Runs on Cloudflare Workers AI. Not charged if the model call fails.

BaseAnswering
GEThttps://nightshift-agent.solaris-organization.workers.dev/api/chat

Uptime100% 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://nightshift-agent.solaris-organization.workers.dev/api/chat?prompt=In+two+sentences%2C+what+is+the+x402+payment+protocol%3F");
console.log(await res.json());

Example input

{
  "prompt": "In two sentences, what is the x402 payment protocol?"
}