{"uid":"cap_JyhJPD-_3teoMscfYAYCZ","slug":"aayat-ai-llm-chat-gateway-a1182c80","name":"Aayat AI LLM Chat Gateway","description":"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.","url":"https://aayatai.com/chat?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"json":{"type":"boolean","default":false,"description":"Ask for JSON-only output."},"prompt":{"type":"string","maxLength":27600,"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":1024,"minimum":1,"description":"Most tokens to generate (default 512)."},"temperature":{"type":"number","default":0.3,"maximum":2,"minimum":0,"description":"Randomness, 0-2."}}},"responseSchema":{"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/google/gemma-3-12b-it","usage":{"promptTokens":24,"completionTokens":26}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_VN-J6TC8eJjwPxeSKQqF1","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Sends a prompt or conversation to a hosted LLM and returns a text completion, with no API key required — pay per call in USDC.","exampleAgentPrompt":"Ask the LLM to explain what x402 is in one paragraph — keep it concise, no more than 100 words, with a temperature of 0.3.","exampleUseCases":[{"title":"On-demand AI reasoning in agent pipeline","prompt":"I need you to use the Aayat AI chat endpoint to ask the LLM: 'What are the top three risks of investing in small-cap crypto tokens?' — give me a focused answer, 200 tokens max, temperature 0.5."},{"title":"System-prompted classification task","prompt":"Use the pay-per-call LLM gateway to classify this customer message as 'complaint', 'question', or 'compliment' — system prompt: 'You are a support classifier. Reply with one word only.' User message: 'Why hasn't my order arrived after two weeks?' Return JSON output."},{"title":"Quick coding help without API key setup","prompt":"I don't have an OpenAI key handy — can you hit the Aayat AI chat endpoint and ask it to write a Python function that validates an Ethereum wallet address? Temperature 0.2, up to 512 tokens."}],"resultDescription":"Returns a JSON object with a 'text' field containing the LLM's response, a 'model' field naming the model used (e.g. '@cf/google/gemma-3-12b-it'), and a 'usage' object with 'promptTokens' and 'completionTokens' counts.","failureModes":["Payment failure or insufficient USDC balance returns HTTP 402","Prompt exceeding 27,600 characters is rejected with a validation error","max_tokens above 1024 or temperature outside 0–2 triggers a schema validation error","Neither 'prompt' nor 'messages' supplied may result in an empty or error response","Model unavailability on the underlying Cloudflare Workers AI backend may cause timeouts or 503 errors"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, account-free LLM inference call paid in USDC via x402 micropayments — ideal for AI agents that cannot store API keys or need to pay programmatically per call. Prefer it over OpenAI or Anthropic direct APIs when avoiding subscription management or when operating in a crypto-native payment environment.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T18:46:30.815Z","isFirstParty":false,"canonicalSlug":"aayat-ai-llm-chat-gateway-a1182c80"}