25trust / 100

Chat Fast

by Aayat AI in AI models & inference

x402 APIFailing, checked 2 h ago

Pay-per-call LLM chat (Llama 3.2 3B): Fast, cheap model for classification, extraction, short answers and routing. 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 15,000 characters of English in. Failed calls are not charged.

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

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
6.7%
Response time
581 ms typical, 581 ms slowest 5%
Last check
2 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/fast" \
  -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%2Ffast
const res = await pay("https://aayatai.com/chat/fast", {
  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.2-3b-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
2 h agoExpected HTTP 402, got 41041098 ms-
6 h agoExpected HTTP 402, got 41041054 ms-
11 h agoExpected HTTP 402, got 410410151 ms-
15 h agoExpected HTTP 402, got 410410160 ms-
19 h agoExpected HTTP 402, got 410410115 ms-
23 h agoExpected HTTP 402, got 41041034 ms-
27 h agoExpected HTTP 402, got 410410126 ms-
31 h agoExpected HTTP 402, got 410410290 ms-
35 h agoExpected HTTP 402, got 410410176 ms-
40 h agoExpected HTTP 402, got 410410147 ms-
43 h agoExpected HTTP 402, got 41041045 ms-
2 days agoExpected HTTP 402, got 41041036 ms-
2 days agoExpected HTTP 402, got 41041036 ms-
2 days agoExpected HTTP 402, got 41041052 ms-
2 days agoPassed402581 ms$0.003