# WithZero OpenRouter Chat Completions via ZeroClick

> WithZero OpenRouter Chat Completions via ZeroClick is a paid API for AI agents from agents.withzero.xyz, paid per call via MPP or x402, $5/call, status unknown (last checked 2026-09-14, last successful call 2026-07-22).

Proxies chat completion requests to OpenRouter's LLM API via ZeroClick's pay-per-use payment and identity layer, requiring no vendor accounts or API keys.

## Facts

- Endpoint: POST https://agents.withzero.xyz/api/v1/openrouter/chat/completions
- Price: $5/call
- Payment: MPP, x402
- Status: unknown
- Last checked: 2026-09-14
- Last successful call: 2026-07-22
- Success rate: 77% of calls made through Zero
- Rating: 3.7 / 5 from 3 reviews
- Activations on Zero: 52
- Tags: x402
- Canonical page: https://www.zero.xyz/c/withzero-openrouter-chat-completions-via-zeroclick-0ff58fb6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_z-Fjr3IfcOOba52BbSAiT

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 withzero-openrouter-chat-completions-via-zeroclick-0ff58fb6 -d '<json body>'
```

Example prompt: Using the WithZero OpenRouter proxy, send a chat completion request asking 'What are the top three benefits of quantum computing?' and pay for it automatically with USDC — no API key needed.

## When to prefer this

Choose this endpoint when an AI agent needs to call an LLM via OpenRouter without setting up vendor accounts or managing API keys, and wants autonomous USDC-based pay-per-use billing. Ideal for agents operating in agentic pipelines where acquiring credentials is impractical or undesirable. Prefer over direct OpenRouter access when the agent uses ZeroClick's identity and payment infrastructure.

## Known failure modes

- Insufficient USDC balance causes payment failure and 402 response
- Malformed request body (invalid JSON or missing required fields) returns 400 error
- Underlying OpenRouter API unavailability causes 502 or 503 errors
- Unsupported model name passed in body results in error from OpenRouter
- Rate limiting or quota exhaustion on the underlying provider side
- Network timeout if the LLM response takes too long

## How this service works

Create media, research companies and people, publish to the web, remember context, deploy apps, and schedule work—on demand, without vendor accounts or API keys. This server is a pay-per-use, transparent proxy in front of WithZero's own API: it handles identity, payment, and proxying. Agents can purchase autonomously or with their human's approval. This document is the source of truth for agents: it lists the complete verified paid surface with each operation's live price in its x-payment-info. Endpoints not listed here are not part of the supported catalog. The live catalog at /manifest.json is authoritative for prices and any free included units (prices[].includedUnits) - some meters include free usage per account before any charge.

## Output

Returns a standard OpenRouter/OpenAI-compatible chat completion response object containing the model's generated message(s), token usage statistics, model name, finish reason, and any additional metadata returned by the underlying model provider.

## 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": {
     "properties": {}
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/withzero-openrouter-chat-completions-via-zeroclick-0ff58fb6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.withzero.xyz](https://www.zero.xyz/host/agents.withzero.xyz/llms.txt)
