# 1RPC.ai Multi-Model AI Chat Completions

> 1RPC.ai Multi-Model AI Chat Completions is a paid API for AI agents from 1rpc.ai, paid per call via x402, $0.1/call, status unknown (last checked 2026-10-13).

Routes chat completion requests across multiple AI models with zero-trace privacy via a pay-per-call API compatible with OpenAI's chat completions format

## Facts

- Endpoint: POST https://1rpc.ai/v1/chat/completions?utm_source=zero.xyz
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/1rpc-ai-multi-model-ai-chat-completions-1ec11274
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_HMhtHPrcj2uQXoJVWWEcf

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 1rpc-ai-multi-model-ai-chat-completions-1ec11274 -d '<json body>'
```

Example prompt: Using 1RPC's zero-trace multi-model router, send this conversation to gpt-4o and get a response: system says 'You are a helpful assistant' and the user asks 'What are three creative names for a coffee shop in Brooklyn?'

## When to prefer this

Choose this endpoint when you need a privacy-preserving, zero-trace LLM gateway that supports multiple model backends under a single OpenAI-compatible interface, especially when paying per-call via crypto micropayments (x402/USDC) is acceptable and data retention by the provider must be minimized.

## Known failure modes

- Payment not provided or insufficient — 402 Payment Required returned before completion is processed
- Invalid or unsupported model name — model not found or not available via 1RPC routing
- Malformed messages array — missing required role or content fields causes a 400 error
- Content filtered by model — finish_reason set to content_filter with null content
- Rate limiting or capacity issues — service temporarily unavailable

## How this service works

Payment required for 1RPC AI service access

## Output

Returns an OpenAI-compatible chat completion object containing: a unique completion ID, the model used, the assistant's reply message content, finish reason (stop/length/content_filter), and token usage statistics (prompt tokens, completion tokens, total tokens).

## Example request

```json
{
 "model": "gpt-4o",
 "messages": [
  {
   "role": "system",
   "content": "You are a helpful assistant."
  },
  {
   "role": "user",
   "content": "What are three creative names for a coffee shop in Brooklyn?"
  }
 ]
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "model": {
   "type": "string"
  },
  "messages": {
   "type": "array"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "id",
  "object",
  "created",
  "model",
  "choices"
 ],
 "properties": {
  "id": {
   "type": "string"
  },
  "model": {
   "type": "string"
  },
  "usage": {
   "type": "object",
   "required": [
    "prompt_tokens",
    "completion_tokens",
    "total_tokens"
   ],
   "properties": {
    "total_tokens": {
     "type": "number"
    },
    "prompt_tokens": {
     "type": "number"
    },
    "completion_tokens": {
     "type": "number"
    },
    "prompt_tokens_details": {
     "type": "object",
     "properties": {
      "audio_tokens": {
       "type": "number"
      },
      "cached_tokens": {
       "type": "number"
      }
     },
     "additionalProperties": false
    },
    "completion_tokens_details": {
     "type": "object",
     "properties": {
      "audio_tokens": {
       "type": "number"
      },
      "reasoning_tokens": {
       "type": "number"
      },
      "accepted_prediction_tokens": {
       "type": "number"
      },
      "rejected_prediction_tokens": {
       "type": "number"
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "object": {
   "enum": [
    "chat.completion"
   ],
   "type": "string"
  },
  "choices": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "index",
     "message",
     "finish_reason"
    ],
    "properties": {
     "index": {
      "type": "number"
     },
     "message": {
      "type": "object",
      "required": [
       "role",
       "content"
      ],
      "properties": {
       "role": {
        "enum": [
         "assistant"
        ],
        "type": "string"
       },
       "content": {
        "type": "string",
        "nullable": true
       },
       "refusal": {
        "type": "string",
        "nullable": true
       }
      },
      "additionalProperties": true
     },
     "logprobs": {
      "nullable": true
     },
     "finish_reason": {
      "enum": [
       "stop",
       "length",
       "content_filter"
      ],
      "type": "string",
      "nullable": true
     }
    },
    "additionalProperties": false
   }
  },
  "created": {
   "type": "number"
  },
  "service_tier": {
   "type": "string",
   "nullable": true
  },
  "system_fingerprint": {
   "type": "string",
   "nullable": true
  }
 },
 "additionalProperties": false
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/1rpc-ai-multi-model-ai-chat-completions-1ec11274/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 1rpc.ai](https://www.zero.xyz/host/1rpc.ai/llms.txt)
