OpenAI · 文本

Hermes Agent x GPT

GPT 是 OpenAI 的前沿 LLM 系列,提供标准版和 Mini 等不同成本性能比。通过 RunAPI,所有 GPT 模型共享相同 API 和计费。

15 variants 起价 $0.06 / 百万 tokens 可商用

Prerequisite: npx runapi mcp install

Prompt

Prompt 模型

任务匹配时使用 codex-auto-review:codex-auto-review。

You have access to RunAPI chat models for GPT.

Available GPT models:
- codex-auto-review: codex-auto-review
  chat endpoints: /v1/chat/completions, /v1/responses
- gpt-4o-mini: 快速且经济的 GPT-4o 模型,适合日常文本任务
  chat endpoints: /v1/chat/completions, /v1/responses
- gpt-5-pro: 用于分析与编程的 GPT-5 Pro,支持 Responses API
  chat endpoints: /v1/responses
- gpt-5.2: 专业知识工作;深度任务 Thinking 模式
  chat endpoints: /v1/responses, /v1/chat/completions
- gpt-5.4: 最佳编码 + Agent 工作流;业界领先代码基准
  chat endpoints: /v1/responses, /v1/chat/completions
- gpt-5.4-mini: gpt-5.4 的经济替代;Free 用户可用
  chat endpoints: /v1/chat/completions, /v1/responses
- gpt-5.4-nano: gpt-5.4-nano
  chat endpoints: /v1/responses, /v1/chat/completions
- gpt-5.5: 长时 Agent 任务专用;最佳错误恢复
  chat endpoints: /v1/chat/completions, /v1/responses
- gpt-5.6-luna: GPT-5.6 最快最轻档;摘要、草拟与日常自动化
  chat endpoints: /v1/responses, /v1/chat/completions
- gpt-5.6-sol: 旗舰档,攻坚最难任务:复杂编码、深度研究、长时 Agent
  chat endpoints: /v1/chat/completions, /v1/responses
- gpt-5.6-terra: 均衡主力,高量任务性价比之选;接近旗舰的质量
  chat endpoints: /v1/responses, /v1/chat/completions
- gpt-6-astra: 最强模型:前沿推理、100万上下文、代码生成与智能体任务
  chat endpoints: /v1/chat/completions, /v1/responses
- gpt-6-luna: GPT-6 最快最轻档:100万上下文,适合摘要、草拟与日常自动化
  chat endpoints: /v1/chat/completions, /v1/responses
- gpt-6-sol: GPT-6 高性价比档:强推理、100万上下文、编程与智能体任务
  chat endpoints: /v1/chat/completions, /v1/responses
- gpt-6.1-sol: GPT-6 高性价比档:强推理、100万上下文、编程与智能体任务
  chat endpoints: /v1/chat/completions, /v1/responses

Use the model ID and chat endpoint that match the user's request.
Example request: 分析这份季度营收数据,总结关键趋势和异常,给出三项建议。
Verify the active model with: hermes model;hermes doctor

公开版本与端点

模型 ID 端点 起步价格 模型目录
codex-auto-review
/v1/chat/completions /v1/responses
$0.20 / 百万 tokens 模型详情
gpt-4o-mini
/v1/chat/completions /v1/responses
$0.15 / 百万 tokens 模型详情
gpt-5-pro
/v1/responses
$7.50 / 百万 tokens 模型详情
gpt-5.2
/v1/responses /v1/chat/completions
$1.75 / 百万 tokens 模型详情
gpt-5.4
/v1/responses /v1/chat/completions
$2.50 / 百万 tokens 模型详情
gpt-5.4-mini
/v1/chat/completions /v1/responses
$0.75 / 百万 tokens 模型详情
gpt-5.4-nano
/v1/responses /v1/chat/completions
$0.20 / 百万 tokens 模型详情
gpt-5.5
/v1/chat/completions /v1/responses
$5.00 / 百万 tokens 模型详情
gpt-5.6-luna
/v1/responses /v1/chat/completions
$0.20 / 百万 tokens 模型详情
gpt-5.6-sol
/v1/chat/completions /v1/responses
$5.00 / 百万 tokens 模型详情
gpt-5.6-terra
/v1/responses /v1/chat/completions
$2.00 / 百万 tokens 模型详情
gpt-6-astra
/v1/chat/completions /v1/responses
$5.00 / 百万 tokens 模型详情
gpt-6-luna
/v1/chat/completions /v1/responses
$0.06 / 百万 tokens 模型详情
gpt-6-sol
/v1/chat/completions /v1/responses
$1.20 / 百万 tokens 模型详情
gpt-6.1-sol
/v1/chat/completions /v1/responses
$1.00 / 百万 tokens 模型详情

验证

轮询,直到 Task 进入终态

选择 <model-id> 后生成验证命令。

配置

指南端点: <endpoint>

选择 <model-id> 后,按端点的公开输入契约生成请求。
使用流程

三步开始使用

  1. 选择模型 ID

    选择公开模型 ID,并查看其端点与当前起步价格。

  2. 配置 RunAPI

    为该 Agent 添加 Provider 配置。

  3. 验证结果

    运行下方 Agent 状态与模型选择命令。

使用 Hermes Agent + GPT 可以构建什么

  • 复杂推理与多步任务

    通过 Hermes Agent 使用 GPT 处理复杂推理、代码重构和多步自动化工作流。

  • 结构化输出的批量处理

    用受 Schema 约束的 JSON 输出批量处理大量文档,用于 RAG 流水线、发票解析或内容分类。

  • 按任务复杂度路由模型

    简单请求交给较小的 GPT 版本,复杂推理交给较大的版本,全部通过同一个 RunAPI 提供方和密钥完成。

为什么通过 RunAPI + Hermes Agent 使用 GPT

  • 15 个变体,一个 API 密钥

    通过一个 RunAPI 连接选择可用的模型变体,无需更改现有集成。

  • 清晰的用量价格

    发送请求前查看目录中的当前价格,无需订阅或最低消费。

  • 直接返回结果

    同步调用在同一个响应中返回结果,Agent 无需轮询任务即可直接使用。

Hermes Agent + GPT 常见问题

可以通过 RunAPI 在 Hermes Agent 中使用 GPT 吗?

可以。Hermes Agent 支持兼容 OpenAI 的自定义提供方。按本页显示的配置添加 RunAPI,并把版本列表中的某个 GPT 版本设为模型。

在 Hermes Agent 中能通过 RunAPI 使用 Responses API 吗?

RunAPI 为 GPT 同时提供 Chat Completions API 和 Responses API,Hermes Agent 可以用同一个 API 密钥使用其中任意一种。

Hermes Agent 能按请求切换 GPT 版本吗?

可以。只需修改 model 字段,提供方、base URL 和 API 密钥都保持不变。

应该使用哪个模型 ID?

从版本表选择公开模型 ID。每个 ID 可使用的端点均显示在对应行。

本指南会配置聊天模型吗?

会。该 Model Line 支持面向客户端的 LLM 协议。

开始在 Hermes Agent 中使用 GPT

需要团队接入支持?

我们可以协助团队接入、完成系统集成并解答技术问题。

联系我们