{"uid":"cap_ffEi4QkRLGJRDBZTvXc1u","slug":"money-reactor-ai-chat-completion-llama-3-1-via-x402-029b4a78","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-river5.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_1PD7TH7Nu9T79apbQenDR","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, with no API keys or accounts required.","exampleAgentPrompt":"Ask the AI chat endpoint what x402 is and how an agent can pay an API per call using on-chain USDC — I want the answer back as plain text with token usage info.","exampleUseCases":[{"title":"Agent reasoning without an API account","prompt":"I need you to ask the Llama chat model: 'What are the top three risks of holding a single-asset crypto portfolio?' — pay per call in USDC, no API key needed."},{"title":"Inline Q&A inside an automated workflow","prompt":"My agent pipeline needs to answer a user's question: 'How does the Base blockchain differ from Ethereum mainnet?' — use the pay-per-call LLM so I don't have to manage API subscriptions."},{"title":"Testing x402 micropayment-gated inference","prompt":"Send the prompt 'Explain what a honeypot token is in one sentence' to the Llama 3.1 chat model and show me the reply plus how many tokens were used."}],"resultDescription":"Returns a JSON object containing the model identifier (e.g. '@cf/meta/llama-3.1-8b-instruct'), a 'reply' string with the generated text response, and a 'usage' object reporting prompt_tokens and completion_tokens consumed.","failureModes":["Insufficient USDC balance or missing x402 payment header returns HTTP 402 Payment Required","Malformed request body or missing prompt field returns a 4xx error","Cloudflare Workers AI service unavailability results in a 5xx error","Token limit exceeded for very long prompts may truncate or error","Network latency on the Base blockchain settlement path may occasionally delay response"],"whenToPreferThis":"Choose this endpoint when your agent needs on-demand LLM inference with zero account setup and per-call USDC micropayment settlement via x402. It is ideal for autonomous agents that must pay atomically for each inference call without holding API credentials, or for developers testing x402 payment-gated AI APIs. Prefer alternatives (OpenAI, Anthropic direct APIs) when you need GPT-4-class capability, function calling, vision, or volume discounts.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-18T00:56:47.044Z","isFirstParty":false,"canonicalSlug":"money-reactor-ai-chat-completion-llama-3-1-via-x402-029b4a78"}