> ## Documentation Index
> Fetch the complete documentation index at: https://docs2.openclaw.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Arcee AI

[Arcee AI](https://arcee.ai) 通过 OpenAI 兼容 API 提供 Trinity 系列混合专家模型。所有 Trinity 模型均采用 Apache 2.0 许可证。Arcee 是官方 OpenClaw 插件，不随核心内置，因此在新手引导前需要先执行安装步骤。

可以直接通过 Arcee 平台访问 Arcee 模型，也可以通过 [OpenRouter](/zh-CN/providers/openrouter) 访问。

| 属性     | 值                                                                             |
| ------ | ----------------------------------------------------------------------------- |
| 提供商    | `arcee`                                                                       |
| 凭证     | `ARCEEAI_API_KEY`（直连）或 `OPENROUTER_API_KEY`（通过 OpenRouter）                    |
| API    | OpenAI 兼容                                                                     |
| 基础 URL | `https://api.arcee.ai/api/v1`（直连）或 `https://openrouter.ai/api/v1`（OpenRouter） |

## 安装插件

```bash theme={"theme":{"light":"min-light","dark":"min-dark"}}
openclaw plugins install @openclaw/arcee-provider
openclaw gateway restart
```

## 入门指南

<Tabs>
  <Tab title="直连（Arcee 平台）">
    <Steps>
      <Step title="获取 API key">
        在 [Arcee AI](https://chat.arcee.ai/) 创建 API key。
      </Step>

      <Step title="运行新手引导">
        ```bash theme={"theme":{"light":"min-light","dark":"min-dark"}}
        openclaw onboard --auth-choice arceeai-api-key
        ```
      </Step>

      <Step title="设置默认模型">
        ```json5 theme={"theme":{"light":"min-light","dark":"min-dark"}}
        {
          agents: {
            defaults: {
              model: { primary: "arcee/trinity-large-thinking" },
            },
          },
        }
        ```
      </Step>
    </Steps>
  </Tab>

  <Tab title="通过 OpenRouter">
    <Steps>
      <Step title="获取 API key">
        在 [OpenRouter](https://openrouter.ai/keys) 创建 API key。
      </Step>

      <Step title="运行新手引导">
        ```bash theme={"theme":{"light":"min-light","dark":"min-dark"}}
        openclaw onboard --auth-choice arceeai-openrouter
        ```
      </Step>

      <Step title="设置默认模型">
        ```json5 theme={"theme":{"light":"min-light","dark":"min-dark"}}
        {
          agents: {
            defaults: {
              model: { primary: "arcee/trinity-large-thinking" },
            },
          },
        }
        ```

        同一组模型引用同时适用于直连和 OpenRouter 设置。
      </Step>
    </Steps>
  </Tab>
</Tabs>

## 非交互式设置

<Tabs>
  <Tab title="直连（Arcee 平台）">
    ```bash theme={"theme":{"light":"min-light","dark":"min-dark"}}
    openclaw onboard --non-interactive \
      --mode local \
      --auth-choice arceeai-api-key \
      --arceeai-api-key "$ARCEEAI_API_KEY"
    ```
  </Tab>

  <Tab title="通过 OpenRouter">
    ```bash theme={"theme":{"light":"min-light","dark":"min-dark"}}
    openclaw onboard --non-interactive \
      --mode local \
      --auth-choice arceeai-openrouter \
      --openrouter-api-key "$OPENROUTER_API_KEY"
    ```
  </Tab>
</Tabs>

## 内置目录

| 模型引用                           | 名称                     | 输入   | 上下文  | 最大输出 | 成本（每 100 万输入/输出） | 工具 | 说明                |
| ------------------------------ | ---------------------- | ---- | ---- | ---- | ---------------- | -- | ----------------- |
| `arcee/trinity-large-thinking` | Trinity Large Thinking | text | 256K | 80K  | $0.25 / $0.90    | 否  | 默认模型；扩展思考         |
| `arcee/trinity-large-preview`  | Trinity Large Preview  | text | 128K | 16K  | $0.25 / $1.00    | 是  | 通用；400B 参数，13B 活跃 |
| `arcee/trinity-mini`           | Trinity Mini 26B       | text | 128K | 80K  | $0.045 / $0.15   | 是  | 快速且成本高效；函数调用      |

<Tip>
  新手引导预设会将 `arcee/trinity-large-thinking` 设置为默认模型。
</Tip>

## 支持的功能

| 功能                          | 支持                                    |
| --------------------------- | ------------------------------------- |
| 流式传输                        | 是                                     |
| 工具使用 / 函数调用                 | 是（Trinity Mini、Trinity Large Preview） |
| 结构化输出（JSON 模式和 JSON schema） | 是                                     |
| 扩展思考                        | 是（Trinity Large Thinking；工具已禁用）       |

<AccordionGroup>
  <Accordion title="环境说明">
    如果 Gateway 网关 作为守护进程（launchd/systemd）运行，请确保 `ARCEEAI_API_KEY`
    （或 `OPENROUTER_API_KEY`）可供该进程使用，例如放在
    `~/.openclaw/.env` 中，或通过 `env.shellEnv` 提供。
  </Accordion>

  <Accordion title="OpenRouter 路由">
    通过 OpenRouter 使用 Arcee 模型时，同样适用 `arcee/*` 模型引用。
    OpenClaw 会根据你的凭证选择透明地路由。有关 OpenRouter 专用的
    配置详情，请参阅 [OpenRouter provider 文档](/zh-CN/providers/openrouter)。
  </Accordion>
</AccordionGroup>

## 相关内容

<CardGroup cols={2}>
  <Card title="OpenRouter" href="/zh-CN/providers/openrouter" icon="shuffle">
    通过单个 API key 访问 Arcee 模型以及许多其他模型。
  </Card>

  <Card title="模型选择" href="/zh-CN/concepts/model-providers" icon="layers">
    选择提供商、模型引用和故障转移行为。
  </Card>
</CardGroup>
