# Tokensale Claude Fable-5 Chat Completions

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

Sends a chat message to the claude-fable-5 language model via a GPT/Claude-compatible API with per-token USDC micropayment billing over x402.

## Facts

- Endpoint: POST https://tokensale.maiapp.ru/x402/v1/models/claude-fable-5/chat/completions?utm_source=zero.xyz
- Price: $0.006893/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-fable-5-chat-completions-ce714e0f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_kOG5OtO8dw6yS2WSKITed

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-fable-5-chat-completions-ce714e0f -d '<json body>'
```

Example prompt: Using the Tokensale claude-fable-5 endpoint, send this conversation to the model and give me its reply: system prompt 'You are a helpful assistant', user message 'Explain transformer attention in 3 sentences', max 300 tokens, temperature 0.7.

## When to prefer this

Choose this endpoint when you need Claude-compatible chat completions billed transparently in USDC per token via the x402 micropayment protocol, with no monthly subscription — ideal for agents, bots, or apps that want pay-as-you-go Claude access using crypto on the Base network, and where GPT-client library compatibility is important.

## Known failure modes

- Insufficient USDC balance or failed x402 payment results in 402 Payment Required
- Invalid or malformed messages array returns 400 Bad Request
- Exceeding max_tokens or context window limit causes truncation or error
- Streaming requested (stream: true) is rejected as the endpoint only supports non-streaming
- Model name mismatch (anything other than 'claude-fable-5') returns validation error
- Network timeout if the upstream Claude model is slow to respond

## How this service works

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

## Output

Returns an OpenAI-compatible chat completion JSON object containing the assistant's reply message, finish reason, prompt/completion/total token counts, and a model catalog entry with pricing details for claude-fable-5 (input $0.336/M tokens, output $1.68/M tokens, cache read/write rates, 200k context window).

## Request schema (JSON Schema)

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

## More

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