快速开始

Arcee AI

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

可以直接通过 Arcee 平台访问 Arcee 模型,也可以通过 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
openclaw plugins install @openclaw/arcee-provideropenclaw gateway restart

入门指南

直连(Arcee 平台)

  • 获取 API key

    Arcee AI 创建 API key。

  • 运行新手引导

    bash
    openclaw onboard --auth-choice arceeai-api-key
  • 设置默认模型

    json5
    {  agents: {    defaults: {      model: { primary: "arcee/trinity-large-thinking" },    },  },}
  • 通过 OpenRouter

  • 获取 API key

    OpenRouter 创建 API key。

  • 运行新手引导

    bash
    openclaw onboard --auth-choice arceeai-openrouter
  • 设置默认模型

    json5
    {  agents: {    defaults: {      model: { primary: "arcee/trinity-large-thinking" },    },  },}

    同一组模型引用同时适用于直连和 OpenRouter 设置。

  • 非交互式设置

    直连(Arcee 平台)

    bash
    openclaw onboard --non-interactive \  --mode local \  --auth-choice arceeai-api-key \  --arceeai-api-key "$ARCEEAI_API_KEY"

    通过 OpenRouter

    bash
    openclaw onboard --non-interactive \  --mode local \  --auth-choice arceeai-openrouter \  --openrouter-api-key "$OPENROUTER_API_KEY"

    内置目录

    模型引用 名称 输入 上下文 最大输出 成本(每 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 快速且成本高效;函数调用

    支持的功能

    功能 支持
    流式传输
    工具使用 / 函数调用 是(Trinity Mini、Trinity Large Preview)
    结构化输出(JSON 模式和 JSON schema)
    扩展思考 是(Trinity Large Thinking;工具已禁用)
    环境说明

    如果 Gateway 网关 作为守护进程(launchd/systemd)运行,请确保 ARCEEAI_API_KEY (或 OPENROUTER_API_KEY)可供该进程使用,例如放在 ~/.openclaw/.env 中,或通过 env.shellEnv 提供。

    OpenRouter 路由

    通过 OpenRouter 使用 Arcee 模型时,同样适用 arcee/* 模型引用。 OpenClaw 会根据你的凭证选择透明地路由。有关 OpenRouter 专用的 配置详情,请参阅 OpenRouter provider 文档

    相关内容

    Was this useful?
    On this page

    On this page