# Model Access Gateway – GPT-6-Luna Chat Completions

> Model Access Gateway – GPT-6-Luna Chat Completions is a paid API for AI agents from agent402-arb.rosariovitale0096.workers.dev, paid per call via x402, $0.0014/call, status unknown (last checked 2026-10-15).

Sends an OpenAI-compatible chat completion request to the gpt-6-luna model, billed per-request in USDC via x402 with no account or API key required.

## Facts

- Endpoint: POST https://agent402-arb.rosariovitale0096.workers.dev/llm/gpt-6-luna?utm_source=zero.xyz
- Price: $0.0014/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/model-access-gateway-gpt-6-luna-chat-completions-b568221c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_flqHucPCFA12RbrVsvPys

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 model-access-gateway-gpt-6-luna-chat-completions-b568221c -d '<json body>'
```

Example prompt: Using the gpt-6-luna model on the pay-per-request gateway, send this message and get back a chat completion: 'Summarize the key differences between transformer and diffusion architectures in three bullet points.'

## When to prefer this

Choose this endpoint when your agent needs to call an LLM without managing API keys or accounts, especially in crypto-native or agent-to-agent workflows where on-chain USDC micropayments via x402 are the preferred billing mechanism. It is ideal for autonomous agents on Base that need per-call inference billing without subscription overhead. Prefer it over direct OpenAI/Anthropic APIs when keyless, pay-as-you-go stablecoin payments are a hard requirement.

## Known failure modes

- Payment insufficient or x402 handshake fails — returns 402 Payment Required with payment details
- Invalid or malformed request body — returns 400 Bad Request
- Model identifier not supported by gateway — returns 404 or model-not-found error
- Rate limit exceeded on the worker — returns 429 Too Many Requests
- Upstream LLM provider timeout — returns 504 Gateway Timeout or partial response

## How this service works

GPT-6 Luna API (openai/gpt-6-luna): LLM inference via OpenAI-compatible chat completions, pay per call in USDC on Base with x402. No API key, no account. Suited for AI agents and scripts that need GPT-6 Luna on demand. When listed, this request cost 30% less than the same request on BlockRun. Streaming and function calling supported. Exact price in the 402 quote before payment; automatic refund if the model fails to answer.

## Output

Returns an OpenAI-compatible chat completion JSON object containing the assistant's reply message, finish reason (e.g. 'stop'), token usage breakdown (prompt, completion, total tokens), model name, completion ID, and creation timestamp.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "model": {
   "type": "string",
   "description": "Optional: fixed by the route (openai/gpt-6-luna)"
  },
  "tools": {
   "type": "array"
  },
  "stream": {
   "type": "boolean",
   "description": "true: server-sent events after payment"
  },
  "messages": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "role"
    ],
    "properties": {
     "role": {
      "enum": [
       "system",
       "user",
       "assistant",
       "tool",
       "developer"
      ],
      "type": "string"
     },
     "content": {
      "type": [
       "string",
       "array",
       "null"
      ]
     }
    }
   },
   "minItems": 1
  },
  "max_tokens": {
   "type": "integer",
   "maximum": 16384,
   "minimum": 1,
   "description": "Optional, default 4096"
  },
  "temperature": {
   "type": "number",
   "maximum": 2,
   "minimum": 0
  },
  "response_format": {
   "type": "object"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "id": "chatcmpl-7f3c2a91",
  "model": "openai/gpt-6-luna",
  "usage": {
   "total_tokens": 10,
   "prompt_tokens": 9,
   "completion_tokens": 1
  },
  "object": "chat.completion",
  "choices": [
   {
    "index": 0,
    "message": {
     "role": "assistant",
     "content": "OK"
    },
    "finish_reason": "stop"
   }
  ],
  "created": 1791979200
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/model-access-gateway-gpt-6-luna-chat-completions-b568221c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent402-arb.rosariovitale0096.workers.dev](https://www.zero.xyz/host/agent402-arb.rosariovitale0096.workers.dev/llms.txt)
