> ## Documentation Index
> Fetch the complete documentation index at: https://docs.spojit.com/llms.txt
> Use this file to discover all available pages before exploring further.

# OpenRouter

> Run workflow steps on hundreds of models from many makers through your own OpenRouter account.

Add your OpenRouter account to run workflow steps on any model OpenRouter offers, billed to your OpenRouter account. See [Your own AI providers](https://docs.spojit.com/ai-providers/overview.md) for how providers work.

## Get an API key

1. Sign in at [openrouter.ai](https://openrouter.ai/settings/keys) and open **Keys**.
2. Create a key. You can set a credit limit on it, which caps what Spojit can spend.
3. Copy the key. It starts with `sk-or-`.

## Add it in Spojit

1. Open **Settings → AI providers** and select **Add provider**.
2. Choose **OpenRouter**, give it a name and paste the key.
3. Select **Add provider**.

## Choose models

Add each model by the id shown on its page at [openrouter.ai/models](https://openrouter.ai/models). Ids have the form `maker/model`. Copy the id with the copy button next to the model's name.

Agent steps need a model that supports tools. On OpenRouter's models page, filter by **Tools** to see which do. Models that only take text pass the Test with images marked as not supported.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.