# httpay.xyz Together AI API Gateway

> httpay.xyz Together AI API 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-08).

Proxies POST requests to Together AI's API, enabling access to Together AI's LLM inference endpoints via a pay-per-call x402 micropayment gateway.

## Facts

- Endpoint: POST https://httpay.xyz/api/gateway/togetherai/%7B*path%7D/*
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-08
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/httpay-xyz-21da8331
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_uluAxvnX_-d1IN7Jl0Uwd

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-21da8331 -d '<json body>'
```

Example prompt: Send a chat completion request to Together AI's API using the Llama-3 70B model — the prompt is 'Explain quantum entanglement in simple terms' — and return the generated response.

## When to prefer this

Choose this endpoint when you need to call Together AI's inference API on a pay-per-call basis without managing a Together AI API key, especially useful for agents that need ad-hoc LLM inference at $0.005 USDC per call via x402 micropayments.

## Known failure modes

- Payment not provided or insufficient — 402 Payment Required
- Invalid Together AI API path — 404 Not Found
- Together AI upstream error — 500 or 502 from upstream
- Malformed request body — 400 Bad Request
- Together AI rate limit exceeded — 429 Too Many Requests
- Unsupported model or endpoint path — error from upstream

## How this service works

API Gateway: Together AI API

## Output

The raw Together AI API response for the given path and request body, including generated text completions, chat responses, or other model outputs depending on the endpoint called.

## More

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