> For the complete documentation index, see [llms.txt](https://franofran.gitbook.io/franofran-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://franofran.gitbook.io/franofran-docs/guides/how-to-setup-open-router.md).

# How to setup Open router

{% stepper %}
{% step %}

### <mark style="color:orange;">Go to</mark> [<mark style="color:orange;">Open Router</mark>](https://openrouter.ai/)

* Create an account
* You will have 50 free messages each day, however if you have spent 10$ on the site you will have 1k free per day
  {% endstep %}

{% step %}

### <mark style="color:orange;">Go to your profile on the top right corner and press keys</mark>

<div align="left"><figure><img src="/files/AaNumBFAFTEY6Nh2h554" alt=""><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}

### <mark style="color:orange;">Create a new Api key</mark>

* Press "Create key", name it and leave credit empty if you want
* After creating it <mark style="color:orange;">**COPY & SAVE IT**</mark> somewhere as you won't be able to see it afterwards.

<div align="left"><figure><img src="/files/v9E0tT6myU1uss185WN2" alt=""><figcaption></figcaption></figure></div>

{% endstep %}

{% step %}

### Go to Settings and then scroll all the way down

<div align="left"><figure><img src="/files/CG9hXNUuPEpcwNm2DMTx" alt=""><figcaption></figcaption></figure></div>

Choose your model under "Default Model":\
\
![](/files/omPitOLAuv0afuamc2QX)
{% endstep %}

{% step %}

### <mark style="color:orange;">Go to Janitor</mark>

* Enter any chat
* Click on the top button, you button can say "Janitor" if you were using the JLLM

<div align="left"><figure><img src="/files/EEQWCnrNX77L9Ah0n2fZ" alt=""><figcaption></figcaption></figure></div>

* Paste the blow link under "Other API/Proxy URL" and Paste your key under "Api Key", leave Model empty

```
https://openrouter.ai/api/v1/chat/completions
```

<div align="left"><figure><img src="/files/jGcx3jrZgOvVd9773Jgg" alt="" width="354"><figcaption></figcaption></figure></div>

{% endstep %}

{% step %}

### <mark style="color:orange;">Scroll down and press "Save settings</mark>"

{% endstep %}

{% step %}

### <mark style="color:orange;">Refresh the whole page(If you don't  your Api key wont work)</mark>

{% endstep %}

{% step %}

### <mark style="color:orange;">Congrats! You can now chat!</mark>

{% endstep %}
{% endstepper %}
