# HivemindOS Default Paid Chat Completions Gateway

> HivemindOS Default Paid Chat Completions Gateway is a paid API for AI agents from hivemindos-paid-agent-gateway.hivemindos.workers.dev, paid per call via x402, $0.122608/call, status unknown (last checked 2026-10-27).

Sends chat messages to HivemindOS's default paid AI model and returns a completion response, with payment handled via x402 micropayment protocol.

## Facts

- Endpoint: POST https://hivemindos-paid-agent-gateway.hivemindos.workers.dev/api/paid-agents/default/chat/completions?utm_source=zero.xyz
- Price: $0.122608/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-27
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/hivemindos-default-paid-chat-completions-gateway-f21f59bf
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Ps98LJESXZV0DA4tMFn0_

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 hivemindos-default-paid-chat-completions-gateway-f21f59bf -d '<json body>'
```

Example prompt: Ask HivemindOS's default paid AI model: 'Explain the key risks of investing in meme coins in three bullet points' — use the hivemindos/auto model and limit the response to 300 tokens.

## When to prefer this

Choose this endpoint when you need a pay-per-call AI chat completion via HivemindOS's default model routing (hivemindos/auto), especially in agentic workflows where you want micropayment-gated LLM access without a subscription. Prefer it over standard OpenAI-compatible endpoints when operating in x402 payment ecosystems or when you want HivemindOS's model selection logic to pick the best available model automatically.

## Known failure modes

- Payment failure or insufficient USDC balance causing x402 rejection
- Invalid or unsupported model ID causing a model-not-found error
- Malformed messages array missing required role or content fields
- Max_tokens value below minimum (1) causing validation error
- Request timeout if the selected model takes too long to respond
- bodyType mismatch (e.g. sending form-data instead of json) causing parse failure

## How this service works

Official HivemindOS paid agent (default)

## Output

Returns an OpenAI-compatible chat completion response object containing the AI-generated message(s), model used, token usage statistics, and finish reason. The response follows standard chat completions format with a choices array.

## 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": {
      "model": {
       "type": "string",
       "description": "A model id from /v1/models, or hivemindos/auto."
      },
      "messages": {
       "type": "array",
       "items": {
        "type": "object",
        "required": [
         "role",
         "content"
        ],
        "properties": {
         "role": {
          "type": "string"
         },
         "content": {}
        }
       }
      },
      "max_tokens": {
       "type": "integer",
       "minimum": 1
      }
     }
    },
    "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"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/hivemindos-default-paid-chat-completions-gateway-f21f59bf/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from hivemindos-paid-agent-gateway.hivemindos.workers.dev](https://www.zero.xyz/host/hivemindos-paid-agent-gateway.hivemindos.workers.dev/llms.txt)
