# x402engine GPT-6 Astra LLM API

> x402engine GPT-6 Astra LLM API is a paid API for AI agents from x402engine.app, paid per call via x402, $0.17296/call, status unknown (last checked 2026-10-27).

Calls OpenAI's GPT-6 Astra flagship model via pay-per-call micropayment for advanced reasoning, software engineering, deep research, and long-horizon document creation tasks.

## Facts

- Endpoint: POST https://x402engine.app/api/llm/gpt-6-astra?utm_source=zero.xyz
- Price: $0.17296/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-27
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402engine-gpt-6-astra-llm-api-fdfd1b13
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_37Hf42uSCqkNMgSbrkkt_

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 x402engine-gpt-6-astra-llm-api-fdfd1b13 -d '<json body>'
```

Example prompt: Use GPT-6 Astra to write me a detailed technical architecture document for a distributed event-driven microservices system, including tradeoffs, component diagrams in text, and a phased implementation roadmap.

## When to prefer this

Choose this endpoint when you need OpenAI's most capable flagship model (GPT-6 Astra) for demanding tasks requiring long-horizon reasoning, complex software engineering, deep research synthesis, or large-scale document creation — and you want pay-per-call pricing via x402 micropayments without a subscription. Prefer this over lighter models when task complexity is high, output length is significant, or multi-step agentic reasoning is required.

## Known failure modes

- Payment failure if USDC micropayment is not properly attached via x402 protocol, resulting in HTTP 402
- Prompt too long for context window resulting in truncation or error
- Model unavailable or rate-limited on the underlying OpenAI infrastructure
- Malformed request body causing 400-level error
- Timeout for extremely long generation tasks exceeding server limits

## How this service works

GPT-6 Astra is OpenAI's flagship model for demanding end-to-end work. It is suited for advanced analysis, software engineering, deep research, scientific work, and document creation, with particular strengths in long-horizon

## Output

Returns the GPT-6 Astra model's generated text response, which may include long-form prose, code, structured analysis, or reasoning chains depending on the prompt. The response follows standard LLM completion output format with the model's answer to the provided messages or prompt.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "bodyType",
    "body",
    "method"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "messages"
     ],
     "properties": {
      "seed": {
       "type": "integer",
       "description": "Model-supported seed; see /docs/llm-capabilities.md."
      },
      "tools": {
       "type": "array",
       "items": {
        "type": "object",
        "required": [
         "function"
        ],
        "properties": {
         "type": {
          "enum": [
           "function"
          ],
          "type": "string"
         },
         "function": {
          "type": "object",
          "properties": {
           "name": {
            "type": "string"
           },
           "strict": {
            "type": "boolean"
           },
           "parameters": {
            "type": "object"
           },
           "description": {
            "type": "string"
           }
          }
         }
        }
       },
       "description": "Client-executed function definitions; return results using role=tool and tool_call_id."
      },
      "stream": {
       "type": "boolean",
       "description": "Return live OpenAI-compatible SSE after payment settlement."
      },
      "plugins": {
       "type": "array",
       "items": {
        "type": "object",
        "required": [
         "pdf"
        ],
        "properties": {
         "id": {
          "enum": [
           "file-parser"
          ],
          "type": "string"
         },
         "pdf": {
          "type": "object",
          "properties": {
           "engine": {
            "enum": [
             "native"
            ],
            "type": "string"
           }
          }
         }
        }
       },
       "description": "Optional native PDF parser only; automatically enabled for file inputs."
      },
      "messages": {
       "type": "array",
       "items": {
        "type": "object",
        "anyOf": [
         {
          "required": [
           "content"
          ]
         },
         {
          "required": [
           "tool_calls"
          ]
         }
        ],
        "required": [
         "role"
        ],
        "properties": {
         "name": {
          "type": "string"
         },
         "role": {
          "enum": [
           "system",
   
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "model": "openai/gpt-6-astra",
  "choices": [
   {
    "index": 0,
    "message": {
     "role": "assistant",
     "content": "Hello!"
    },
    "finish_reason": "stop"
   }
  ],
  "content": "Hello!"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402engine-gpt-6-astra-llm-api-fdfd1b13/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402engine.app](https://www.zero.xyz/host/x402engine.app/llms.txt)
