# Anthropic

Anthropic 嘅 Claude 係而家最適合做為 [Cherry Agent](/docs/zhong-wen-fan-ti/cherry-studio/preview/agent.md) 後端模型之一，因為 Agent 需要 Anthropic 協議端點。

## 拎 API Key

* 去 [Anthropic Console](https://console.anthropic.com/) 註冊帳號
* 入去 `設定 → API Keys` → `建立金鑰`，複製生成嘅 `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/zhong-wen-fan-ti/cherry-studio/preview/agent.md) 配置時選為預設模型來源，即可直接獲得 Anthropic 協議 Agent 能力。

{% hint style="info" %}

* 中國大陸無法直接訪問 Anthropic API，需自備代理（參考 [常規設定 → 代理模式](/docs/zhong-wen-fan-ti/pre-basic/settings/general.md)）
* 訂閱咗 Claude Code 嘅用戶亦可用同一 key + endpoint 接入 Cherry Studio
* Claude 模型按 token 計費，長上下文請留意用量
  {% endhint %}

***

### 💡 獲取幫助同提交反饋

如果您喺配置或使用過程中遇到任何疑問、Bug 或有功能改進建議，請參考 [反饋同建議](/docs/zhong-wen-fan-ti/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:

```
GET https://docs.cherry-ai.com/docs/zhong-wen-fan-ti/pre-basic/providers/anthropic.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.
