{"uid":"cap_4Bee1VbCTI88d20L23sPB","slug":"gedx402-llama-3-1-8b-instruct-x402-pay-per-call-a7739678","name":"GEDX402 Llama 3.1 8B Instruct (x402 Pay-Per-Call)","description":"x402 workers ai. pay with usdc on base, polygon, arbitrum, world, or solana. no api keys.","url":"https://chat.gedx402.com/v1/llm/llama-3.1-8b-instruct","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"messages":{"type":"array","items":{"type":"object","required":["role","content"],"properties":{"role":{"enum":["system","user","assistant"],"type":"string","description":"Speaker role for this turn."},"content":{"type":"string","description":"Message text for this turn."}}},"description":"Conversation turns in order (system, user, assistant)."},"max_tokens":{"type":"integer","maximum":4096,"minimum":1,"description":"Maximum tokens to generate in the assistant reply."}}},"responseSchema":{"type":"json","example":{"model":"@cf/meta/llama-3.1-8b-instruct","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_Daa2sl3oi-NIRFlnkHh2q","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Runs inference on Meta's Llama 3.1 8B Instruct model via Cloudflare Workers AI, billed at $0.02 USDC per call with no API key required","exampleAgentPrompt":"Ask the Llama 3.1 8B model to explain how photosynthesis works — keep the reply under 200 tokens — and pay the $0.02 USDC fee from my Base wallet, no API key needed.","exampleUseCases":null,"resultDescription":"A JSON object containing the model identifier (@cf/meta/llama-3.1-8b-instruct) and a response string with the generated assistant reply.","failureModes":["Payment not received or insufficient USDC balance — 402 response requiring x402 payment header","Invalid messages array format (missing required role or content fields) — 400 validation error","max_tokens exceeds 4096 — validation error","Empty or malformed request body — 400 bad request","Model temporarily unavailable on Cloudflare Workers AI — 503 or 500 error","Unsupported blockchain network for payment — payment rejected"],"whenToPreferThis":"Choose this endpoint when you need LLM inference without registering for an API key, want to pay per-call in USDC via the x402 protocol on Base, Polygon, Arbitrum, World, or Solana, and the 8B parameter Llama 3.1 Instruct model is sufficient for the task. Ideal for agents operating in crypto-native or permissionless environments where traditional API key management is undesirable.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:42:32.214Z","isFirstParty":false}