> For the complete documentation index, see [llms.txt](https://docs.cherry-ai.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cherry-ai.com/docs/en-us/pre-basic/providers/openrouter.md).

# OpenRouter

OpenRouter is a**unified gateway**, which lets you access 200+ providers’ chat models with one key (GPT, Claude, Gemini, Llama, DeepSeek, etc.), billed by tokens, suitable for multi-model comparison / users who can’t register accounts one by one.

## Get an API Key

* Go to [OpenRouter](https://openrouter.ai/) Register account
* `Settings → Keys` → `Create Key`, copy `sk-or-...` Key
* Top up any amount (minimum $1)

## Configure in Cherry Studio

* Open `Settings → Model Services`, find **OpenRouter** Provider to enter the details page
* **API key** Fill in `sk-or-...`
* **API address** Default `https://openrouter.ai/api`, no need to modify
* Click **Get model list**, OpenRouter will return hundreds of available models

## Recommended usage

OpenRouter model IDs look like `<vendor>/<model>`:

| Example model IDs                   | Who it actually is        |
| ----------------------------------- | ------------------------- |
| `openai/gpt-4o`                     | OpenAI GPT-4o             |
| `anthropic/claude-sonnet-4`         | Anthropic Claude Sonnet 4 |
| `google/gemini-2.0-flash`           | Google Gemini Flash       |
| `meta-llama/llama-3.3-70b-instruct` | Meta Llama 3.3 70B        |
| `deepseek/deepseek-chat`            | DeepSeek V3               |
| `x-ai/grok-4`                       | xAI Grok                  |

## Applicable scenarios

* **Multi-model A/B comparison**: switch models freely under the same Cherry Studio Provider, no need to switch Providers
* **Avoid registering one by one**: one key, one invoice, and you can use 200+ models
* **Niche models**: many smaller vendors are only available on OpenRouter (such as Cohere, Reka, etc.)

## Relationship with the Anthropic protocol

By default, OpenRouter wraps all upstream models in the OpenAI protocol format. This means:

* ✅ Works for regular chat, knowledge bases, and quick assistants
* ⚠️ [Cherry Agent](/docs/en-us/cherry-studio/preview/agent.md) **Recommended to use directly** Anthropic / CherryIN; do not use OpenRouter (Agent requires the native Anthropic protocol)

{% hint style="info" %}

* OpenRouter adds a small markup on top of the original provider’s price (usually 5-10%), in exchange for "one account for all"
* Some models have a "free" version (free with rate limits); when filtering, pay attention to items with the `(free)` suffix
* See the detailed pricing table at [OpenRouter Models](https://openrouter.ai/models)
  {% endhint %}

***

### 💡 Get help and submit feedback

If you encounter any questions, bugs, or have suggestions for feature improvements during configuration or use, please refer to [Feedback and Suggestions](/docs/en-us/question-contact/suggestions.md) the official channels provided there.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.cherry-ai.com/docs/en-us/pre-basic/providers/openrouter.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
