22trust / 100

Chat Premium

by Aayat AI in AI models & inference

x402 APIFailing, checked 4 h ago

Pay-per-call LLM chat (Llama 3.3 70B): Strongest model for harder reasoning, coding and careful writing; supports JSON output. No API key or account. POST JSON {"prompt": "..."} or OpenAI-style {"messages": [{"role": "user", "content": "..."}]}, optional "system", "max_tokens" (up to 1536), "temperature", "json": true. Up to about 36,000 characters of English in. Failed calls are not charged.

POST https://aayatai.com/chat/premium

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
7.1%
Response time
635 ms typical, 635 ms slowest 5%
Last check
4 h 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/premium" \
  -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%2Fpremium
const res = await pay("https://aayatai.com/chat/premium", {
  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/meta/llama-3.3-70b-instruct-fp8-fast",
  "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
4 h agoExpected HTTP 402, got 410410129 ms-
8 h agoExpected HTTP 402, got 410410174 ms-
13 h agoExpected HTTP 402, got 410410219 ms-
17 h agoExpected HTTP 402, got 410410145 ms-
21 h agoExpected HTTP 402, got 41041099 ms-
25 h agoExpected HTTP 402, got 41041037 ms-
29 h agoExpected HTTP 402, got 410410145 ms-
33 h agoExpected HTTP 402, got 410410318 ms-
38 h agoExpected HTTP 402, got 410410128 ms-
42 h agoExpected HTTP 402, got 410410107 ms-
46 h agoExpected HTTP 402, got 410410133 ms-
2 days agoExpected HTTP 402, got 410410108 ms-
2 days agoExpected HTTP 402, got 41041035 ms-
2 days agoPassed402635 ms$0.03