{"uid":"cap_P-K52vOuIcWXv8v9xDQaO","slug":"gedx402-llama-2-7b-chat-fp16-via-x402-5eaaee8f","name":"GEDX402 Llama-2-7B Chat (FP16) via x402","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-2-7b-chat-fp16","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-2-7b-chat-fp16","response":"Hello!"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.082","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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_uAKvGLFUShdbs_OZqfKTf","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.082","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-2-7B-Chat FP16 model, billed per-call in USDC over x402 with no API keys required","exampleAgentPrompt":"Using the Llama-2-7B chat model (no API key needed, paying per-call in USDC), send this conversation — system: 'You are a helpful assistant', user: 'Explain the concept of blockchain in two sentences' — and return up to 200 tokens.","exampleUseCases":null,"resultDescription":"A JSON object containing the model identifier (@cf/meta/llama-2-7b-chat-fp16) and the assistant's generated text response string","failureModes":["Payment not received or insufficient USDC balance — 402 Payment Required","Invalid message role value (not system/user/assistant) — 400 Bad Request","max_tokens exceeds 4096 — 400 validation error","Empty messages array — may return error or empty response","Network timeout on inference for long max_tokens values","Unsupported payment chain — payment rejected if chain not among Base, Polygon, Arbitrum, World, Solana"],"whenToPreferThis":"Choose this endpoint when you need Llama-2-7B-Chat inference without API key management, prefer paying per-call in USDC via x402, want to use stablecoins on Base, Polygon, Arbitrum, World, or Solana, or are building a crypto-native agent pipeline that needs LLM access with on-chain micropayments.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:41:16.479Z","isFirstParty":false}