# ZeroReader Llama 4 Scout 17B Chat Completion

> ZeroReader Llama 4 Scout 17B Chat Completion is a paid API for AI agents from api.zeroreader.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-02).

Runs chat completions using Meta's Llama 4 Scout 17B mixture-of-experts model via ZeroReader's API, paid per call with USDC.

## Facts

- Endpoint: POST https://api.zeroreader.com/v1/ai/llama-4-scout?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/zeroreader-llama-4-scout-17b-chat-completion-a7756e88
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_WlhuOnFZzl1YPOdUc0HJC

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 zeroreader-llama-4-scout-17b-chat-completion-a7756e88 -d '<json body>'
```

Example prompt: Send these messages to Llama 4 Scout 17B and get a response: system says 'You are a helpful assistant', user asks 'Explain mixture-of-experts models in simple terms' — use a temperature of 0.7 and limit the output to 512 tokens.

## When to prefer this

Choose this endpoint when you need fast, cost-effective chat completions from the latest Llama 4 architecture with mixture-of-experts efficiency, and you want to pay per-call in USDC without a subscription. Prefer it over DeepSeek R1 for general conversation/generation tasks (not heavy math/logic), and over larger models when latency and cost matter more than maximum capability.

## Known failure modes

- Payment failure if insufficient USDC balance — 402 Payment Required
- Token limit exceeded if max_tokens > 4096 — validation error
- Malformed messages array (missing role or content) — 400 Bad Request
- Temperature out of range (>2 or <0) — 400 Bad Request
- Model overload or timeout — 503 Service Unavailable

## How this service works

Llama 4 Scout 17B — Latest Llama 4 architecture. 17B with 16 experts.

## Output

A chat completion object (OpenAI-compatible format) containing the assistant's generated reply, the finish reason (e.g. 'stop'), and metadata like the completion ID and choice index.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "stream": {
   "type": "boolean",
   "default": false
  },
  "messages": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "role",
     "content"
    ],
    "properties": {
     "role": {
      "enum": [
       "system",
       "user",
       "assistant"
      ],
      "type": "string"
     },
     "content": {
      "type": "string"
     }
    }
   }
  },
  "max_tokens": {
   "type": "integer",
   "default": 1024,
   "maximum": 4096
  },
  "temperature": {
   "type": "number",
   "default": 0.7,
   "maximum": 2,
   "minimum": 0
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "id": "chatcmpl-example",
 "object": "chat.completion",
 "choices": [
  {
   "index": 0,
   "message": {
    "role": "assistant",
    "content": "I'm doing well!"
   },
   "finish_reason": "stop"
  }
 ]
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/zeroreader-llama-4-scout-17b-chat-completion-a7756e88/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.zeroreader.com](https://www.zero.xyz/host/api.zeroreader.com/llms.txt)
