{"uid":"cap_nf5xDxrdTQqnE5ujE-V-p","slug":"money-reactor-ai-chat-completion-llama-3-1-via-x402-a1283f71","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-river7.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_9MZobQg0YHAukoySWJD19","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 account or API key required.","exampleAgentPrompt":"Ask Llama 3.1 this question for me and pay the $0.05 USDC fee per call: 'What are the key differences between proof-of-work and proof-of-stake blockchains?'","exampleUseCases":[{"title":"On-chain LLM for autonomous agent","prompt":"My trading bot needs to summarize a market update in plain English — use the Llama 3.1 chat endpoint that takes USDC on Base per call, no API keys, and ask it: 'Summarize in 2 sentences why ETH dropped 8% today.'"},{"title":"Crypto-native Q&A without subscriptions","prompt":"I don't want to set up any accounts — just pay $0.05 in USDC and ask Llama 3.1: 'What is the x402 payment protocol and how do AI agents use it?'"},{"title":"Automated content generation in agent pipeline","prompt":"In my content pipeline, generate a short product description using Llama 3.1 — pay per call with on-chain USDC — with this prompt: 'Write a 50-word description for a DeFi portfolio tracker app.'"}],"resultDescription":"A JSON object containing the model identifier (@cf/meta/llama-3.1-8b-instruct), the AI-generated reply text, and token usage statistics (prompt_tokens and completion_tokens).","failureModes":["Insufficient USDC balance in x402 wallet causes 402 Payment Required error","Malformed or missing prompt property returns a 400 Bad Request","Cloudflare Workers AI backend timeout returns a 503 error","Overly long prompt exceeding context window may truncate or error","Network issues with the workers.dev edge host may cause intermittent failures"],"whenToPreferThis":"Choose this endpoint when your AI agent needs on-demand LLM inference with zero account setup, paying per call in USDC on Base via the x402 protocol. It is ideal for autonomous agents that need to self-fund API calls without pre-negotiated API keys, or for developers prototyping agent workflows who want instant access to Llama 3.1 8B without subscription overhead. Prefer alternatives (OpenAI, Anthropic direct APIs) when you need larger context windows, higher throughput, or more capable models.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-18T00:43:32.259Z","isFirstParty":false,"canonicalSlug":"money-reactor-ai-chat-completion-llama-3-1-via-x402-a1283f71"}