{"uid":"cap_p-nbKvIms-vM44sC1fFTE","slug":"money-reactor-ai-chat-completion-llama-3-1-x402-754229cf","name":"Money Reactor AI Chat Completion (Llama 3.1, 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-river2.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_De_96-HnkI8VKY0g4RPRq","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 an AI chat completion using Llama 3.1 8B, paid per call in USDC on Base via x402 — no API keys or accounts required.","exampleAgentPrompt":"Ask the Llama 3.1 model on Money Reactor: 'What are the key differences between proof-of-work and proof-of-stake?' and pay the $0.002 USDC call fee automatically on Base.","exampleUseCases":[{"title":"On-chain agent reasoning step","prompt":"Use the Llama 3.1 chat endpoint to answer this sub-question for my workflow: 'Summarize the trade-offs of using rollups versus sidechains for Ethereum scaling.' Pay the per-call fee in USDC automatically."},{"title":"No-signup LLM prototype","prompt":"I want to test an AI chat response without setting up any API keys — ask Llama 3.1 'Write a one-paragraph product description for a reusable water bottle' and settle the fee on-chain."},{"title":"Agent self-querying with crypto payment","prompt":"Have my AI agent ask the Money Reactor Llama endpoint: 'Given a user's wallet balance of 500 USDC, what DeFi strategies carry the lowest risk?' and pay the 0.002 USDC fee from my Base wallet."}],"resultDescription":"Returns a JSON object containing the model identifier (@cf/meta/llama-3.1-8b-instruct), the AI-generated reply string, and token usage stats (prompt_tokens and completion_tokens).","failureModes":["Insufficient USDC balance in the calling wallet — payment fails, request rejected","Malformed request body — missing or invalid properties field returns an error","Model inference timeout — Cloudflare Workers AI may time out on very long prompts","Payment header missing or invalid x402 format — endpoint returns 402 Payment Required","Rate limits or worker cold-start latency causing intermittent failures"],"whenToPreferThis":"Choose this endpoint when you need a fast, keyless, pay-per-call LLM inference endpoint that settles on-chain in USDC with no account setup — ideal for AI agents that need to autonomously pay for reasoning steps, prototype LLM integrations without subscriptions, or operate in a trustless crypto-native environment. Prefer this over OpenAI or Anthropic APIs when zero-friction on-chain micropayments matter more than model capability breadth.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-18T00:36:04.937Z","isFirstParty":false,"canonicalSlug":"money-reactor-ai-chat-completion-llama-3-1-x402-754229cf"}