# NetIntel GPT-5.6-Luna Chat Completion

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

Provides OpenAI-compatible chat completions using the GPT-5.6-Luna model, paid per-call via x402 micropayments with no API key required.

## Facts

- Endpoint: POST https://netintel-production-440c.up.railway.app/openai/gpt-5-6-luna
- Price: $0.06/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/netintel-gpt-5-6-luna-chat-completion-b0bbfa1a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1PTHa7rK1efLZ1PYr7s7J

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-6-luna-chat-completion-b0bbfa1a -d '<json body>'
```

Example prompt: Ask GPT-5.6-Luna: given a system prompt of 'You are a helpful assistant', and the user message 'Summarize the key differences between TCP and UDP in two sentences', return the response — cap output at 200 tokens.

## When to prefer this

Choose this endpoint when you need GPT-5.6-Luna chat completions without an OpenAI API key or subscription, paying only $0.06 USDC per call via x402 micropayments on Base or Solana. Ideal for agents that need occasional or low-volume LLM inference, want pay-as-you-go economics, or are operating in crypto-native environments where USDC micropayments are already integrated. Prefer alternatives (direct OpenAI API) for high-volume workloads where per-call pricing exceeds subscription rates, or when you need streaming responses, function calling, or models beyond GPT-5.6-Luna.

## Known failure modes

- Input validation rejection (malformed messages array, missing required fields) — not billed
- Upstream model failure or timeout — not billed per NetIntel policy
- Total input exceeds ~48000 character cap — rejected
- max_completion_tokens exceeds hard cap of 2048 — clamped or rejected
- Insufficient USDC balance for x402 micropayment — payment fails before call is made
- Network error reaching Railway-hosted service — request fails without charge

## 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 message, finish reason (e.g. 'stop'), token usage breakdown (prompt, completion, total tokens), a unique completion ID, Unix timestamp, and the model name 'gpt-5.6-luna'.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "id": "chatcmpl-abc123",
  "model": "gpt-5.6-luna",
  "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-6-luna-chat-completion-b0bbfa1a/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)
