{"uid":"cap_r_z5Artnhrei9bNG3LXtm","slug":"money-reactor-ai-chat-completion-llama-3-1-via-x402-860f3ddd","name":"Money Reactor AI Chat Completion (Llama 3.1 via x402)","description":"60+ agent-native micro APIs paid per call in USDC on Base via x402: fresh market data every call (market cap, top movers, funding rates, orderbook, RSI trading checklist, volatility, cycle position), funded bounty radar, honeypot trust scoring, token safety verdicts, AI chat (Llama 3.1), web reader, ERC-20 balances. No accounts, no API keys — instant on-chain settlement.","url":"https://mr-river3.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.1","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.1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_HzQgzVfzd_3Af_cB1BiUz","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","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, returning the model reply and token usage — no API key required.","exampleAgentPrompt":"Ask the Llama 3.1 model on Money Reactor: 'What are three practical use cases for AI agents that pay APIs with on-chain USDC?' — pay the $0.05 USDC per-call fee automatically and return the reply along with token usage.","exampleUseCases":[{"title":"On-chain LLM for autonomous agent reasoning","prompt":"I need my agent to ask Llama 3.1 'Summarize the key risks of a smart contract reentrancy attack in two sentences' and pay for it automatically with USDC on Base — no API keys, just submit the prompt and return the answer."},{"title":"Pay-per-call crypto Q&A bot","prompt":"Have the AI answer this user question using Llama 3.1 via Money Reactor: 'How does the x402 payment protocol work for AI agents?' — charge $0.05 USDC per call and give me back the full reply and how many tokens were used."},{"title":"Keyless LLM inference in automated pipeline","prompt":"Run this prompt through Llama 3.1 without me setting up any API credentials: 'Generate a one-paragraph explanation of Base blockchain suitable for a beginner' — settle the payment in USDC on Base and return what the model says."}],"resultDescription":"A JSON object containing the model identifier (@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 prompt property in request body — returns 400 Bad Request","Cloudflare Workers AI upstream timeout — returns 503 or gateway error","x402 facilitator settlement failure — payment not confirmed, request rejected","Rate limiting or quota exceeded on the underlying Workers AI model"],"whenToPreferThis":"Choose this endpoint when your agent needs LLM text generation without managing API keys or account credentials, and can pay per-call in USDC on Base via x402. It is ideal for autonomous agent pipelines that require keyless, on-chain-settled inference at $0.05 per call. Prefer it over OpenAI or Anthropic endpoints when you want crypto-native micropayment settlement with no subscription overhead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-19T12:31:36.363Z","isFirstParty":false,"canonicalSlug":"money-reactor-ai-chat-completion-llama-3-1-via-x402-860f3ddd"}