{"uid":"cap_oNupWAZQi6kmYgc_RAQtw","slug":"gedx402-chat-x402-pay-per-call-llm-2f559413","name":"GEDX402 Chat – x402 Pay-Per-Call LLM","description":"Balanced chat tier on Llama 3.2 3B Instruct (@cf/meta/llama-3.2-3b-instruct). POST messages[] with optional max_tokens; dynamic USDC pricing from input/output neurons.","url":"https://chat.gedx402.com/v1/chat","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"messages":{"type":"array","items":{"type":"object"}},"max_tokens":{"type":"integer"}}},"responseSchema":null,"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_np3fSouYiU-pXByXLHd0w","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":"Send a chat conversation to a Cloudflare Workers AI LLM (Llama 3.2 3B) and receive an AI-generated reply, paying per call with USDC via the x402 protocol — no API key required.","exampleAgentPrompt":"Using the x402 pay-per-call chat endpoint (no API key needed, pays $0.008 USDC on Base), send this conversation: system says 'You are a helpful assistant', user asks 'What is the capital of France?' — limit the reply to 100 tokens.","exampleUseCases":null,"resultDescription":"A JSON object containing the model identifier (e.g. '@cf/meta/llama-3.2-3b-instruct') and a 'response' string with the AI-generated assistant reply text.","failureModes":["Payment not received or insufficient USDC balance — 402 Payment Required response","Invalid message format (missing role or content) — 400 Bad Request","max_tokens out of range (must be 1–4096) — validation error","Network or Cloudflare Workers AI upstream failure — 5xx error","Unsupported payment chain — payment rejected"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, key-free LLM inference call paid via USDC micropayment on Base, Polygon, Arbitrum, World, or Solana. Ideal for agents that support the x402 payment protocol and want to avoid API key management overhead. Best suited for short-to-medium generation tasks using Llama 3.2 3B.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:30:57.325Z","isFirstParty":false}