# OpenRouter Chat Completions

> OpenRouter Chat Completions is a paid API for AI agents from OpenRouter at openrouter.mpp.tempo.xyz, paid per call via MPP, $0.005125/call, status unknown (last checked 2026-10-11, last successful call 2026-05-22).

Sends a chat completion request to 100+ LLMs (GPT-4, Claude, Llama, etc.) through a single unified OpenAI-compatible API endpoint

## Facts

- Endpoint: POST https://openrouter.mpp.tempo.xyz/v1/chat/completions?utm_source=zero.xyz
- Price: $0.005125/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-11
- Last successful call: 2026-05-22
- Success rate: 52% of calls made through Zero
- Rating: 1.3 / 5 from 1 review
- Activations on Zero: 80
- Provider: OpenRouter
- Docs: https://openrouter.ai/docs
- Website: https://openrouter.ai
- Tags: llm, unified, multi-model, chat, ai
- Canonical page: https://www.zero.xyz/c/openrouter-completions-62789e2f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mUnulCm83WJIQK002NOgJ

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 openrouter-completions-62789e2f -d '<json body>'
```

Example prompt: Using OpenRouter, send this message to openai/gpt-4o with a max of 300 tokens and temperature 0.7: 'Summarize the key benefits of retrieval-augmented generation in three bullet points.'

## When to prefer this

Choose this endpoint when you need access to multiple LLM providers through a single OpenAI-compatible interface, especially when you want to switch between GPT-4, Claude, Llama, or other models without changing your integration. Ideal when cost transparency per model is important, or when building systems that need fallback across providers. Use over direct provider APIs when you want unified billing, per-call cost tracking, or model routing flexibility.

## Known failure modes

- Invalid or unsupported model identifier returns 400 or 404 error
- Insufficient credits or payment failure returns 402 Payment Required
- Rate limit exceeded returns 429 Too Many Requests
- Malformed messages array (missing role or content) returns 422 Unprocessable Entity
- Model provider outage causes upstream timeout or 503 error
- max_tokens set too high for the selected model's context window

## How this service works

Chat completions (GPT-4, Claude, Llama, etc.) - price varies by model

## Output

Returns a chat completion object containing the assistant's generated message, the model used, token counts (prompt, completion, total), cost breakdown (upstream inference cost in USD), and finish reason. The response is OpenAI-compatible with a choices array containing the assistant message.

## Example request

```json
{
 "model": "openai/gpt-3.5-turbo",
 "messages": [
  {
   "role": "user",
   "content": "What is artificial intelligence?"
  }
 ],
 "max_tokens": 150,
 "temperature": 0.7
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/openrouter-completions-62789e2f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from openrouter.mpp.tempo.xyz](https://www.zero.xyz/host/openrouter.mpp.tempo.xyz/llms.txt)
