# Tokensale GPT-6-Luna Chat Completions

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

Generates AI chat completions using the gpt-6-luna model via an OpenAI-compatible API with per-token USDC micropayment billing

## Facts

- Endpoint: POST https://tokensale.maiapp.ru/x402/v1/models/gpt-6-luna/chat/completions?utm_source=zero.xyz
- Price: $0.000372/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-24
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tokensale-gpt-6-luna-chat-completions-04e30566
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_YlAwyBeX0gs3aXMMRY2NL

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-gpt-6-luna-chat-completions-04e30566 -d '<json body>'
```

Example prompt: Using the Tokensale gpt-6-luna model, send the following conversation — system: 'You are a helpful assistant', user: 'Explain quantum entanglement in simple terms' — and return up to 512 tokens at temperature 0.7.

## When to prefer this

Choose this endpoint when you need an OpenAI-compatible chat completions API with transparent per-token USDC micropayment billing on the Base network, without a recurring subscription. It is especially suitable for agents that want pay-as-you-go LLM access using crypto, or workflows that need predictable token-level cost accounting. Prefer it over centralized OpenAI if you require on-chain payment traceability or are building on x402 payment infrastructure.

## Known failure modes

- Insufficient USDC balance causes payment failure and 402 response
- Model identifier mismatch if anything other than 'gpt-6-luna' is sent
- max_tokens or max_completion_tokens set too low causing truncated responses
- Temperature outside 0–2 range causes validation error
- Empty messages array causes schema validation failure
- Streaming requested (stream:true) but endpoint only supports stream:false
- Network congestion on Base (eip155:8453) delays payment settlement

## How this service works

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

## Output

Returns a JSON chat completion object containing the assistant's reply text, token usage breakdown (prompt, completion, total), finish reason, and model catalog metadata including per-million-token pricing for input, output, cache read, and cache write.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "model": {
   "type": "string",
   "const": "gpt-6-luna"
  },
  "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": "gpt-6-luna",
  "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": "gpt-6-luna",
    "payment": {
     "scheme": "upto",
     "network": "eip155:8453",
     "currency": "USDC"
    },
    "protocols": [
     "responses"
    ],
    "contextTokens": 200000,
    "maxInputTokens": 195904,
    "maxOutputTokens": 4096,
    "priceUsdPerMillionTokens": {
     "input": "0.018060",
     "output": "0.090300",
     "cacheRead": "0.001806",
     "cacheWrite": "0.036120"
    }
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tokensale-gpt-6-luna-chat-completions-04e30566/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)
