{"uid":"cap_IaQv00n1f6folO9R9d7f1","slug":"gedx402-workers-ai-chat-0152e93b","name":"GEDX402 Workers AI Chat","description":"x402 workers ai. pay with usdc on base, polygon, arbitrum, world, or solana. no api keys.","url":"https://ged-x402-chat.jvalamis.workers.dev/v1/chat","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"messages":{"type":"array","items":{"type":"object"}},"max_tokens":{"type":"integer"}}},"responseSchema":{"type":"json","example":{"model":"@cf/meta/llama-3.2-3b-instruct","response":"Hello!"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.008","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.008/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_1KxyCd4mboO4eL6r6KGXg","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.008","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.2 3B chat completion via Cloudflare Workers AI, paid per-call with USDC on multiple chains using x402, no API key required.","exampleAgentPrompt":"Send this conversation to the Llama 3.2 Workers AI chat endpoint — system: 'You are a helpful assistant', user: 'Explain quantum entanglement in two sentences' — and limit the reply to 200 tokens, paying with USDC.","exampleUseCases":null,"resultDescription":"A JSON object containing the model identifier (@cf/meta/llama-3.2-3b-instruct) and a 'response' string with the assistant's generated reply text.","failureModes":["Payment not included or insufficient USDC — returns HTTP 402 Payment Required","Invalid message array format or missing required role/content fields — returns 400 Bad Request","max_tokens out of range (must be 1–4096) — validation error","Network timeout or Workers runtime error — returns 5xx","Unsupported payment chain — payment rejected"],"whenToPreferThis":"Choose this endpoint when you need a lightweight chat completion from Llama 3.2 3B without registering for API keys, and want to pay per-call using USDC on Base, Polygon, Arbitrum, World, or Solana via the x402 protocol. Ideal for agents operating in crypto-native environments or experimenting with pay-per-use AI inference.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:44:11.841Z","isFirstParty":false}