# netintel.dev GPT-4.1-mini Chat Completion (x402)

> netintel.dev GPT-4.1-mini Chat Completion (x402) is a paid API for AI agents from netintel.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Runs an OpenAI gpt-4.1-mini chat completion request via a pay-per-call x402 endpoint — no OpenAI account or API key required, billed at $0.005 USDC per request.

## Facts

- Endpoint: POST https://netintel.dev/openai/gpt-4-1-mini
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/netintel-dev-gpt-4-1-mini-chat-completion-x402-2d35b967
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_a4CnAUZ3YuZNujNKcjpF3

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-dev-gpt-4-1-mini-chat-completion-x402-2d35b967 -d '<json body>'
```

Example prompt: Ask gpt-4.1-mini: 'You are a helpful assistant. Explain the difference between TCP and UDP in plain English, in under 150 words.' Use up to 300 output tokens and a temperature of 0.7.

## When to prefer this

Choose this endpoint when an agent needs GPT-4.1-mini chat completions without managing an OpenAI account, API key, or subscription billing — ideal for pay-per-use agent pipelines, serverless workflows, or rapid prototyping where x402 USDC micropayments are acceptable. Prefer this over the gpt-4.1 sibling endpoint when cost and speed matter more than maximum capability, and over gpt-4.1-nano when output quality needs to be a step above the smallest model.

## Known failure modes

- Payment not received or x402 handshake fails — request rejected before model is called
- Input messages total exceeds ~12,000 character cap — request rejected or truncated
- max_tokens exceeds 2048 cap — clamped to 2048 silently or rejected
- Malformed messages array (missing role or content fields) — schema validation error
- Transient OpenAI API outage upstream — 502 or 503 returned
- Network timeout if model inference takes too long

## How this service works

Call OpenAI's gpt-4.1-mini via a single pay-per-call x402 endpoint — no OpenAI account or API key needed, pay $0.005 per request in USDC. Standard OpenAI chat.completions request/response shape, capped input and output. Search terms: OpenAI, gpt-4.1-mini, chat completion, LLM, no API key.

## Output

Returns a standard OpenAI chat.completion JSON object containing: the assistant's reply text in choices[0].message.content, finish_reason (e.g. 'stop'), token usage breakdown (prompt_tokens, completion_tokens, total_tokens), model name, completion ID, and Unix creation timestamp. Output is capped at 2048 tokens.

## 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 ~12000 chars total.",
       "items": {
        "type": "object",
        "properties": {
         "role": {
          "type": "string",
          "description": "system, user, or assistant"
         },
         "content": {
          "type": "string",
          "description": "Message text"
         }
        },
        "required": [
         "role",
         "content"
        ]
       }
      },
      "max_tokens": {
       "type": "number",
       "description": "Max output tokens. Optional — defaults to 2048, capped at 2048."
      },
      "temperature": {
       "type": "number",
       "description": "Sampling temperature. Optional."
      },
      "top_p": {
       "type": "number",
       "description": "Nucleus sampling. Optional."
      }
     },
     "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-4.1-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-dev-gpt-4-1-mini-chat-completion-x402-2d35b967/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from netintel.dev](https://www.zero.xyz/host/netintel.dev/llms.txt)
