Skip to main content

    How to use OpenRouter models

    OpenRouter Logo

    OpenRouter (openrouter.ai) is a service that gives you access to LLM models that you normally won't have access to (GPT-4 32K, Google PaLM, Anthropic, etc.)

    Here is how to use OpenRouter models on YNO AI:

    OpenRouter Overview

    1. Create an account

    Go to openrouter.ai and create an account. OpenRouter lets you use some models for free, or you can buy additional credits to use the premium models.

    Create Account

    2. Create an API key

    After signing up, go to https://openrouter.ai/keys to create an API key. Enter "YNO AI" in the name field. Leave the "Credit limit" empty to set the limit to unlimited.

    Create API Key

    3. Add credits

    Go to Account > Settings, scroll down to the credit section, and add credits so you can use the generated API keys.

    Add Credits

    4. Add a custom model to YNO AI

    4.1. Direct import

    Click Model Settings, then click "Add Custom Model".

    Model Settings
    Add Custom Model

    Choose "Import OpenRouter", enter the API key generated in Step 2, and click "Check API Key".

    Import OpenRouter

    A list of chat models will appear; you can pick one or multiple chat models at a time from the list.

    Select Models

    Click "Import model(s)" and you will be able to use your selected custom model.

    Import Models
    Models Added

    5. Use the model

    Select the model and start chatting!

    Select Model
    Chat with Model