Skip to main content
OpenRouter is a hosted gateway that gives you many model providers through a single API key. PipesHub has a native OpenRouter provider: you enter only your API key and a model name. PipesHub sends requests to https://openrouter.ai/api/v1, so there is no endpoint field.

Before you start

Create an account at openrouter.ai, add credit, and generate an API key under Keys.

Required Fields

API Key *

Your OpenRouter API key. Keys begin with sk-or-. Requests fail once your OpenRouter balance reaches zero.

Model Name *

The model identifier in OpenRouter’s provider/model form, for example anthropic/claude-sonnet-5.5, openai/gpt-6-luna or google/gemini-3.8-flash. Use the exact identifier from the OpenRouter models page, including the provider prefix.

Optional Fields

Model Friendly Name

A label shown in the PipesHub interface so you can tell several configurations apart. If you leave it blank, the model name is used.

Context Length

The size of the model’s context window, in tokens. Set it to the value shown for the model on OpenRouter. Leave it empty and PipesHub assumes 128,000.

Multimodal

Turn this on if the model accepts images as well as text. It is on by default. Check the model’s page on OpenRouter before you leave it on; if the model refuses images, the check run when you save the model fails.

Reasoning

Turn this on if the model reasons before it answers. It is on by default.

Configuration Steps

  1. Open Workspace settings → AI models and click the For LLMs tab.
  2. Click Configure on the OpenRouter provider card.
  3. Enter your API Key and the Model Name.
  4. (Optional) Set the optional fields above.
  5. Click Add model. PipesHub runs a health check before it saves the model.
Add OpenRouter LLM panel with API Key, Model Name, Context Length and the Reasoning and Multimodal togglesAdd OpenRouter LLM panel with API Key, Model Name, Context Length and the Reasoning and Multimodal toggles

Forward user identity

OpenRouter is one of the gateway providers that can receive who is asking with each request. See Identity forwarding.

Troubleshooting

  • The key is rejected. Check that the key is correct, has not been revoked, and that your OpenRouter account has credit.
  • The model is not found. Check the provider/model identifier on the OpenRouter models page. A name without the provider prefix, such as gpt-6-luna, is not found.
  • The check fails with a message about images. Turn off Multimodal, or choose a model that reads images.
For the full list of health check messages, see AI models overview.