Guide on generating OpenRouter API keys and using them in Porter AI.
Go to https://openrouter.ai and sign up or log in.
Click your profile in the top right corner and generate an API key using the Create Key
button on the API Keys page.
OpenRouter is a service that routes API requests to various models from OpenAI, Anthropic, and others. Select the model you want to route to in the Default Model section of the Settings page.
In Settings > Models
, click the icon for OpenRouter and enter your API key.
Click the Add
button to add a model as shown. The model display name can be customized and will be shown when selecting models in chats. For the model name, enter the model name you set as Default Model in OpenRouter.