# Agent Hub Llama 3.1 8B Fast Chat Completion

> Agent Hub Llama 3.1 8B Fast Chat Completion is a paid API for AI agents from agents.torbrooknews.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-13).

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.

## Facts

- Endpoint: GET https://agents.torbrooknews.com/v1/llm?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-hub-llama-3-1-8b-fast-chat-completion-7e11749a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_SmzIoLxho1xUOorsLOwlg

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability agent-hub-llama-3-1-8b-fast-chat-completion-7e11749a
```

Example prompt: 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.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

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.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "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"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-hub-llama-3-1-8b-fast-chat-completion-7e11749a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.torbrooknews.com](https://www.zero.xyz/host/agents.torbrooknews.com/llms.txt)
