# NetIntel GPT-5.4 Chat Completions (via x402)

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

Provides OpenAI GPT-5.4 chat completions via pay-per-call x402 micropayments, returning assistant responses to multi-turn conversation messages.

## Facts

- Endpoint: POST https://netintel-production-440c.up.railway.app/openai/gpt-5-4
- Price: $0.25/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-4-chat-completions-via-x402-9922508f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_GnAy6UC1jEGH5uiEVpdkp

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-4-chat-completions-via-x402-9922508f -d '<json body>'
```

Example prompt: Using NetIntel's GPT-5.4 endpoint, send this conversation to the model — system: 'You are a helpful assistant', user: 'Summarize the key differences between TCP and UDP in plain English' — and return the response, limiting output to 300 tokens.

## When to prefer this

Choose this endpoint when you need GPT-5.4 chat completions without an OpenAI account or API key, want pay-per-call USDC billing via x402 with no subscription, need automatic no-charge guarantees on failed or errored calls, or are building an agent that requires anonymous, crypto-native LLM access on Base or Solana mainnet.

## Known failure modes

- Input validation failure (malformed messages array or missing required fields) — not billed
- Upstream OpenAI service error — not billed, server error returned
- Input exceeds ~96,000 character cap — rejected with validation error
- max_completion_tokens exceeds 4096 cap — clamped or rejected
- Payment failure via x402 — call not processed
- Model returns finish_reason 'length' if token limit reached before natural completion

## 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 an OpenAI-compatible chat.completion JSON object containing the assistant's reply in choices[0].message.content, along with finish_reason, token usage breakdown (prompt_tokens, completion_tokens, total_tokens), model name (gpt-5.4), 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.4",
  "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-4-chat-completions-via-x402-9922508f/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)
