Documentation
Remote APIs
OpenRouter

OpenRouter

Integrate OpenRouter with Jan

OpenRouter (opens in a new tab) is a tool that gathers AI models. Developers can utilize its API to engage with diverse large language models, generative image models, and generative 3D object models.

To connect Jan with OpenRouter for accessing remote Large Language Models (LLMs) through OpenRouter, you can follow the steps below:

Step 1: Configure OpenRouter API Key

  1. Find your API Key in the OpenRouter API Key (opens in a new tab).
  2. Copy your OpenRouter API Key.
  3. There are three ways to configure your API Key in Jan app:
  • Navigate to the Jan app > Gear Icon (⚙️) > My Models tab > Add Icon (➕) next to OpenRouter.
  • Navigate to the Jan app > Thread > Model tab > Add Icon (➕) next to OpenRouter.
  • Navigate to the Jan app > Gear Icon (⚙️) > OpenRouter section under Model Providers.
  1. Insert your OpenRouter API Key.
  2. For OpenRouter, specify the model you want to use, or the system will default to the preset model linked to your OpenRouter API Key.

Step 2: Start Chatting with the Model

  1. Select the OpenRouter model you want to use.
  2. Specify the model's parameters.
  3. Start the conversation with the OpenRouter model.

Troubleshooting

If you encounter any issues during the integration process or while using OpenAI with Jan, consider the following troubleshooting steps:

  • Double-check your API credentials to ensure they are correct.
  • Check for error messages or logs that may provide insight into the issue.
  • Reach out to OpenRouter API support for assistance if needed.