API Credentials for OpenRouter

Guide to obtaining tokens, keys, and connections.

To use the OpenRouter.AI API you need an 'API Key'. Follow these steps to get it:

Get API Key from OpenRouter.AI

  1. 1

    Go to the website https://openrouter.ai

  2. 2

    If you haven't already, log in with your OpenRouter.AI account.

  3. 3

    Click on your user icon, located at the top right corner of the screen.

  4. 4

    In the menu that appears, select the option called 'Keys'.

  5. 5

    Inside the 'Keys' section, click the button that says 'Create API Key'.

  6. 6

    You will be asked to give a name to identify your new key. For example, type 'botize'.

  7. 7

    Then, click the 'Create' button.

  8. 8

    The page will now display your new API Key. Copy this code and save it in a safe place, as you will need it and won’t be able to see it again later.