{"uid":"cap_mVFQHGHYQbjmnq5ozyOG9","slug":"money-reactor-ai-chat-completion-llama-3-1-via-x402-fd337e69","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-river4.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_mqpjxf5fGKNYl9RDnoGwh","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 Meta Llama 3.1 8B, paid per call in USDC on Base via x402 — no API keys required.","exampleAgentPrompt":"Ask the AI chat endpoint: 'Explain how the x402 payment protocol works for AI agents' — pay per call with USDC on Base, no API key needed.","exampleUseCases":[{"title":"Keyless LLM for autonomous agent","prompt":"I need my agent to answer user questions using Llama 3.1 without me setting up API keys — can it just pay a few cents in USDC per call and get back an AI reply?"},{"title":"One-off crypto concept explanation","prompt":"Ask the AI: 'What is the difference between a hot wallet and a cold wallet?' — just pay per call, I don't want to sign up for anything."},{"title":"Agent reasoning step in a workflow","prompt":"My agent needs to summarize this paragraph mid-workflow: 'DeFi protocols allow permissionless lending and borrowing via smart contracts.' Can it call a pay-per-use Llama model and get the summary back instantly?"}],"resultDescription":"Returns 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":["Payment not included or insufficient USDC — 402 Payment Required returned","Malformed request body — missing or invalid prompt field returns an error","Cloudflare Worker timeout if inference takes too long","On-chain payment settlement failure due to network congestion on Base","Empty or nonsensical prompt producing low-quality or empty reply"],"whenToPreferThis":"Choose this endpoint when your agent needs on-demand LLM inference without API key management or subscription commitments, particularly in autonomous or multi-agent workflows where per-call USDC micro-payments via x402 are preferable to pre-negotiated credentials. Best suited for low-to-medium frequency one-off inference calls where the $0.05/call cost is acceptable and keyless on-chain settlement is a feature, not a constraint.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-18T00:42:13.140Z","isFirstParty":false,"canonicalSlug":"money-reactor-ai-chat-completion-llama-3-1-via-x402-fd337e69"}