About OpenRouter
OpenRouter is a platform that provides a unified API for accessing various large language models (LLMs) from different providers, allowing developers to integrate multiple AI models seamlessly.
Say what should happen in OpenRouter, in plain words. Whenever builds it and runs it on a schedule, webhook or app event.
Connection requirements, provider permissions and optional AI usage apply. Read the runtime limits.
No credit card needed.
OpenRouter is a platform that provides a unified API for accessing various large language models (LLMs) from different providers, allowing developers to integrate multiple AI models seamlessly.
Through its API, with the provider’s credentials and permissions.
Connect Claude, Cursor or Codex to the Whenever MCP server. Your coding agent builds and deploys the OpenRouter workflow. It then runs on Whenever, with the chat closed.
Set up the Whenever MCP serverOpenRouter is one API in front of many model providers. Instead of keeping separate keys and request formats for each lab, you send a chat completion request to OpenRouter’s endpoint in the OpenAI-compatible format and choose the model by its slug, such as a provider name followed by the model name. That makes it a practical choice when a workflow needs to compare models, switch to a cheaper one, or keep going when one provider has an outage.
Billing is prepaid credits on the OpenRouter account, charged according to each model’s listed price; running out returns a payment-required error. The models endpoint returns available models with context length and prompt and completion prices, which lets a workflow pick or check a model before using it. Some models are offered as free variants with a :free suffix; OpenRouter caps requests to these per minute and per day, so they suit experiments more than a schedule your team depends on.
Routing options are where OpenRouter differs from calling one provider. A request can list fallback models so that if the first fails or is rate limited the next is tried, and provider preferences can restrict or order which upstream hosts serve an open-weight model, including excluding providers that store prompts. Each response reports the model actually used and token usage, and the generation lookup returns the cost of a completed request after the fact.
In a Whenever workflow, a call to OpenRouter is an AI step: the steps around it run the same way every time, but the model’s text can differ between runs, and the tokens are billed to your OpenRouter credits. Keep the deterministic parts, such as reading rows, calculating totals and deciding who receives what, outside the model, and give it a narrow job like classifying or summarising text you supply.
Starter briefs to set up with your accounts, not finished workflows.
Uses a primary model and a backup so classification continues during a provider outage.
Tracks pricing for the handful of models a team actually uses.
Sums generation costs recorded by earlier runs so AI usage stays visible.
Its chat completions endpoint follows the OpenAI request and response shape, with the model chosen by OpenRouter slug and extra routing parameters available.
Requests draw down prepaid credits at each model’s per-token price, shown on the models list. Usage per request is returned in the response.
You can list fallback models in the request; OpenRouter tries them in order if the first errors or is rate limited. The response shows which model answered.
Free variants have lower rate limits and availability can change, so treat them as best-effort rather than something a recurring job depends on.
One workflow free. No card. Weekly AI-building limits.