{"uid":"cap_YSkMI2RkWWCJt7IiLxNc8","slug":"gedx402-llama-2-7b-chat-x402-no-api-key-80444004","name":"GEDX402 Llama-2-7B Chat (x402, no API key)","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/llm/llama-2-7b-chat-fp16","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-2-7b-chat-fp16","response":"Hello!"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.082","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.082/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.082","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.082","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_o6zKS-Wf1TAnztTIu441V","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.082","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Runs a Llama-2-7B-Chat-FP16 inference call via Cloudflare Workers AI, paid per-call with USDC on-chain using x402 — no API key required.","exampleAgentPrompt":"Ask the Llama-2-7B model (paying with USDC): 'You are a helpful assistant. Explain quantum entanglement in simple terms.' — limit the reply to 512 tokens.","exampleUseCases":null,"resultDescription":"A JSON object with the model name (@cf/meta/llama-2-7b-chat-fp16) and the generated assistant reply text string.","failureModes":["Payment not received or insufficient USDC balance — 402 Payment Required with x402 payment details","Invalid messages array (missing role or content fields) — 400 Bad Request","max_tokens out of range (must be 1–4096) — 400 validation error","Model overloaded or Workers AI backend error — 500 or 503","Unsupported payment network — payment rejected before inference runs"],"whenToPreferThis":"Choose this endpoint when you need Llama-2-7B-Chat inference without managing API keys or subscriptions, and you can pay per-call with USDC on Base, Polygon, Arbitrum, World, or Solana via the x402 protocol. Ideal for agents operating in crypto-native environments or where traditional API credentials are impractical.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:39:46.890Z","isFirstParty":false}