# 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 %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://franofran.gitbook.io/franofran-docs/guides/how-to-setup-open-router.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
