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

# OpenRouter

> Access 100+ AI models through a single API key with OpenRouter

OpenRouter provides access to hundreds of AI models through a single API key. Instead of managing separate keys for each provider, you configure one OpenRouter key and gain access to models from OpenAI, Anthropic, Google, Meta, Mistral, and many more.

## Why OpenRouter

* **Single API key** for all models — no need to manage multiple provider accounts
* **Pay-per-use pricing** — only pay for what you use, with transparent per-token costs
* **Automatic fallbacks** — if a model is unavailable from one provider, OpenRouter routes to an alternative
* **Usage monitoring** — track spending and usage across all models from one dashboard

## Setup

<Steps>
  <Step title="Create an account">
    Go to [openrouter.ai](https://openrouter.ai) and sign up for an account.
  </Step>

  <Step title="Generate an API key">
    Navigate to your dashboard and generate a new API key. Copy the key.
  </Step>

  <Step title="Add the key in Parsaa">
    Open **Settings → Models → Custom Providers** and paste the key under **OpenRouter**.
  </Step>

  <Step title="Select a model">
    Open the model picker in Parsaa. OpenRouter models appear alongside other configured providers. Select any model to start using it.
  </Step>
</Steps>

## Cost Optimization

OpenRouter automatically routes requests to the most cost-effective provider for each model. When the same model is available from multiple hosting providers, OpenRouter selects the one with the best combination of price and availability.

<Tip>
  OpenRouter can be more cost-effective than direct provider access for some models, since it aggregates pricing across multiple infrastructure providers.
</Tip>

## Next Steps

<CardGroup cols={2}>
  <Card title="Supported Models" icon="brain" href="/providers/supported-models">
    See all models available in Parsaa.
  </Card>

  <Card title="API Keys" icon="key" href="/providers/api-keys">
    Configure keys for other providers.
  </Card>
</CardGroup>
