# Money Reactor AI Chat Completion (Llama 3.1, x402)

> Money Reactor AI Chat Completion (Llama 3.1, x402) is a paid API for AI agents from mr-river6.makar52nn2016.workers.dev, paid per call via x402, $0.05/call, status unknown (last checked 2026-11-18).

Runs a Llama 3.1 8B chat completion request paid per-call in USDC on Base via x402, with no API keys or accounts required.

## Facts

- Endpoint: POST https://mr-river6.makar52nn2016.workers.dev/api/ai-chat?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/money-reactor-ai-chat-completion-llama-3-1-x402-4688f0ed
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6WFw_nDmJv9LSWkLqzTJ7

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 money-reactor-ai-chat-completion-llama-3-1-x402-4688f0ed -d '<json body>'
```

Example prompt: Ask the Llama 3.1 AI chat endpoint: 'What are the main advantages of using x402 for AI agent payments?' — pay per call in USDC, no API key needed.

## When to prefer this

Choose this endpoint when you need a lightweight, anonymous, pay-per-call LLM inference without any account registration or API key management, and you are already operating in a crypto-native or x402-enabled agent stack settling in USDC on Base. It is ideal for one-off or low-frequency AI completions where subscription overhead is undesirable. Prefer established OpenAI or Anthropic APIs when you need higher model quality, larger context windows, function calling, or guaranteed SLAs.

## Known failure modes

- Insufficient USDC balance in x402 payment header — returns HTTP 402 Payment Required
- Malformed or missing prompt property in request body — may return 400 or empty reply
- Llama 3.1 inference timeout on Cloudflare Workers edge — may return 503 or truncated response
- On-chain payment settlement failure on Base network — request rejected before inference runs
- Rate or quota limits on the underlying Cloudflare Workers AI model — 429 or error reply

## How this service works

22 agent-native micro APIs paid per call in USDC on Base via x402: funded bounty radar, honeypot trust scoring, token safety verdicts, crypto prices, multi-asset price snapshots, fear &amp; greed index, full market-pulse snapshot, AI chat completion (Llama 3.1), crypto news, weather, web reader, ERC-20 balances. No accounts, no API keys — instant on-chain settlement.

## Output

Returns a JSON object containing the model identifier (@cf/meta/llama-3.1-8b-instruct), the generated reply text, and a usage object with prompt_tokens and completion_tokens counts.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "model": "@cf/meta/llama-3.1-8b-instruct",
  "reply": "x402 lets an AI agent pay an API per call with on-chain USDC — no signup, the payment travels in the HTTP header.",
  "usage": {
   "prompt_tokens": 14,
   "completion_tokens": 31
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/money-reactor-ai-chat-completion-llama-3-1-x402-4688f0ed/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from mr-river6.makar52nn2016.workers.dev](https://www.zero.xyz/host/mr-river6.makar52nn2016.workers.dev/llms.txt)
