# Aayat AI LLM Chat Gateway

> Aayat AI LLM Chat Gateway is a paid API for AI agents from aayatai.com, paid per call via x402, $0.03/call, status unknown (last checked 2026-10-02).

A pay-per-call LLM chat endpoint that accepts a prompt or conversation and returns a generated text response from a hosted large language model, no API key or account required.

## Facts

- Endpoint: POST https://aayatai.com/chat/premium?utm_source=zero.xyz
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/aayat-ai-llm-chat-gateway-11649a42
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__777M8_vIPLpTCdJYUuwG

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability aayat-ai-llm-chat-gateway-11649a42 -d '<json body>'
```

Example prompt: Ask the LLM: 'Explain how x402 micropayments work for AI agents' — keep the response under 200 tokens with a temperature of 0.3.

## When to prefer this

Choose this endpoint when you need a quick, keyless LLM call paid per-use with USDC on Base or Solana via x402, especially in agent pipelines where managing API keys is impractical. Prefer it over OpenAI or Anthropic direct APIs when you want crypto-native micropayment billing and no account setup. It is best for single-turn or short multi-turn completions up to 1,536 output tokens.

## Known failure modes

- Prompt exceeds 48,000 character limit — request rejected
- messages array exceeds 50 items — request rejected
- max_tokens set above 1536 — request rejected
- Payment not received or insufficient USDC — 402 response, no generation
- Temperature outside 0–2 range — validation error
- Both prompt and messages omitted — ambiguous or empty request
- Model timeout on very long prompts — partial or no response

## How this service works

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.

## Output

Returns a JSON object containing the generated text reply, the model identifier used (e.g. @cf/meta/llama-3.3-70b-instruct-fp8-fast), and token usage stats (promptTokens, completionTokens).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "json": {
   "type": "boolean",
   "default": false,
   "description": "Ask for JSON-only output."
  },
  "prompt": {
   "type": "string",
   "maxLength": 48000,
   "description": "A single user message (use this or messages)."
  },
  "system": {
   "type": "string",
   "maxLength": 8000,
   "description": "System instructions."
  },
  "messages": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "role": {
      "enum": [
       "system",
       "user",
       "assistant"
      ],
      "type": "string"
     },
     "content": {
      "type": "string"
     }
    }
   },
   "maxItems": 50,
   "description": "Conversation so far, OpenAI style: [{role, content}]."
  },
  "max_tokens": {
   "type": "integer",
   "maximum": 1536,
   "minimum": 1,
   "description": "Most tokens to generate (default 512)."
  },
  "temperature": {
   "type": "number",
   "default": 0.3,
   "maximum": 2,
   "minimum": 0,
   "description": "Randomness, 0-2."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "text": "x402 is an open protocol that lets clients pay for HTTP requests with stablecoins using the 402 status code.",
  "model": "@cf/meta/llama-3.3-70b-instruct-fp8-fast",
  "usage": {
   "promptTokens": 24,
   "completionTokens": 26
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/aayat-ai-llm-chat-gateway-11649a42/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from aayatai.com](https://www.zero.xyz/host/aayatai.com/llms.txt)
