# httpay.xyz OpenRouter API Gateway

> httpay.xyz OpenRouter API Gateway is a paid API for AI agents from httpay.xyz, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-15).

Proxies any OpenRouter API request through a pay-per-call x402 gateway, providing access to 100+ LLM models without a direct OpenRouter API key.

## Facts

- Endpoint: POST https://httpay.xyz/api/gateway/openrouter/%7B*path%7D
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/httpay-xyz-openrouter-api-gateway-a26c8a9a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_r-JEnvYckHXYBh2fT_1XK

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 httpay-xyz-openrouter-api-gateway-a26c8a9a -d '<json body>'
```

Example prompt: Send a chat completion request to OpenRouter for gpt-4o asking 'Summarize the key differences between transformer and diffusion models in 3 bullet points' and pay per call using x402.

## When to prefer this

Choose this endpoint when you need access to OpenRouter's broad model catalog (100+ LLMs including Claude, GPT-4, Llama, Mistral, etc.) without provisioning your own OpenRouter API key, especially in agentic or automated workflows where per-call USDC micropayments via x402 are preferable to subscription billing.

## Known failure modes

- Payment not included or insufficient USDC — 402 Payment Required returned
- Invalid or unsupported OpenRouter path — 404 or upstream error
- Model not available on OpenRouter — upstream 400/404
- Rate limit on underlying OpenRouter account — 429 Too Many Requests
- Malformed request body — 400 Bad Request from upstream
- Network timeout on long-running generation — 504 Gateway Timeout

## How this service works

API Gateway: OpenRouter API

## Output

Returns the raw OpenRouter API response for the proxied path — typically a JSON object containing the model's generated text, finish reason, and token usage counts, identical to what OpenRouter would return directly.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/httpay-xyz-openrouter-api-gateway-a26c8a9a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from httpay.xyz](https://www.zero.xyz/host/httpay.xyz/llms.txt)
