# api.webbersites.com PRO Chat Completions (OpenAI-Compatible)

> api.webbersites.com PRO Chat Completions (OpenAI-Compatible) is a paid API for AI agents from api.webbersites.com, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-15, last successful call 2026-07-22).

OpenAI-compatible chat completions endpoint giving access to frontier models (GPT-5.2, GPT-5.5, Claude Sonnet 5, Gemini 3.1 Pro, Gemini 3.5 Flash) at a flat per-call price with no API key required.

## Facts

- Endpoint: POST https://api.webbersites.com/v1/pro/chat/completions
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Last successful call: 2026-07-22
- Success rate: 100% of calls made through Zero
- Rating: 4.7 / 5 from 1 review
- Activations on Zero: 2
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-webbersites-com-pro-chat-completions-openai-compatible-c2d734f6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4ljygy97eXKf8W2jsNFW6

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 api-webbersites-com-pro-chat-completions-openai-compatible-c2d734f6 -d '<json body>'
```

Example prompt: Ask claude-sonnet-5 to write me a concise executive summary of the following meeting notes — use up to 800 output tokens: [meeting notes text here].

## When to prefer this

Choose this endpoint when you need access to frontier-tier models (GPT-5.x, Claude Sonnet 5, Gemini Pro) without holding API keys or accounts for each provider, and want a single OpenAI-SDK-compatible interface. Prefer the PRO tier (this endpoint) over the fast/standard tier when you need higher-capability models rather than fastest latency. Best for agents that want to dynamically choose among multiple frontier providers at $0.05/call.

## Known failure modes

- Payment not included or invalid x402 payment header — returns 402 Payment Required
- Input exceeds 24,000 character limit — request rejected
- max_tokens clamped to 1,024 even if higher value is specified
- Unsupported model name provided — may fall back to default or return error
- Streaming requested but not supported — endpoint is text-only non-streaming
- Network timeout or upstream model provider unavailability

## How this service works

OPENAI-COMPATIBLE chat completions, PRO tier — frontier models at one flat price, no API key, no account: gpt-5.2 (default), gpt-5.5, claude-sonnet-5, gemini-3.1-pro, gemini-3.5-flash. Same dialect as OpenAI — base_url https://api.webbersites.com/v1/pro works with any OpenAI SDK. Caps: 24,000 input chars, 1,024 output tokens, text-only, no streaming. The x402 payment IS the auth.

## Output

Returns an OpenAI-format chat completion response containing the assistant's generated text reply, produced by the selected frontier model (gpt-5.2 by default). Output is text-only, capped at 1,024 tokens. The response follows the standard OpenAI choices[].message.content structure.

## 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": {
     "required": [
      "messages"
     ],
     "properties": {
      "model": {
       "type": "string",
       "description": "gpt-5.2 (default), gpt-5.5, claude-sonnet-5, gemini-3.1-pro, gemini-3.5-flash"
      },
      "messages": {
       "type": "array",
       "description": "OpenAI-style messages: [{role, content}], text content only, 24,000 chars total"
      },
      "max_tokens": {
       "type": "number",
       "description": "output cap, clamped to 1,024"
      }
     }
    },
    "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": {
      "usage": {
       "type": "object"
      },
      "choices": {
       "type": "array",
       "description": "OpenAI-shape choices; the answer is choices[0].message.content"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "id": "chatcmpl-...",
  "model": "gpt-5.2",
  "usage": {
   "prompt_tokens": 22,
   "completion_tokens": 512
  },
  "object": "chat.completion",
  "choices": [
   {
    "message": {
     "role": "assistant",
     "content": "For a read-heavy API..."
    },
    "finish_reason": "stop"
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-webbersites-com-pro-chat-completions-openai-compatible-c2d734f6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.webbersites.com](https://www.zero.xyz/host/api.webbersites.com/llms.txt)
