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

# OpenRouter

OpenRouterは、ひとつの **統一ゲートウェイ**、1つのキーで200以上のベンダーの会話モデル（GPT、Claude、Gemini、Llama、DeepSeek など）に接続し、token単位で課金されるため、複数モデルの比較や、各社アカウントを1つずつ登録できないユーザーに適しています。

## API Key を取得

* へ移動 [OpenRouter](https://openrouter.ai/) アカウント登録
* `設定 → キー` → `キーを作成`、コピー `sk-or-...` キー
* 任意の金額をチャージ（最低 $1）

## Cherry Studio で設定

* 有効にすると `設定 → モデルサービス`、を見つける **OpenRouter** Provider に入って詳細ページへ
* **API キー** 入力する `sk-or-...`
* **API アドレス** デフォルトで `https://openrouter.ai/api`変更不要
* をクリック **モデル一覧を取得**、OpenRouterは数百の利用可能なモデルを返します

## 推奨の使い方

OpenRouterのモデルIDは次のような形式です `<vendor>/<model>`：

| モデルIDの例                             | 実際には誰か                    |
| ----------------------------------- | ------------------------- |
| `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                  |

## 適用場面

* **複数モデルのA/B比較**：同じ Cherry Studio Provider 内で自由にモデルを切り替えられ、Provider を切り替える必要はありません
* **個別登録を避ける**：1つのキーと1つの請求書で200以上のモデルを使えます
* **ニッチなモデル**：多くの小規模ベンダーは OpenRouter でのみ提供しています（例：Cohere、Reka など）

## ネイティブのネット接続とURL読み取り

OpenRouterの会話モデルは、ネイティブのウェブ検索とURL内容の読み取りを使用できます。モデルを選ぶときは名前の横の🌐アイコンを確認し、会話入力欄で🌐をオンにしてください。

【設定】→【ネットワーク検索】の【設定済みの検索サービスを優先使用】がオンのままだと、Cherry Studioは外部検索サービスを優先して使用します。オフにすると、OpenRouterのモデル本来の機能が優先されます。サービス提供者はネット接続リクエストを別途課金する場合があり、実際の費用はOpenRouterの請求書に従います。

## Anthropicプロトコルとの関係

OpenRouterはデフォルトでOpenAIプロトコル形式に基づいてすべての上流モデルをラップします。つまり：

* ✅ 通常の会話、ナレッジベース、クイックアシスタントはすべて利用可能
* ⚠️ [Cherry Agent](/docs/jp/cherry-studio/preview/agent.md) **直接使うことをおすすめします** Anthropic / CherryINを使用し、OpenRouterは使わないでください（AgentにはAnthropicのネイティブプロトコルが必要です）

{% hint style="info" %}

* OpenRouterは元の価格に少し上乗せされています（通常 5〜10%）が、その代わり「1つのアカウントで共通利用」できます
* 一部のモデルは「free」版（無料だが速度制限あり）を利用できます。絞り込み時は `(free)` サフィックスの項目に注意してください
* 詳しい料金表は [OpenRouter モデル](https://openrouter.ai/models)
  {% endhint %}

***

### ヘルプの取得とフィードバックの送信

設定または使用中に不明点、バグ、機能改善の提案がある場合は、 [フィードバックと提案](/docs/jp/question-contact/suggestions.md) に記載の公式チャネルをご参照ください。


---

# 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, and the optional `goal` query parameter:

```
GET https://docs.cherryai.com.cn/docs/jp/pre-basic/providers/openrouter.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
