Skip to content
Fourohtwo

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

OpenAI-compatible chat completions endpoint (POST JSON {model, messages, max_tokens, temperature}). Point an OpenAI SDK base URL at /api/v1 behind an x402 fetch wrapper. Any of: gpt-oss-120b (default), gpt-oss-20b, llama-3.3-70b, llama-3.1-8b, mistral-small-3.1, qwen2.5-coder-32b, llama-4-scout. Up to 1,500 output tokens, 16k chars input. No streaming. Failed model calls are not charged.

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

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/v1/chat/completions?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?"
}