# NetIntel OpenAI GPT-4o Mini Chat Proxy

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

Sends a chat completion request to GPT-4o Mini (labeled gpt-5.4-mini) via NetIntel's pay-per-call x402 micropayment gateway, returning an OpenAI-compatible chat completion response

## Facts

- Endpoint: POST https://netintel-production-440c.up.railway.app/openai/gpt-5-4-mini
- Price: $0.04/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/netintel-openai-gpt-4o-mini-chat-proxy-27b2ccf8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_EaCmumlaRbjYB-6OtW10V

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-openai-gpt-4o-mini-chat-proxy-27b2ccf8 -d '<json body>'
```

Example prompt: Ask the AI: 'Summarize the key differences between REST and GraphQL in three bullet points' — send it as a user message through the GPT-4o Mini chat endpoint and give me back the assistant's reply.

## When to prefer this

Choose this endpoint when you need GPT-4o Mini chat completions without an OpenAI account or API key, want to pay strictly per call in USDC via x402 micropayments, need automatic no-charge guarantees on server errors or invalid inputs, or are building an agent that must avoid monthly API subscriptions. Prefer a direct OpenAI API integration if you have an existing key, need streaming responses, require more than 2048 output tokens, or need models other than GPT-4o Mini.

## Known failure modes

- Input exceeds ~36000 character cap — request rejected, not billed
- max_completion_tokens exceeds 2048 — capped silently or rejected
- Missing required messages array — validation error, not billed
- Upstream OpenAI failure — server error returned, not billed
- Malformed role values (not system/user/assistant) — validation rejection, not billed
- Insufficient USDC balance or x402 payment failure — call not executed

## 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 message text, finish_reason (e.g. 'stop'), token usage breakdown (prompt_tokens, completion_tokens, total_tokens), model name, completion ID, and Unix creation timestamp. The choices array holds the assistant reply.

## 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 ~36000 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 2048, capped at 2048."
      }
     },
     "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-mini",
  "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-openai-gpt-4o-mini-chat-proxy-27b2ccf8/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)
