{"uid":"cap_6gXBTZA6XRHe3tDqeasAI","slug":"x402-data-api-ai-ask-llama-3-2-3b-q-a-19f11543","name":"x402-data-api AI Ask — Llama 3.2 3B Q&A","description":"Cheap LLM answer (Llama 3.2 3B on Workers AI) for a prompt up to 500 chars. Pay per call, no API key.","url":"https://x402-data-api.sigrunner.workers.dev/ai/ask?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["q"],"properties":{"q":{"type":"string","description":"prompt, max 500 chars"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["answer","model"],"properties":{"model":{"type":"string"},"answer":{"type":"string"}}}}}}},"responseSchema":{"type":"json","example":{"model":"llama-3.2-3b-instruct","answer":"x402 is an HTTP 402-based micropayment protocol."}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_kr4Zk3HN-mKnfEu52XOaJ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Answers a natural language prompt (up to 500 chars) using Llama 3.2 3B on Cloudflare Workers AI, billed per call via x402 micropayment at $0.002 USDC","exampleAgentPrompt":"Ask the AI: what is the x402 payment protocol and how does it work? Keep the answer concise.","exampleUseCases":[{"title":"Quick factual lookup in agent pipeline","prompt":"Ask the AI: what is the capital of France and what is its population? I need a short answer."},{"title":"Explain a technical concept briefly","prompt":"Ask the AI to explain what a smart contract is in two sentences or less — I need it for a quick summary."},{"title":"Reasoning question for automated workflow","prompt":"Ask the AI: if I have 3 apples and give away 1, then buy 4 more, how many do I have? Show your reasoning."}],"resultDescription":"A JSON object containing the model identifier (e.g. 'llama-3.2-3b-instruct') and the generated answer text string from the LLM in response to the submitted prompt.","failureModes":["Prompt exceeds 500 characters — request may be rejected or truncated","Payment not included or incorrect amount — 402 payment required error returned","Network timeout if Workers AI inference is slow","Empty or malformed 'q' query parameter — likely returns error or empty answer","Model hallucination — small 3B model may produce inaccurate answers for complex queries"],"whenToPreferThis":"Choose this endpoint when you need a cheap, keyless, single-call LLM answer for short prompts (under 500 chars) and want to pay per use via x402 micropayment at $0.002 USDC. Prefer it over larger model endpoints when latency and cost are priorities over answer depth or accuracy, and when you don't want to manage API keys or subscriptions. Not suitable for long-context tasks, multi-turn conversations, or prompts requiring high accuracy from a large model.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-16T06:41:09.447Z","isFirstParty":false,"canonicalSlug":"x402-data-api-ai-ask-llama-3-2-3b-q-a-19f11543"}