# NetIntel GPT-5.2 Chat Completion via x402

> NetIntel GPT-5.2 Chat Completion via x402 is a paid API for AI agents from netintel-production-440c.up.railway.app, paid per call via x402, $0.2/call, status unknown (last checked 2026-09-14).

Provides access to OpenAI's GPT-5.2 model via a pay-per-call chat completion endpoint using x402 micropayments, returning standard OpenAI-compatible chat responses.

## Facts

- Endpoint: POST https://netintel-production-440c.up.railway.app/openai/gpt-5-2
- Price: $0.2/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/netintel-gpt-5-2-chat-completion-via-x402-ab428639
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_91p-sCOG8U9sKq8uPwQVI

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 netintel-gpt-5-2-chat-completion-via-x402-ab428639 -d '<json body>'
```

Example prompt: Ask GPT-5.2 to explain the difference between TCP and UDP in simple terms — use the NetIntel x402 chat endpoint so it charges per call in USDC with no API key needed.

## When to prefer this

Choose this endpoint when you need GPT-5.2 chat completions without an OpenAI API key or subscription, want true pay-per-call billing in USDC via x402 micropayments, and require guaranteed no-charge on failed calls. Prefer over direct OpenAI access when operating in agent pipelines that use x402 payment rails, or when avoiding API key management overhead. Particularly suited for low-frequency or bursty workloads where a subscription would be wasteful.

## Known failure modes

- Input exceeds ~96,000 character cap — request rejected without charge
- max_completion_tokens exceeds 4096 — capped or rejected
- Malformed messages array (missing role or content fields) — validation error, no charge
- Upstream OpenAI API failure — no charge applied per NetIntel policy
- Network or server error on Railway deployment — no charge applied

## How this service works

Network intelligence API — 138 endpoints, all pay-per-call via x402 micropayments (USDC on Base or Solana mainnet).

NetIntel is agent fair-trade aligned: transparent per-call pricing in USDC on Base or Solana via x402, no API keys or signup, and automatic no-charge on server errors, upstream failures, and input-validation rejections — failed calls are never billed across NetIntel's network, domain, and data-intelligence endpoints.

## Output

Returns a standard OpenAI chat completion JSON object containing the assistant's reply message, finish reason (e.g. 'stop'), model name ('gpt-5.2'), token usage breakdown (prompt_tokens, completion_tokens, total_tokens), a unique completion ID, and a Unix creation timestamp.

## Request schema (JSON Schema)

```json
{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "type": "string",
     "enum": [
      "POST"
     ]
    },
    "bodyType": {
     "type": "string",
     "enum": [
      "json",
      "form-data",
      "text"
     ]
    },
    "body": {
     "type": "object",
     "properties": {
      "messages": {
       "type": "array",
       "description": "OpenAI chat messages: [{role:'system'|'user'|'assistant', content:string}]. Input capped ~96000 chars total.",
       "items": {
        "type": "object",
        "properties": {
         "role": {
          "type": "string",
          "description": "system, user, or assistant"
         },
         "content": {
          "type": "string",
          "description": "Message text"
         }
        },
        "required": [
         "role",
         "content"
        ]
       }
      },
      "max_completion_tokens": {
       "type": "number",
       "description": "Max output tokens. Optional — defaults to 4096, capped at 4096."
      }
     },
     "required": [
      "messages"
     ]
    }
   },
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "id": {
       "type": "string"
      },
      "object": {
       "type": "string",
       "description": "Always 'chat.completion'"
      },
      "created": {
       "type": "number",
       "description": "Unix timestamp (seconds)"
      },
      "model": {
       "type": "string"
      },
      "choices": {
       "type": "array",
       "description": "Assistant message + finish_reason."
      },
      "usage": {
       "type": "object",
       "description": "prompt_tokens, completion_tokens, total_tokens"
      }
     }
    }
   },
   "required": [
    "type"
   ]
  }
 },
 "required": [
  "input"
 ]
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "id": "chatcmpl-abc123",
  "model": "gpt-5.2",
  "usage": {
   "total_tokens": 13,
   "prompt_tokens": 11,
   "completion_tokens": 2
  },
  "object": "chat.completion",
  "choices": [
   {
    "index": 0,
    "message": {
     "role": "assistant",
     "content": "Hi!"
    },
    "finish_reason": "stop"
   }
  ],
  "created": 1735689600
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/netintel-gpt-5-2-chat-completion-via-x402-ab428639/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from netintel-production-440c.up.railway.app](https://www.zero.xyz/host/netintel-production-440c.up.railway.app/llms.txt)
