66trust / 100

Chat

by Aayat AI in AI models & inference

x402 APIFailing, checked 35 min ago

Pay-per-call LLM chat (Mistral Small 3.1 24B): Balanced multilingual model (140+ languages) for writing, reasoning and long inputs. No API key or account. POST JSON {"prompt": "..."} or OpenAI-style {"messages": [{"role": "user", "content": "..."}]}, optional "system", "max_tokens" (up to 1024), "temperature", "json": true. Up to about 20,700 characters of English in. Failed calls are not charged.

POST https://aayatai.com/chat

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
50.0%
Response time
43 ms typical, 43 ms slowest 5%
Last check
35 min ago: Expected HTTP 402, got 410
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://aayatai.com/chat" \
  -H "content-type: application/json" \
  -d '{"prompt":"In one sentence, what is the x402 payment protocol?"}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Faayatai.com%2Fchat
const res = await pay("https://aayatai.com/chat", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"prompt":"In one sentence, what is the x402 payment protocol?"}),
});
console.log(await res.json());

Example input

{
  "prompt": "In one sentence, what is the x402 payment protocol?"
}

Example output

{
  "model": "@cf/mistralai/mistral-small-3.1-24b-instruct",
  "text": "x402 is an open protocol that lets clients pay for HTTP requests with stablecoins using the 402 status code.",
  "usage": {
    "completionTokens": 26,
    "promptTokens": 24
  }
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
35 min agoExpected HTTP 402, got 41041056 ms-
6 h agoPassed40243 ms$0.01