# fold · x402 — Claude Opus 4.8 LLM via x402

> fold · x402 — Claude Opus 4.8 LLM via x402 is a paid API for AI agents from x402.fold.computer, paid per call via x402, $2/call, status down (last checked 2026-09-15).

Serves Claude Opus 4.8 completions with market intelligence context for onchain agents, paid per-call via x402 micropayment protocol

## Facts

- Endpoint: POST https://x402.fold.computer/llm/claude-opus-4-8
- Price: $2/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fold-x402-claude-opus-4-8-llm-via-x402-4a8f6f5e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_07aAQSX96v3Sw3edhVKDy

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 fold-x402-claude-opus-4-8-llm-via-x402-4a8f6f5e -d '<json body>'
```

Example prompt: Ask Claude Opus 4.8 through fold.computer's x402 endpoint: 'What are the current trends in onchain DEX liquidity?' — pay with USDC per call and get a structured completion back including cost info.

## When to prefer this

Choose this endpoint when your onchain agent needs to pay for LLM inference using USDC micropayments via the x402 protocol without pre-purchasing API credits, and specifically wants Claude Opus 4.8 quality reasoning. Ideal for autonomous agents that must account for per-inference costs transparently on-chain.

## Known failure modes

- Payment failure — insufficient USDC balance or invalid x402 payment header returns 402 Payment Required
- Missing messages array — required field omitted returns validation error
- Token limit exceeded — max_tokens set beyond model context window
- Rate limiting — too many concurrent calls may be throttled
- Model unavailability — Claude Opus 4.8 service disruption returns 5xx error

## How this service works

Machine-readable market intelligence for onchain agents, served over x402.

## Output

Returns an OpenAI-format chat completion object containing the model's response text, plus x402 payment metadata showing the cost of the call, all wrapped in a status/data envelope.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "messages"
 ],
 "properties": {
  "messages": {
   "type": "array",
   "description": "OpenAI-format chat messages"
  },
  "max_tokens": {
   "type": "number"
  },
  "temperature": {
   "type": "number"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "status",
  "data"
 ],
 "properties": {
  "data": {
   "type": "object",
   "description": "OpenAI-format completion + x402 cost info"
  },
  "status": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/fold-x402-claude-opus-4-8-llm-via-x402-4a8f6f5e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.fold.computer](https://www.zero.xyz/host/x402.fold.computer/llms.txt)
