Skip to content

How to setup with Openrouter.ai

Long Huynh edited this page Mar 5, 2024 · 5 revisions
  1. Login to OpenRouter account (https://openrouter.ai/).
  2. Go to https://openrouter.ai/keys.
  3. Click on 'Create Key'.
  4. Name your key and add an optional credit limit (recommended).
  5. Copy API key.
  6. Go to Obsidian > BMO Chatbot > REST API URL Connection > API Key and insert your API key.
  7. Add https://openrouter.ai/api/v1 to REST API URL.

Note: The REST API URL uses /chat/completions endpoints.