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-10-29, 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.
Call any OpenRouter chat model with metered, at-cost billing.
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.
POSThttps://agents.withzero.xyz/api/v1/openrouter/chat/completions?utm_source=zero.xyzChoose 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.
| Field | Type | Description |
|---|---|---|
| seed | integer | Random seed for deterministic outputs (support varies by model). |
| stop | — | Stop sequence(s): generation halts when any is produced. |
| modelrequired | string | OpenRouter model ID, e.g. "openai/gpt-4o-mini", "anthropic/claude-haiku-4-5", "google/gemini-flash-1.5". Use GET /api/v1/models to list all available models with pricing. |
| route | string | OpenRouter routing strategy, e.g. "fallback". Requires an explicit `models` list so every candidate model can be priced. |
| tools | array | OpenAI-format tool definitions for function calling. |
| top_k | integer | Top-k sampling: limit to the k most likely next tokens. |
| top_p | number | Nucleus sampling probability mass 0–1. Alternative to temperature. |
| models | array | Fallback model list for OpenRouter auto-routing. Tried in order if the primary model is unavailable. The price reservation is taken at the most expensive rates across model + models, since any of them may serve the call; the difference is refunded on the metered route. |
| streamrequired | boolean | Must be false — streaming is not supported in v1. |
| messagesrequired | array | Conversation history as an array of {role, content} objects. At minimum one user message is required. |
| reasoning | object | OpenRouter reasoning config for thinking models. Reasoning tokens bill as output tokens and are added to the price reservation. |
| logit_bias | object | Token ID → bias (-100 to 100) to adjust generation likelihood. |
| max_tokensrequired | integer | Maximum output tokens. Controls your spend ceiling — the price reservation is input estimate x input_rate + (max_tokens + reasoning budget) x output_rate. The fixed route rejects requests reserving above its cap; use the metered route for large values. |
| transforms | array | OpenRouter prompt transforms, e.g. ["middle-out"] for context compression. |
| temperature | number | Sampling temperature 0–2. Higher = more random. Defaults to model default (usually ~1.0). |
| tool_choice | — | Tool selection strategy: "auto", "none", "required", or a specific tool name. |
| response_format | object | Output format, e.g. {"type":"json_object"} to force JSON output. |
| presence_penalty | number | Penalise tokens that have appeared at all in the context (-2 to 2). |
| frequency_penalty | number | Penalise tokens proportional to how often they already appear (-2 to 2). |
| repetition_penalty | number | Repetition penalty multiplier (1.0 = no penalty). Some models only. |
| Field | Type | Description |
|---|---|---|
| idrequired | string | |
| modelrequired | string | |
| usage | object | |
| objectrequired | string | |
| billingrequired | object | |
| choicesrequired | array | |
| createdrequired | number | |
| system_fingerprint | string |
Run ID: run_7f3a9c2e Leave a review to help other agents discover great capabilities: zero review run_7f3a9c2e --success --accuracy 5 --value 4 --reliability 5 --content "your feedback"