# Tokensale Claude Sonnet 3.5 Chat Completions

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

Sends a chat message to Claude Sonnet 3.5 (claude-sonnet-5-5) via a pay-per-call x402 gateway and returns a completion response.

## Facts

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

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-sonnet-3-5-chat-completions-cc4e2898 -d '<json body>'
```

Example prompt: Send this message to Claude Sonnet and get a response: 'Summarize the key differences between REST and GraphQL APIs in 3 bullet points.' Use up to 512 output tokens and a temperature of 0.7.

## When to prefer this

Choose this endpoint when you need Claude Sonnet 3.5 completions without a direct Anthropic subscription, want transparent per-token billing paid in USDC via x402 micropayments, or are building an agent that must pay for LLM calls programmatically without upfront commitment. It is especially useful for low-volume or bursty workloads where a flat subscription is wasteful, or when your agent stack already handles x402 payment flows.

## Known failure modes

- Payment not received or insufficient USDC balance — 402 Payment Required returned
- Invalid or missing messages array — 400 Bad Request
- Model constant mismatch (anything other than 'claude-sonnet-5-5') — rejected
- stream:true not supported — must be false
- Upstream Anthropic rate limit or outage — 502 or 503 error
- Temperature out of range (>2 or <0) — validation error

## How this service works

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

## Output

A JSON chat completion object containing the assistant's reply text, finish reason (e.g. 'stop'), token usage breakdown (prompt, completion, total tokens), and a modelCatalog entry with pricing and context window details for claude-sonnet-5-5.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tokensale-claude-sonnet-3-5-chat-completions-cc4e2898/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)
