{"uid":"cap_BMGkEa3_3BUJQfPNA7aaX","slug":"ged-x402-smart-chat-llama-3-1-1becf69b","name":"GED X402 Smart Chat (Llama 3.1)","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/smart","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.1-8b-instruct-fast","response":"Hello!"}},"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_rrnvS4SezquUAGbYJ4WGz","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":"Send a multi-turn conversation to a Llama 3.1 8B model hosted on Cloudflare Workers AI, paying per-call in USDC via x402 with no API key required.","exampleAgentPrompt":"Ask the AI: 'Explain the difference between proof-of-work and proof-of-stake in simple terms' — send it as the user message, limit the reply to 300 tokens, and pay using USDC on Base.","exampleUseCases":null,"resultDescription":"A JSON object containing the assistant's generated reply text and the model identifier used (e.g. '@cf/meta/llama-3.1-8b-instruct-fast').","failureModes":["Payment not received or insufficient USDC — 402 response with payment instructions","max_tokens out of range (must be 1–4096) — request rejected","Malformed messages array missing required 'role' or 'content' fields — validation error","Unsupported blockchain network for USDC payment — payment fails","Model inference timeout on Cloudflare Workers — 500 or timeout error"],"whenToPreferThis":"Choose this endpoint when you need on-demand LLM completions with no API key or subscription, paying only per call in USDC via the x402 protocol. Ideal for agents that want crypto-native AI access across Base, Polygon, Arbitrum, World, or Solana without managing API credentials.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:42:14.951Z","isFirstParty":false}