> 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="https://2710796253-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1owsFaIE3ayVm2lf3QZG%2Fuploads%2FYAGKpiaeW8S18yQb0B48%2Ffirefox_IwoVoAvTxp.png?alt=media&amp;token=cd6bc6ca-9a8f-4730-8389-7a1c2466cdc0" 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="https://2710796253-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1owsFaIE3ayVm2lf3QZG%2Fuploads%2FddWrDmpK4iLLTjlNUfHj%2Ffirefox_owdWtlSils.png?alt=media&amp;token=8175cd90-3b1c-43f1-8d7f-298aa5c83d51" alt=""><figcaption></figcaption></figure></div>

{% endstep %}

{% step %}

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

<div align="left"><figure><img src="https://2710796253-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1owsFaIE3ayVm2lf3QZG%2Fuploads%2FojqdtUi3U1ZhIfQfvMM6%2Fimage.png?alt=media&amp;token=0d9c5f30-40df-4f44-8f34-d85df67b1bb1" alt=""><figcaption></figcaption></figure></div>

Choose your model under "Default Model":\
\
![](https://2710796253-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1owsFaIE3ayVm2lf3QZG%2Fuploads%2FkzK4AiuKPXUvwZMyYlc0%2Fimage.png?alt=media\&token=6a88594d-9ae6-4524-bd96-66ace6d05e7e)
{% 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="https://2710796253-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1owsFaIE3ayVm2lf3QZG%2Fuploads%2F3xsqEXsSV6WQuNPiZE65%2Fimage.png?alt=media&amp;token=dffbba4c-7a15-4240-9858-084ec5d90b97" 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="https://2710796253-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1owsFaIE3ayVm2lf3QZG%2Fuploads%2FqVO2VmLBg7z6xrJbE47H%2Ffirefox_xnGOUKIoe8.png?alt=media&amp;token=d8efca9d-e857-4f3a-a06e-822da8659802" 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 %}
