# 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 money-reactor-spare5.makar52nn2016.workers.dev, paid per call via x402, $0.05/call, status unknown (last checked 2026-11-13).

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

## Facts

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

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-901203e6 -d '<json body>'
```

Example prompt: Ask the Llama 3.1 AI chat endpoint: 'What are the key differences between proof-of-work and proof-of-stake blockchains?' — pay the $0.05 USDC per-call fee on Base, no signup needed.

## When to prefer this

Choose this endpoint when you need permissionless, pay-per-call LLM inference with no account setup, no monthly subscription, and on-chain USDC settlement via the x402 protocol on Base. It is ideal for AI agents that need to make sporadic or unpredictable numbers of LLM calls without committing to a subscription, or for crypto-native workflows where stablecoin micropayments are preferred over credit card billing.

## Known failure modes

- Insufficient USDC balance in x402 payment header — returns HTTP 402 Payment Required
- Malformed or missing request body — returns 400 Bad Request
- Llama model inference timeout or Cloudflare Workers AI backend error — returns 500
- On-chain payment settlement failure on Base — transaction may be rejected
- Prompt too long exceeding model context window — truncation or error response

## 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 name (@cf/meta/llama-3.1-8b-instruct), the AI-generated reply string, 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-901203e6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from money-reactor-spare5.makar52nn2016.workers.dev](https://www.zero.xyz/host/money-reactor-spare5.makar52nn2016.workers.dev/llms.txt)
