# Clawy ChatGPT Pay-per-Call AI Inference (x402/USDC)

> Clawy ChatGPT Pay-per-Call AI Inference (x402/USDC) is a paid API for AI agents from clawy.uk, paid per call via x402, $0.02/call, status down (last checked 2026-09-15).

Runs a ChatGPT (GPT model) inference request gated by HTTP-402 micropayment in USDC on Base, returning an OpenAI-compatible chat completion response.

## Facts

- Endpoint: POST https://clawy.uk/v1/chat/chatgpt
- Price: $0.02/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/clawy-chatgpt-pay-per-call-ai-inference-6eeeedff
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9Ssjxw6NpM0e--50ch0zU

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 clawy-chatgpt-pay-per-call-ai-inference-6eeeedff -d '<json body>'
```

Example prompt: Ask ChatGPT 'What is the capital of France?' via Clawy — just pay the per-call fee in USDC on Base, no API key needed, and give me back the answer.

## When to prefer this

Prefer this endpoint when you need anonymous, keyless, subscription-free access to ChatGPT and can pay per-call in USDC on Base via the x402 protocol. Ideal for agents or apps that want to avoid OpenAI API key management, avoid monthly commitments, or need to pay for inference programmatically with crypto micropayments on a per-request basis.

## Known failure modes

- Payment not received or insufficient USDC balance — HTTP 402 returned with payment-required details
- Malformed chat message array — 400 bad request
- Model unavailable or upstream OpenAI outage — 503 or 500 error
- Base network congestion delaying payment settlement beyond 2s — timeout or retry needed
- Invalid x402 payment header format — 402 with protocol error detail

## How this service works

HTTP-402 gated ChatGPT and Claude Opus inference. $0.02–$0.05 USDC per call, settled in &lt;2s on Base via the x402 protocol. No API keys, no signup, no subscriptions.

## Output

Returns an OpenAI-compatible chat.completion JSON object with the assistant's message content, the model used (e.g. gpt-5.5), token usage breakdown (prompt, completion, total tokens), finish reason, and Clawy-specific metadata indicating the delivery method and underlying provider.

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "id": "chatcmpl-clawy-abc123",
  "model": "gpt-5.5",
  "usage": {
   "total_tokens": 11,
   "prompt_tokens": 8,
   "completion_tokens": 3
  },
  "object": "chat.completion",
  "choices": [
   {
    "index": 0,
    "message": {
     "role": "assistant",
     "content": "Hi there!"
    },
    "finish_reason": "stop"
   }
  ],
  "x_clawy": {
   "delivery": "codex-cli",
   "provider": "openai"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/clawy-chatgpt-pay-per-call-ai-inference-6eeeedff/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from clawy.uk](https://www.zero.xyz/host/clawy.uk/llms.txt)
