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

> Money Reactor AI Chat Completion (Llama 3.1 via x402) is a paid API for AI agents from mr-river7.makar52nn2016.workers.dev, paid per call via x402, $0.1/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 account or API key required.

## Facts

- Endpoint: POST https://mr-river7.makar52nn2016.workers.dev/api/ai-chat?utm_source=zero.xyz
- Price: $0.1/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-via-x402-a1283f71
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_nf5xDxrdTQqnE5ujE-V-p

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-via-x402-a1283f71 -d '<json body>'
```

Example prompt: Ask Llama 3.1 this question for me and pay the $0.05 USDC fee per call: 'What are the key differences between proof-of-work and proof-of-stake blockchains?'

## When to prefer this

Choose this endpoint when your AI agent needs on-demand LLM inference with zero account setup, paying per call in USDC on Base via the x402 protocol. It is ideal for autonomous agents that need to self-fund API calls without pre-negotiated API keys, or for developers prototyping agent workflows who want instant access to Llama 3.1 8B without subscription overhead. Prefer alternatives (OpenAI, Anthropic direct APIs) when you need larger context windows, higher throughput, or more capable models.

## Known failure modes

- Insufficient USDC balance in x402 wallet causes 402 Payment Required error
- Malformed or missing prompt property returns a 400 Bad Request
- Cloudflare Workers AI backend timeout returns a 503 error
- Overly long prompt exceeding context window may truncate or error
- Network issues with the workers.dev edge host may cause intermittent failures

## How this service works

60+ agent-native micro APIs paid per call in USDC on Base via x402: fresh market data every call (market cap, top movers, funding rates, orderbook, RSI trading checklist, volatility, cycle position), funded bounty radar, honeypot trust scoring, token safety verdicts, AI chat (Llama 3.1), web reader, ERC-20 balances. No accounts, no API keys — instant on-chain settlement.

## Output

A JSON object containing the model identifier (@cf/meta/llama-3.1-8b-instruct), the AI-generated reply text, and token usage statistics (prompt_tokens and completion_tokens).

## 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-via-x402-a1283f71/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from mr-river7.makar52nn2016.workers.dev](https://www.zero.xyz/host/mr-river7.makar52nn2016.workers.dev/llms.txt)
