{"uid":"cap_9oXChnSoitpBZrniANpMX","slug":"money-reactor-ai-chat-completion-llama-3-1-x402-901203e6","name":"Money Reactor AI Chat Completion (Llama 3.1, x402)","description":"22 agent-native micro APIs paid per call in USDC on Base via x402: funded bounty radar, honeypot trust scoring, token safety verdicts, crypto prices, multi-asset price snapshots, fear &amp; greed index, full market-pulse snapshot, AI chat completion (Llama 3.1), crypto news, weather, web reader, ERC-20 balances. No accounts, no API keys — instant on-chain settlement.","url":"https://money-reactor-spare5.makar52nn2016.workers.dev/api/ai-chat?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"properties":{"type":"string"}}},"responseSchema":{"type":"json","example":{"model":"@cf/meta/llama-3.1-8b-instruct","reply":"x402 lets an AI agent pay an API per call with on-chain USDC — no signup, the payment travels in the HTTP header.","usage":{"prompt_tokens":14,"completion_tokens":31}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_5SJBzS1UD25_xPLnzFA2x","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Runs a Llama 3.1 8B chat completion request paid per-call in USDC on Base via x402 — no API keys or accounts required.","exampleAgentPrompt":"Ask the Llama 3.1 AI chat endpoint: 'What are the key differences between proof-of-work and proof-of-stake blockchains?' — pay the $0.05 USDC per-call fee on Base, no signup needed.","exampleUseCases":[{"title":"Permissionless LLM Q&A for agents","prompt":"Use the Llama 3.1 chat API to answer this question for me without any API key: 'Explain how smart contract audits work and what auditors look for.'"},{"title":"Crypto-native AI summarization","prompt":"Send this paragraph to the Llama 3.1 chat endpoint and ask it to summarize it in three bullet points, paying with USDC on Base: 'DeFi protocols rely on automated market makers to provide liquidity without centralized order books...'"},{"title":"Agent-to-agent LLM reasoning step","prompt":"My agent needs to classify this user message as either a support request, a feature request, or a complaint — ask Llama 3.1 via the x402 chat API and return the category and a one-sentence justification: 'The app keeps crashing whenever I try to export my data.'"}],"resultDescription":"Returns a JSON object containing the model name (@cf/meta/llama-3.1-8b-instruct), the AI-generated reply string, and a usage object with prompt_tokens and completion_tokens counts.","failureModes":["Insufficient USDC balance in x402 payment header — returns HTTP 402 Payment Required","Malformed or missing request body — returns 400 Bad Request","Llama model inference timeout or Cloudflare Workers AI backend error — returns 500","On-chain payment settlement failure on Base — transaction may be rejected","Prompt too long exceeding model context window — truncation or error response"],"whenToPreferThis":"Choose this endpoint when you need permissionless, pay-per-call LLM inference with no account setup, no monthly subscription, and on-chain USDC settlement via the x402 protocol on Base. It is ideal for AI agents that need to make sporadic or unpredictable numbers of LLM calls without committing to a subscription, or for crypto-native workflows where stablecoin micropayments are preferred over credit card billing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-13T00:38:57.347Z","isFirstParty":false,"canonicalSlug":"money-reactor-ai-chat-completion-llama-3-1-x402-901203e6"}