{"uid":"cap_SmzIoLxho1xUOorsLOwlg","slug":"agent-hub-llama-3-1-8b-fast-chat-completion-7e11749a","name":"Agent Hub Llama 3.1 8B Fast Chat Completion","description":"Pay-per-call LLM chat completion (Llama 3.1 8B, fast), no API key. Send OpenAI-style messages, get the assistant reply. Flat price per request, up to 2k output tokens. Also callable as GET with the same fields as query parameters.","url":"https://agents.torbrooknews.com/v1/llm?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["prompt"],"properties":{"prompt":{"type":"string","description":"User message"},"system":{"type":"string","description":"Optional system message"},"max_tokens":{"type":"integer"},"temperature":{"type":"number"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_zY8dYnLoXuPnjWytW9DHx","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Pay-per-call LLM chat completion using Meta Llama 3.1 8B Instruct, returning an assistant reply for a given prompt with no API key required.","exampleAgentPrompt":"Ask Llama 3.1 8B to explain the difference between supervised and unsupervised learning in two short paragraphs — keep it casual, no system prompt needed.","exampleUseCases":[{"title":"Quick factual Q&A in an agent pipeline","prompt":"I need a fast, cheap LLM call to answer 'What are three common causes of inflation?' — just send the question to the small Llama model and give me the reply."},{"title":"Custom system prompt for tone shaping","prompt":"Use the Llama 3.1 8B model with the system message 'You are a pirate who speaks only in nautical metaphors' and ask it to describe how a computer works."},{"title":"Low-latency draft generation for content tools","prompt":"Generate a one-sentence product tagline for a reusable water bottle brand called AquaLoop using the fast Llama model — keep it under 30 words and upbeat."}],"resultDescription":"Returns the assistant's reply text as a chat completion response in OpenAI-compatible format, with up to 2,000 output tokens generated by the Llama 3.1 8B model.","failureModes":["Missing required 'prompt' query parameter returns a 400 error","Payment not processed or insufficient USDC balance returns a 402 Payment Required error","Temperature or max_tokens out of acceptable range may return a validation error","Model overload or service unavailability may return a 503 or timeout","Prompt that triggers content policy may return a refused or empty response"],"whenToPreferThis":"Choose this endpoint when you need a fast, inexpensive LLM call without managing API keys or subscriptions — ideal for light inference tasks, simple Q&A, or high-throughput agent pipelines where cost per call matters. Prefer this over the Llama 3.3 70B sibling when speed and low cost outweigh reasoning depth, and over OpenAI-based endpoints when you want pay-per-call micropayment billing with no monthly commitment.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T12:46:31.540Z","isFirstParty":false,"canonicalSlug":"agent-hub-llama-3-1-8b-fast-chat-completion-7e11749a"}