# Orchard Data Chat Completions

> Orchard Data Chat Completions is a paid API for AI agents from orchard-data.letom1176.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-17).

Runs LLM chat completions (GPT, Llama, Qwen, Gemma) with built-in agent tools (web-read, email-verify, token-check) via x402 per-call USDC micropayment on Base.

## Facts

- Endpoint: POST https://orchard-data.letom1176.workers.dev/api/chat/completions?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/orchard-data-chat-completions-4538c8b0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_KU72bxxd4nRJ0jUMGBicE

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 orchard-data-chat-completions-4538c8b0 -d '<json body>'
```

Example prompt: Ask the orchard-data LLM endpoint using llama-3.3-70b with up to 512 tokens: 'What is x402 and how does per-request stablecoin payment work for AI agents?' — pay per call with USDC on Base.

## When to prefer this

Choose this endpoint when you need a pay-per-call LLM chat completion that also provides built-in agent tools (web browsing, email verification, token checking) without managing your own infrastructure, and you want to pay with USDC micropayments via x402 on Base rather than a subscription API key. Ideal for agentic workflows where the agent needs to both reason and take real-world lookups in a single call.

## Known failure modes

- 402 Payment Required if x402 USDC payment is missing or insufficient
- 400 Bad Request if messages array is empty or malformed
- model not found error if an unsupported model enum value is passed
- max_tokens exceeds 1024 — request rejected or truncated
- rate limiting or worker timeout on Cloudflare edge
- tool call failure (e.g. web-read timeout, email-verify DNS failure)

## How this service works

Market data and agent tools (web-read, email-verify, token-check) for AI agents, paid per-call via x402 (USDC on Base). Free index at /, free spec here.

## Output

Returns an OpenAI-compatible chat.completion JSON object with the model name, a choices array containing the assistant's message and finish_reason, and an object type field. The assistant content may include results from built-in tools like web-read, email-verify, or token-check if invoked.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "model": {
   "enum": [
    "gpt-oss-120b",
    "llama-3.3-70b",
    "qwen3-30b",
    "gemma-4-26b"
   ],
   "type": "string",
   "description": "Default gpt-oss-120b"
  },
  "messages": {
   "type": "array",
   "description": "OpenAI-style [{role, content}]"
  },
  "max_tokens": {
   "type": "number",
   "description": "Up to 1024"
  },
  "temperature": {
   "type": "number"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "model": "gpt-oss-120b",
  "object": "chat.completion",
  "choices": [
   {
    "index": 0,
    "message": {
     "role": "assistant",
     "content": "x402 lets clients pay for HTTP resources per request with stablecoins."
    },
    "finish_reason": "stop"
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/orchard-data-chat-completions-4538c8b0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from orchard-data.letom1176.workers.dev](https://www.zero.xyz/host/orchard-data.letom1176.workers.dev/llms.txt)
