{"uid":"cap_GslNEeoFgk1iA-wZMXNOh","slug":"gedx402-smart-chat-x402-9ddcaf78","name":"GEDX402 Smart Chat (x402)","description":"Higher-quality chat on Llama 3.1 8B Instruct Fast (@cf/meta/llama-3.1-8b-instruct-fast). POST messages[]; suited for reasoning-heavy turns with dynamic token pricing.","url":"https://chat.gedx402.com/v1/chat/smart","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.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_JEXQmXeMYQqjZRFUaY2av","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Runs a multi-turn AI chat conversation via Cloudflare Workers AI (Llama 3.1 8B) with per-call USDC micropayment, no API key required.","exampleAgentPrompt":"Ask the AI: 'What are three creative names for a coffee shop in Brooklyn?' — send it as a user message with a max of 200 tokens, and pay the $0.02 USDC fee on Base using x402.","exampleUseCases":null,"resultDescription":"A JSON object containing the model name (@cf/meta/llama-3.1-8b-instruct-fast) and the assistant's generated reply text as a string.","failureModes":["Payment not included or insufficient USDC — returns HTTP 402 with payment requirements","Messages array missing required role or content fields — returns 400 validation error","max_tokens exceeds 4096 — returns 400 out-of-range error","Upstream Workers AI model unavailable — returns 502 or 503","Malformed JSON body — returns 400 parse error"],"whenToPreferThis":"Choose this endpoint when you need a quick, no-signup LLM chat call and can pay $0.02 USDC per request via x402 on Base, Polygon, Arbitrum, World, or Solana. Ideal for agents that want to avoid API key management entirely and use stablecoin micropayments for AI inference. The underlying model is Llama 3.1 8B fast, so best for moderate-complexity conversational or generative tasks.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:43:58.304Z","isFirstParty":false}