CheapAI
RU EN 中文

文档

把 CheapAI 接入您的工具所需的一切:常用智能体的配置指南、API 参考、常见问题。

Hermes

Nous Research 推出的自我进化智能体(CLI)

在密钥页面创建 API 密钥并复制。

安装 Hermes Agent(macOS / Linux / WSL2):

bash
curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash

Windows PowerShell:iex (irm https://hermes-agent.nousresearch.com/install.ps1)

用自定义 provider(兼容 OpenAI)把 Hermes 指向 cheapai.io:

bash
hermes config set model.provider custom
hermes config set model.base_url https://cheapai.io/v1
hermes config set model.api_key YOUR_API_KEY
hermes config set model.model claude-opus-4-8

也可以直接编辑 config.yaml:

yaml
model:
  provider: custom
  base_url: https://cheapai.io/v1
  api_key: YOUR_API_KEY
  model: claude-opus-4-8

运行 hermes。模型可以填目录中的任意模型名(例如 claude-opus-4-8、gpt-5.6-sol、gemini-3-pro),不带厂商前缀,随时可以用 hermes model 切换。

Hermes 使用 OpenAI 的 chat/completions 格式,目录中的任何文本模型都可以用。API 密钥从 model.api_key 或环境变量 OPENAI_API_KEY 读取。

把 YOUR_API_KEY 替换为密钥页面中的真实密钥。