# httpay.xyz Perplexity AI Chat Completions Gateway

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

Proxies chat completion requests to Perplexity AI's API via a pay-per-call x402 payment gateway

## Facts

- Endpoint: POST https://httpay.xyz/api/gateway/perplexity/chat/completions
- Price: $0.005/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-82c89ae7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_AsSi1ipSQ1fN1LpI_gtuo

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-82c89ae7 -d '<json body>'
```

Example prompt: Ask Perplexity AI: 'What are the latest developments in fusion energy research as of 2025?' using the sonar model and give me a thorough, cited answer.

## When to prefer this

Choose this endpoint when you need pay-per-call access to Perplexity AI's chat completions (including its web-grounded sonar models) without managing a Perplexity API subscription, paying $0.005 USDC per call via the x402 protocol. Ideal for AI agents that need occasional or unpredictable Perplexity AI access with automatic micropayments.

## Known failure modes

- Payment not provided or insufficient USDC — 402 Payment Required
- Invalid or malformed messages array — 400 Bad Request
- Unsupported model name specified — 400 or 422 error
- Perplexity AI upstream outage — 502 or 503 error
- Rate limit exceeded on the gateway — 429 Too Many Requests
- Missing required fields in request body — 400 Bad Request

## How this service works

API Gateway: Perplexity AI API

## Output

Returns a Perplexity AI chat completion object containing the assistant's generated response message, finish reason, and token usage statistics — following the standard OpenAI-compatible chat completions response format.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/httpay-xyz-82c89ae7/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)
