# Tokensale Claude Opus Chat Completions (x402)

> Tokensale Claude Opus Chat Completions (x402) is a paid API for AI agents from tokensale.maiapp.ru, paid per call via x402, $0.004267/call, status unknown (last checked 2026-11-22).

Sends a chat completion request to Claude Opus 4/5 via a pay-per-call x402 micropayment gateway, returning an OpenAI-compatible chat response.

## Facts

- Endpoint: POST https://tokensale.maiapp.ru/x402/v1/models/claude-opus-5-5/chat/completions?utm_source=zero.xyz
- Price: $0.004267/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tokensale-claude-opus-chat-completions-x402-cfc83676
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_IitqZnqRNijoP4T5E_VDv

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 tokensale-claude-opus-chat-completions-x402-cfc83676 -d '<json body>'
```

Example prompt: Send this conversation thread to Claude Opus and get a response — use up to 1024 tokens and a temperature of 0.7: [system: 'You are a helpful assistant', user: 'Explain quantum entanglement simply'].

## When to prefer this

Choose this endpoint when you need Claude Opus-quality inference on a pay-per-call basis without a standing Anthropic API subscription, especially in x402-enabled agent pipelines that settle payments in USDC on Base. Ideal for low-volume or bursty workloads where a monthly subscription is wasteful, or for autonomous agents that need to self-fund inference via crypto wallets. Prefer over direct Anthropic API when you want transparent per-call token billing with no monthly commitment.

## Known failure modes

- Payment failure (402): USDC micropayment not settled or insufficient balance — request is rejected before inference
- Model mismatch: sending a model value other than 'claude-opus-5-5' will be rejected by schema const constraint
- Stream not supported: setting stream:true will be rejected (const: false enforced)
- Empty messages array: minItems:1 not met causes validation error
- Rate limiting or gateway overload: upstream proxy may return 429 or 503
- Invalid temperature: values outside 0-2 range will fail schema validation

## How this service works

Один API-ключ для GPT и Claude-совместимых клиентов. Пакетные токены, прозрачное списание и контроль доступа.

## Output

Returns an OpenAI-compatible chat.completion JSON object containing the assistant's reply text, finish reason (e.g. 'stop'), token usage breakdown (prompt, completion, total), and a modelCatalog array with per-million-token pricing for input, output, cache read, and cache write. The response id is prefixed 'x402-request'.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "model": {
   "type": "string",
   "const": "claude-opus-5-5"
  },
  "stream": {
   "type": "boolean",
   "const": false
  },
  "messages": {
   "type": "array",
   "items": {
    "type": "object"
   },
   "minItems": 1
  },
  "max_tokens": {
   "type": "integer",
   "minimum": 1
  },
  "temperature": {
   "type": "number",
   "maximum": 2,
   "minimum": 0
  },
  "max_completion_tokens": {
   "type": "integer",
   "minimum": 1
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "id": "x402-request",
  "model": "claude-opus-5-5",
  "usage": {
   "total_tokens": 2,
   "prompt_tokens": 1,
   "completion_tokens": 1
  },
  "object": "chat.completion",
  "choices": [
   {
    "index": 0,
    "message": {
     "role": "assistant",
     "content": "Hello back"
    },
    "finish_reason": "stop"
   }
  ],
  "modelCatalog": [
   {
    "id": "claude-opus-5-5",
    "payment": {
     "scheme": "upto",
     "network": "eip155:8453",
     "currency": "USDC"
    },
    "protocols": [
     "messages"
    ],
    "contextTokens": 200000,
    "maxInputTokens": 195904,
    "maxOutputTokens": 4096,
    "priceUsdPerMillionTokens": {
     "input": "0.340000",
     "output": "1.039500",
     "cacheRead": "0.095000",
     "cacheWrite": "0.415800"
    }
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tokensale-claude-opus-chat-completions-x402-cfc83676/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from tokensale.maiapp.ru](https://www.zero.xyz/host/tokensale.maiapp.ru/llms.txt)
