Skip to content
Fourohtwo

GlianaAI

api.glianalabs.com/x402/chat/completions

GlianaAI - pay-per-call AI: LLM chat (OpenAI-compatible), image, video, music, speech - 100+ models, no signup, USDC. This resource: LLM chat — pass any catalog model id in the body (default minimax-m3). Priced PER REQUEST from the model and input you send, from $0.002000; send the body to read its exact price off the 402. https://ai.glianalabs.com

BaseSolanaAnswering
POSThttps://api.glianalabs.com/x402/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://api.glianalabs.com/x402/chat/completions", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"messages":[{"content":"Summarize x402 in one sentence.","role":"user"}],"model":"minimax-m3"}),
});
console.log(await res.json());

Example input

{
  "messages": [
    {
      "content": "Summarize x402 in one sentence.",
      "role": "user"
    }
  ],
  "model": "minimax-m3"
}