# NetIntel Chat Completions API

> NetIntel Chat Completions API 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).

OpenAI-compatible chat completions endpoint, pay-per-call via x402 micropayments with no API key required

## Facts

- Endpoint: POST https://netintel.dev/api/v1/chat/completions
- 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-chat-completions-api-f3c770b3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_knuHB9dc1AlxVgZR7kfuk

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-chat-completions-api-f3c770b3 -d '<json body>'
```

Example prompt: Ask gpt-4o-mini to summarize the following paragraph in two sentences — no API key needed, just pay per call: 'Artificial intelligence is transforming industries by automating complex tasks, enabling new forms of creativity, and reshaping how people interact with technology.'

## When to prefer this

Prefer this endpoint when you need OpenAI-compatible chat completions without an API key or account signup, especially in autonomous agent contexts where pay-per-call USDC micropayments via x402 are preferred over subscription billing. Ideal for one-off inference tasks, pipelines that need anonymous LLM access, or situations where you want guaranteed no-charge on failures.

## Known failure modes

- Invalid or unsupported model ID returns an error with no charge
- Malformed messages array (missing role or content) triggers input validation rejection with no charge
- Upstream model provider failure results in no charge per NetIntel's fair-trade policy
- Exceeding max_tokens cap silently clamps to model maximum
- Payment failure or insufficient USDC balance blocks the request before processing

## How this service works

OpenAI-compatible chat completions gateway (alias of /v1/chat/completions for api/v1-style base URLs) — standard request shape, model chosen in the body: any gpt-* chat model (not Claude/embeddings), each at its own price. Priced per model, $0.005–$0.65 per call in USDC via x402, no API key: POST unpaid and the 402 quotes your model's exact price. Supports response_format json_object. Free model catalog: GET /v1/models.

## Output

Returns an OpenAI-compatible chat.completion JSON object containing the generated assistant message, finish reason, model used, and token usage stats (prompt, completion, and total 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": {
      "model": {
       "type": "string",
       "description": "Model id, e.g. gpt-4o-mini. Free catalog: GET /v1/models"
      },
      "messages": {
       "type": "array",
       "description": "OpenAI chat messages: [{role, content}]",
       "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 (clamped to the model's cap)."
      }
     },
     "required": [
      "model",
      "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"
      },
      "model": {
       "type": "string"
      },
      "choices": {
       "type": "array"
      },
      "usage": {
       "type": "object"
      }
     }
    }
   },
   "required": [
    "type"
   ]
  }
 },
 "required": [
  "input"
 ]
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "id": "chatcmpl-9f2f28d90a3c4e0f8f1c2d3e",
  "model": "gpt-4o-mini",
  "usage": {
   "total_tokens": 15,
   "prompt_tokens": 13,
   "completion_tokens": 2
  },
  "object": "chat.completion",
  "choices": [
   {
    "index": 0,
    "message": {
     "role": "assistant",
     "content": "Hi!"
    },
    "finish_reason": "stop"
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/netintel-chat-completions-api-f3c770b3/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)
