> ## Documentation Index
> Fetch the complete documentation index at: https://magicads.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# OpenRouter

> OpenRouter provides a unified API that gives you access to hundreds of AI models through a single endpoint

<Check>
  This is a free extension available for anyone
</Check>

<Card title="Supported LLM Models">
  * OpenAI | o3 mini
  * OpenAI | o1 mini
  * OpenAI | o1
  * OpenAI | GPT 4.5
  * OpenAI | GPT 4 Turbo
  * OpenAI | GPT 4o mini
  * OpenAI | GPT 4o
  * OpenAI | GPT 4
  * OpenAI | GPT 3.5 Turbo
  * More will be added soon...
</Card>

<Note>Please note that at the moment we have added support for OpenAI models in AI Writer and AI Chat feature, other models will be supported soon with OpenRouter.</Note>

## Extension Configuration

To be able to use OpenRouter feature, follow these steps to setup OpenRouter Extension.

<Steps>
  <Step title="Step 1">
    Go to the **Marketplace** in **Admin Panel** and install **OpenRouter** extension.

    <img src="https://mintcdn.com/magicads/dYFGOqfTWj_LAAnj/images/extensions/openrouter/open-1.png?fit=max&auto=format&n=dYFGOqfTWj_LAAnj&q=85&s=4c9d2f950989eec4cd56926c3a5d10d2" width="397" height="280" data-path="images/extensions/openrouter/open-1.png" />
  </Step>

  <Step title="Step 2">
    After installation is completed, go to **AI Settings** page in Admin Panel and click on **Extensions** tab there. Click on **OpenRouter** there.

    <img src="https://mintcdn.com/magicads/dYFGOqfTWj_LAAnj/images/extensions/openrouter/open-2.png?fit=max&auto=format&n=dYFGOqfTWj_LAAnj&q=85&s=ad37f11232703a24368ea8e8f6e04ecb" width="540" height="105" data-path="images/extensions/openrouter/open-2.png" />
  </Step>

  <Step title="Step 3">
    Register with OpenRouter:

    1. Go to <a href="https://openrouter.ai/" target="_blank">OpenRouter</a> website and sign up with them in case if don't have an account with them.
    2. After your are logged into your OpenRouter account, click on the **API Keys** and click on **Create Key** button.
           <img src="https://mintcdn.com/magicads/dYFGOqfTWj_LAAnj/images/extensions/openrouter/open-3.png?fit=max&auto=format&n=dYFGOqfTWj_LAAnj&q=85&s=aa83d423c494a846f905fb53a8c59970" width="1632" height="508" data-path="images/extensions/openrouter/open-3.png" />
    3. Also make sure you fill up your credits under **Credits** tab in your OpenRouter account as OpenRouter does not offer any free credits to use their platform.
       <Note>Store your API key securely and never share it publicly. The key can provide direct access to your account.</Note>
  </Step>

  <Step title="Step 4">
    To control the settings of **OpenRouter** exension, return to **AI Settings** page in Admin Panel and click on the **Extensions** tab, and select **OpenRouter** extension.
    Configuration of OpenRouter is done on this page, there will be no new menu item added in the Admin Panel. Below is the explanation of each field on OpenRouter page.

    * Enter your **OpenRouter API Key**
    * Turn on **Use OpenRouter** checkbox if you want to use your OpenRouter account instead other vendors, and AI Writer and AI Chat features will automatically start using OpenRouter for supported models.

    <img src="https://mintcdn.com/magicads/dYFGOqfTWj_LAAnj/images/extensions/openrouter/open-4.png?fit=max&auto=format&n=dYFGOqfTWj_LAAnj&q=85&s=a751aef874ae41a573fcb8db201d2863" width="809" height="444" data-path="images/extensions/openrouter/open-4.png" />
  </Step>

  <Step title="Step 5">
    You now have completed the OpenRouter extension configuration.
  </Step>
</Steps>

<Check>
  You have successfully comleted the setup process of this extension.
</Check>
