# Tokensale Claude Opus 4.8 Chat Completions

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

Send a chat message to Claude Opus 4.8 via a pay-per-call x402 proxy with transparent token billing on Base/USDC

## Facts

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

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-4-8-chat-completions-d7d04721 -d '<json body>'
```

Example prompt: Send this message to Claude Opus and get a response: 'Explain the difference between supervised and unsupervised learning in simple terms' — keep max tokens to 512 and temperature at 0.7.

## When to prefer this

Choose this endpoint when you need Claude Opus 4.8 quality reasoning with pay-per-call USDC micropayment billing instead of a subscription, especially in autonomous agent pipelines where cost transparency and no upfront commitment matter. It is ideal for x402-capable agents on the Base network that want a single API key supporting both GPT-style and Claude-style clients with token-level cost tracking.

## Known failure modes

- Payment failure if USDC balance or x402 payment header is missing or insufficient
- 400 Bad Request if messages array is empty or model field does not match 'claude-opus-4-8'
- 429 Rate limit exceeded if too many concurrent requests
- 502/503 if the upstream Anthropic API is unavailable
- Token limit exceeded if max_tokens exceeds the 4096 output cap or context exceeds 200k tokens

## How this service works

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

## Output

Returns a standard OpenAI-compatible chat.completion JSON object containing the assistant's reply message, token usage breakdown (prompt, completion, total), finish reason, and a modelCatalog array with pricing details (input/output/cache rates per million tokens) for the claude-opus-4-8 model.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "model": {
   "type": "string",
   "const": "claude-opus-4-8"
  },
  "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-4-8",
  "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-4-8",
    "payment": {
     "scheme": "upto",
     "network": "eip155:8453",
     "currency": "USDC"
    },
    "protocols": [
     "messages"
    ],
    "contextTokens": 200000,
    "maxInputTokens": 195904,
    "maxOutputTokens": 4096,
    "priceUsdPerMillionTokens": {
     "input": "1.350000",
     "output": "6.750000",
     "cacheRead": "0.250000",
     "cacheWrite": "1.350000"
    }
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tokensale-claude-opus-4-8-chat-completions-d7d04721/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)
