# Model Access Gateway – GPT-6 Astra Chat Completions (x402)

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

Provides OpenAI-compatible chat completions via the GPT-6 Astra model, billed per-request in USDC on Base using the x402 payment protocol — no API key or account required.

## Facts

- Endpoint: POST https://agent402-arb.rosariovitale0096.workers.dev/llm/gpt-6-astra?utm_source=zero.xyz
- Price: $0.0019/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-astra-chat-completions-x402-7349fbb6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_L4sRXuouSICMh1_59Mehp

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-astra-chat-completions-x402-7349fbb6 -d '<json body>'
```

Example prompt: Send my conversation history to GPT-6 Astra and get a chat completion back — pay the $0.0019 USDC fee per request using x402 on Base, no API key needed.

## When to prefer this

Choose this endpoint when you need OpenAI-compatible chat completions without creating an account or managing API keys, and you can pay per-request in USDC via the x402 protocol on Base. It is especially well-suited for autonomous AI agents that need to self-fund LLM calls on-chain, or for developers prototyping without a subscription commitment.

## Known failure modes

- Payment failure or insufficient USDC balance — x402 payment rejected before inference runs
- Invalid or malformed request body — missing required fields such as messages array
- Model not available or overloaded — upstream provider error propagated through the gateway
- Unsupported HTTP method — only POST/PUT/PATCH accepted
- Rate limiting or worker capacity errors from the Cloudflare Workers runtime

## How this service works

GPT-6 Astra API (openai/gpt-6-astra): 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 Astra on demand. When listed, this request cost 5% 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, model name, and token usage breakdown (prompt, completion, and total tokens).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "model": {
   "type": "string",
   "description": "Optional: fixed by the route (openai/gpt-6-astra)"
  },
  "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-astra",
  "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-astra-chat-completions-x402-7349fbb6/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)
