> ## Documentation Index
> Fetch the complete documentation index at: https://codinitdev-mintlify-update-changelog-codinit-dev-90028.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# OpenRouter

> Access multiple AI models through a unified API with OpenRouter.

OpenRouter provides access to models from multiple providers through a single API.

**Website:** [https://openrouter.ai/](https://openrouter.ai/)

## Getting an API Key

1. Go to [OpenRouter](https://openrouter.ai/) and sign in with Google or GitHub
2. Navigate to the [keys page](https://openrouter.ai/keys)
3. Copy your API key (or create a new one)

## Configuration

1. Click the settings icon (⚙️) in CodinIT
2. Select "OpenRouter" as the API Provider
3. Paste your API key
4. Choose your model

## Supported Models

CodinIT automatically fetches available models. See [OpenRouter Models](https://openrouter.ai/models) for the complete list.

## Features

* **Message transforms:** Enable "Compress prompts and message chains to context size" to handle large prompts
* **Prompt caching:** Automatically passes caching to supported models
* **Gemini caching:** Manually enable "Enable Prompt Caching" for Gemini models

## Notes

* **Pricing:** Based on underlying model pricing. See [OpenRouter Models](https://openrouter.ai/models)
