> 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/anthropic.md).

# Anthropic

Anthropic の Claude は現在、 [Cherry Agent](/docs/jp/cherry-studio/preview/agent.md) バックエンドのモデルの一つです。なぜなら Agent には Anthropic プロトコルのエンドポイントが必要だからです。

## API Keyを取得

* へ移動 [Anthropic Console](https://console.anthropic.com/) アカウント登録
* に入る `Settings → API Keys` → `Create Key`、生成された `sk-ant-...` キー

## Cherry Studioで設定

* 開く `設定 → モデルサービス`、見つけて **Anthropic** Providerを開いて詳細ページへ
* で **API キー** に入力 `sk-ant-...`
* **API アドレス** デフォルト `https://api.anthropic.com`、変更不要
* クリック **モデル一覧を取得**、追加 `claude-opus-4`、`claude-sonnet-4`、`claude-haiku-4` などのモデル

## 推奨の使い方

| モデル               | 適したシーン                                |
| ----------------- | ------------------------------------- |
| `claude-opus-4`   | 最強の推論 / プログラミング / 複雑な Agent タスク       |
| `claude-sonnet-4` | 汎用対話と日常的な Agent に最適、コストパフォーマンス重視の第一候補 |
| `claude-haiku-4`  | 高スループットの場面、低コストで高速応答                  |

## Agent シナリオ設定

この Provider を [Cherry Agent](/docs/jp/cherry-studio/preview/agent.md) 設定時にデフォルトのモデルソースとして選べば、Anthropic プロトコルの Agent 機能を直接利用できます。

{% hint style="info" %}

* 中国本土からは Anthropic API に直接アクセスできないため、プロキシを用意する必要があります（参考 [一般設定 → プロキシモード](/docs/jp/pre-basic/settings/general.md)）
* Claude Code を購読しているユーザーも、同じ key + endpoint で Cherry Studio に接続できます
* Claude モデルは token 単位で課金されるため、長いコンテキストでは使用量に注意してください
  {% 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/anthropic.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.
