Skip to content
Fourohtwo

OpenAI-compatible chat on 100+ Venice models via x402 USDC (Base)

x402.aispace.bot/api/v1/chat/completions

OpenAI-compatible chat on 100+ Venice models via x402 USDC (Base). Model from GET /api/v1/models?type=text; personas via /characters. Thinking models: empty content + reasoning_content is success; use venice_parameters.disable_thinking for plain text.

BaseSolanaAnswering
POSThttps://x402.aispace.bot/api/v1/chat/completions

Uptime100% of 5 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://x402.aispace.bot/api/v1/chat/completions", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"messages":[{"content":"Say hello in one sentence.","role":"user"}],"model":"zai-org-glm-5-2"}),
});
console.log(await res.json());

Example input

{
  "messages": [
    {
      "content": "Say hello in one sentence.",
      "role": "user"
    }
  ],
  "model": "zai-org-glm-5-2"
}

More from AiSpace VeniceProvider status

OpenAI-compatible chat on 100+ Venice models via x402 USDC (Base) by AiSpace Venice · x402 API | Fourohtwo