BETA

Sonnet 5.5 + GPT 6.1 Sol,默认 high。

模型价格 Telegram 最新动态
ApiClo 文档

ApiClo 文档

选择具体的 IDE 或客户端:VS Code、Cursor、Trae、Claude Code、Codex 等。下方会立即显示正确的 Base URL、模型和分步指南。

设置向导

选择 IDE 并获取可直接使用的设置

从您正在使用的应用开始。ApiClo 会直接显示端点、推荐模型和准确指南。

1操作系统
2Official CLIs and ready setup
3Universal harnesses and IDEs
00

你想连接什么?

自主开发请优先使用 OpenCode、DeepSeek Harness 或终端 CLI。编辑器扩展仍列在下方。

01

URL 和密钥放在哪里

简短的兼容性图。如果客户端请求 OpenAI 兼容的 URL,请使用 /v1。如果 Anthropic/Claude 客户端附加 /v1/messages 本身,请使用不带 /v1 的根目录。

Client 最佳路径 基本 URL / 密钥 模型 状态
网络聊天普通用户 在 ApiClo 中打开聊天 无需 API 密钥 在用户界面中选择 受到推崇的
Hermes账户代理 特工 → 赫尔墨斯 阿皮克劳德账户 在用户界面中选择 受到推崇的
OpenCodeversatile coding start opencode.json https://apiclo.com/v1sk-hub-... gpt-6-astracapabilities.input: text + image 受到推崇的
DeepSeek Harnessfine-grained agent setup profiles/web/cordis.patch.yml https://apiclo.com/v1APICLO_API_KEY gpt-6-astrainput: text + image 受到推崇的
Oh My PiOMP ~/.omp/agent/models.yml https://apiclo.com/v1APICLO_API_KEY gpt-6-astrainput: text + image CLI
Orcaorchestration above a configured CLI configured in the child CLI inherited from the executor ADE
桌面桥本地路由器 下载Windows.exe http://127.0.0.1:18441/v1客户端密钥可以是任何本地值 从获取模型 受到推崇的
克莱恩/罗奥/基洛VS代码 OpenAI 兼容配置文件 https://apiclo.com/v1sk-hub-... claude-sonnet-5 受到推崇的
克劳德·科德CLI ANTHROPIC_AUTH_TOKEN https://apiclo.comsk-hub-... claude-sonnet-5 CLI
CodexCLI / IDE extension ~/.codex/config.toml https://apiclo.com/v1APICLAUDE_API_KEY claude-sonnet-5 CLI
Cursorchat/plan OpenAI-compatible https://apiclo.com/v1sk-hub-... apiclo-gpt-5-6-sol 有限的
API / SDKHTTP 开放人工智能SDK https://apiclo.com/v1Authorization: Bearer sk-hub-... claude-sonnet-5 API
02

ApiClo 桌面桥

仅在需要本地路由、文件夹访问或 Hermes 权限时安装 Desktop Bridge。IDE 和 CLI 请按各自指南配置。

03

连接值

几乎所有 IDE 和 SDK 都会使用这些值。为每个项目创建一个单独的密钥。

OpenAI 基本 URL https://apiclo.com/v1 适用于 Cursor、Continue、Kilo、Codex、OpenCode、SDK 和原始 HTTP。
人为基础 URL https://apiclo.com 对于 Claude Code、原始 Anthropic SDK 以及自行附加 /v1/messages 的客户端。
API 密钥 sk-hub-... 完整密钥在 API 密钥页面上显示一次。
默认型号 claude-sonnet-5 聊天和代码的平衡付费途径。
关于免费模型的重要信息

免费 Opus/Sonnet/Fable/GPT 别名可用于网络聊天,同时提供促销容量。不要将免费*模型放入 IDE、代理或外部 API 客户端中;使用下面的付费型号 ID。

长上下文模型 ID

带有 -1m 或 -1m-context 后缀的独立模型 ID 已停用。请选择下方的标准模型 ID;长会话会保留上下文,并在需要时自动压缩。

04

快速启动

从注册到第一个 IDE 或 API 响应的最短路径。

  1. 1

    Choose your OS: Windows, macOS, or Ubuntu/Linux. Installation commands and config paths below vary by system.

  2. 2

    创建一个帐户并添加余额。一种平衡适用于网络聊天、API、Telegram 和托管代理。

  3. 3

    打开 API 密钥并为特定 IDE 或项目创建单独的密钥。

  4. 4

    Codex, Claude Code, and other clients use the separate ready guides below.

  5. 5

    Choose OpenCode for a versatile coding start, DeepSeek Harness for fine-grained agent setup, or Oh My Pi for an extensible CLI with tools.

  6. 6

    For parallel agents and worktrees, use Orca on top of an already configured Codex, Claude Code, OpenCode, or OMP. Orca itself does not replace provider setup.

  7. 7

    测试连接时会出现一个简短的提示:仅回复即可。然后测试读取当前文件夹而不更改文件。

  8. 8

    Separately attach a small PNG/JPEG and ask what it contains. A text-only OK does not prove the client sent the image to the API.

  9. 9

    对于长时间的编码任务,每个项目保留一个密钥,避免不必要的模型切换,并从上下文中排除 node_modules、dist、日志和转储。

Images: the API supports them, but the client must allow them

ApiClo accepts OpenAI image_url and Anthropic image blocks. Some IDE and harness clients treat an unknown custom model as text-only and remove the attachment before the request, so the capability must also be declared in the client.

  • OpenCode v2: capabilities: { tools: true, input: [text, image], output: [text] }. Kilo: modalities: { input: [text, image], output: [text] }.
  • DeepSeek Harness / Oh My Pi / OpenClaw: input: [text, image] on every model.
  • Crush: model add ... --supports-images true.
  • VS Code native: vision: true. 继续: enable image input/vision in the model entry used by your version.
  • Claude Code / Codex: a separate model capability flag is normally unnecessary; attach the file using the native button/command and verify the selected model is vision-capable.
  • Aider: /add image.png, /paste or launch with the image filename.
  • Cline / Roo / Cursor / Trae / Goose / Open WebUI: select a vision-capable custom model; if the UI offers Supports images, Vision, or Attachments, enable it.
  • Orca: inherits image support from the child CLI it launches; configure vision there first.

Do not add image capability to a text-only model: the client will send the attachment, but upstream will reject it. Test in a new session with a small image and an explicit question about a visible object or text.

How to avoid wasting context

IDE agents such as Cline, Kilo, Roo, and Continue often send a system prompt, tool schema, diff, terminal output, and file list. This is normal for coding-agent mode, but these requests cost more than plain chat.

  • Start regular coding with Sonnet; use Opus for hard reasoning, architecture review, and difficult bugs.
  • Ask the agent to read specific files and folders instead of the whole project. Keep node_modules, dist, logs, dumps, huge JSON/CSV files, and binaries out of context.
  • In Continue, keep maxTokens around 1800-4096 for normal chat/edit/apply, and raise it only when a long answer is actually needed.
  • For Hermes, keep long work in one chat and avoid unnecessary model switching: memory, cache, and task history work better that way.
Model ID without an extra prefix

In Continue, SDKs, curl, and raw OpenAI-compatible API calls, use the exact id from /v1/models, such as claude-sonnet-5 or claude-opus-4-8. Do not add apiclaude/ before the model id when the client asks for model. Some UIs, such as Kilo, may show provider/model inside their own interface; that is not always the string for direct API calls.

05

VS 代码插件

对于 Cline、Roo 和 Kilo,默认使用带 /v1 Base URL 的 OpenAI-compatible 配置。只有当客户端明确调用 /v1/messages 时,才使用 Anthropic Messages 作为原生/高级模式。

VS代码

Cline

关联

适合 VS Code 中的自主编码任务。 ApiClo 可以通过两种方式连接。

选项 A:兼容 OpenAI

  1. 1

    从 VS Code Marketplace 安装 Cline 并打开“设置/API 配置”。

  2. 2

    选择 OpenAI Compatible 作为 API 提供商。

  3. 3

    使用 /v1 设置完整的基本 URL:https://apiclo.com/v1。

  4. 4

    API 密钥:您的 sk-hub 密钥。型号 ID:claude-sonnet-5 或 claude-opus-4-8。

  5. 5

    保存配置文件并首先发送测试:仅回复即可。

API Provider: OpenAI Compatible Base URL: https://apiclo.com/v1 API Key: sk-hub-... Model: claude-sonnet-5

选项 B:本机模式的人择消息

  1. 1

    如果您的 Cline 构建需要 Anthropic 提供程序,请启用使用自定义基本 URL。

  2. 2

    自定义基本 URL:https://apiclo.com。此处不要添加/v1; Cline 调用 /v1/messages 本身。

  3. 3

    API 密钥:您的 sk-hub 密钥。型号:claude-sonnet-5 或 claude-opus-4-8。

  4. 4

    如果 Anthropic 本机模式不稳定,请返回选项 A OpenAI 兼容。

Provider: Anthropic Custom Base URL: https://apiclo.com Model: claude-sonnet-5

保存后,发送:回复即可。第二次测试:查看当前文件夹,判断README.md是否存在;不要改变任何东西。

Images: select a vision-capable model and enable Supports images/Vision if your Cline version exposes that toggle. Start a new task after changing it and attach a PNG with a text question.

模型 21 Model ID

复制 Model ID.

Claude
Claude Opus 5.5 claude-opus-5-5
Claude Fable 5.1 claude-fable-5-1
Claude Opus 5 claude-opus-5
Claude Sonnet 5.5 claude-sonnet-5-5
Claude Sonnet 5 claude-sonnet-5
Claude Fable 5 claude-fable-5
Claude Opus 4.8 claude-opus-4-8
Claude Opus 4.7 claude-opus-4-7
Claude Sonnet 4.6 claude-sonnet-4-6
Claude Haiku 4.5 claude-haiku-4-5
Claude Opus 4.6 claude-opus-4-6
Claude Sonnet 4.5 claude-sonnet-4-5
Claude Opus 4.5 claude-opus-4-5
GPT
GPT 6 Sol gpt-6-sol
GPT 6 Luna gpt-6-luna
GPT 6 Astra gpt-6-astra
GPT 5.6 Sol gpt-5-6-sol
GPT 5.6 Terra gpt-5-6-terra
GPT 5.6 Luna gpt-5-6-luna
聊天GPT 5.5 gpt-5-5
GPT 6.1 Sol gpt-6.1-sol
VS代码

袋鼠代码

关联

Roo Code 使用与 Cline 几乎相同的设置,但提供商配置文件标签可能不同。

  1. 1

    从 VS Code 扩展安装 Roo Code 并打开 Roo Code 面板。

  2. 2

    在 ApiClo 中的 API 密钥下创建 API 密钥。

  3. 3

    打开 API 配置/提供商/配置文件。

  4. 4

    默认情况下,选择 OpenAI 兼容的配置文件:基本 URL https://apiclo.com/v1 和 ApiClo 模型 ID。

  5. 5

    仅针对本机/高级模式,使用 Anthropic + 自定义基本 URL https://apiclo.com,不带 /v1。

  6. 6

    保存配置文件,验证“确定”,然后运行文件任务。

  7. 7

    第二个测试:要求Roo读取当前文件夹并判断README.md是否存在,而不编辑文件。

OpenAI Compatible Base URL: https://apiclo.com/v1 Anthropic Custom Base URL: https://apiclo.com Model: claude-opus-4-8

Images: enable Vision/Supports images in the model profile when available. If Roo hides the attachment before the request, verify the same model through OpenCode or Harness with an explicit capability.

模型 21 Model ID

复制 Model ID.

Claude
Claude Opus 5.5 claude-opus-5-5
Claude Fable 5.1 claude-fable-5-1
Claude Opus 5 claude-opus-5
Claude Sonnet 5.5 claude-sonnet-5-5
Claude Sonnet 5 claude-sonnet-5
Claude Fable 5 claude-fable-5
Claude Opus 4.8 claude-opus-4-8
Claude Opus 4.7 claude-opus-4-7
Claude Sonnet 4.6 claude-sonnet-4-6
Claude Haiku 4.5 claude-haiku-4-5
Claude Opus 4.6 claude-opus-4-6
Claude Sonnet 4.5 claude-sonnet-4-5
Claude Opus 4.5 claude-opus-4-5
GPT
GPT 6 Sol gpt-6-sol
GPT 6 Luna gpt-6-luna
GPT 6 Astra gpt-6-astra
GPT 5.6 Sol gpt-5-6-sol
GPT 5.6 Terra gpt-5-6-terra
GPT 5.6 Luna gpt-5-6-luna
聊天GPT 5.5 gpt-5-5
GPT 6.1 Sol gpt-6.1-sol
VS代码

基洛代码

关联

对于 Kilo,请使用自定义提供程序。与 Cline/Roo 不同,基本 URL 通常使用 /v1 输入。

  1. 1

    从 VS Code 扩展安装 Kilo Code 并打开设置/API 配置。

  2. 2

    在 ApiClo -> API 密钥中获取 sk-hub API 密钥。

  3. 3

    创建自定义提供程序:提供程序 ID apiclaude、显示名称 ApiClo。

  4. 4

    对于 Claude 模型,默认选择 Provider API:OpenAI Compatible 和 Base URL https://apiclo.com/v1。

  5. 5

    仅当 Kilo 明确需要本机消息模式时才使用 Provider API:Anthropic Messages。

  6. 6

    型号 ID:claude-sonnet-5、claude-opus-4-8 或 claude-fable-5-1。

  7. 7

    保存提供程序并运行两个测试:仅回复 OK;然后读取项目文件列表而不进行编辑。

Provider ID: apiclaude Provider API: OpenAI Compatible Base URL: https://apiclo.com/v1 Model ID: claude-sonnet-5

Images: set attachment: true and modalities with input [text, image], output [text] on the custom model. Without modalities, an unknown model is treated as text-only.

"attachment": true,
"modalities": {
  "input": ["text", "image"],
  "output": ["text"]
}
模型 21 Model ID

复制 Model ID.

Claude
Claude Opus 5.5 claude-opus-5-5
Claude Fable 5.1 claude-fable-5-1
Claude Opus 5 claude-opus-5
Claude Sonnet 5.5 claude-sonnet-5-5
Claude Sonnet 5 claude-sonnet-5
Claude Fable 5 claude-fable-5
Claude Opus 4.8 claude-opus-4-8
Claude Opus 4.7 claude-opus-4-7
Claude Sonnet 4.6 claude-sonnet-4-6
Claude Haiku 4.5 claude-haiku-4-5
Claude Opus 4.6 claude-opus-4-6
Claude Sonnet 4.5 claude-sonnet-4-5
Claude Opus 4.5 claude-opus-4-5
GPT
GPT 6 Sol gpt-6-sol
GPT 6 Luna gpt-6-luna
GPT 6 Astra gpt-6-astra
GPT 5.6 Sol gpt-5-6-sol
GPT 5.6 Terra gpt-5-6-terra
GPT 5.6 Luna gpt-5-6-luna
聊天GPT 5.5 gpt-5-5
GPT 6.1 Sol gpt-6.1-sol
VS 代码 / JetBrains

ç»§ç»­

关联

继续是通过config.yaml配置的。与模型进行聊天、编辑、应用和总结角色。

  1. 1

    安装继续并打开配置:继续 -> 设置 -> 打开 config.yaml。

  2. 2

    如果您已经有自定义模型,请在替换之前保存旧的 config.yaml。

  3. 3

    粘贴下面的块并将 YOUR_API_KEY 替换为您的 sk-hub 密钥。

  4. 4

    重新启动 继续或在 IDE 中运行 Reload Window。

  5. 5

    在执行繁重任务之前,测试聊天、编辑和应用小文件。

~/.continue/config.yaml
name: ApiClo
version: 1.0.0
schema: v1
models:
  - name: Claude Sonnet 5
    provider: openai
    model: claude-sonnet-5
    apiBase: https://apiclo.com/v1
    apiKey: YOUR_API_KEY
    capabilities:
      - tool_use
    roles:
      - chat
      - edit
      - apply
      - summarize
    defaultCompletionOptions:
      temperature: 0
context:
  - provider: code
  - provider: docs
  - provider: diff
  - provider: terminal
  - provider: problems
  - provider: folder
  - provider: codebase

This example does not impose hard contextLength or maxTokens values. Continue uses the selected model's capabilities and shows the active configuration in Continue Console → Options.

In a long Agent session, click Compact conversation, the converging-arrows icon under the latest response. Once context reaches 60%, the same action is available from the context indicator beside the input. Continue keeps a technical summary and sends it with only the newer turns. This compacts history rather than truncating the active task. After compaction, inspect the next request in Continue Console: it should contain the summary and only newer turns, not hundreds of old tool_result blocks.

If Continue rejects provider: openai, use its OpenAI-compatible/custom provider with the same apiBase/apiKey/model. For model, use claude-sonnet-5 or claude-opus-4-8 without the apiclaude/ prefix.

Images: enable image input/vision for the selected custom model in your Continue version. If the field is unavailable, update Continue; a text-only request does not verify attachment delivery.

模型 21 Model ID

复制 Model ID.

Claude
Claude Opus 5.5 claude-opus-5-5
Claude Fable 5.1 claude-fable-5-1
Claude Opus 5 claude-opus-5
Claude Sonnet 5.5 claude-sonnet-5-5
Claude Sonnet 5 claude-sonnet-5
Claude Fable 5 claude-fable-5
Claude Opus 4.8 claude-opus-4-8
Claude Opus 4.7 claude-opus-4-7
Claude Sonnet 4.6 claude-sonnet-4-6
Claude Haiku 4.5 claude-haiku-4-5
Claude Opus 4.6 claude-opus-4-6
Claude Sonnet 4.5 claude-sonnet-4-5
Claude Opus 4.5 claude-opus-4-5
GPT
GPT 6 Sol gpt-6-sol
GPT 6 Luna gpt-6-luna
GPT 6 Astra gpt-6-astra
GPT 5.6 Sol gpt-5-6-sol
GPT 5.6 Terra gpt-5-6-terra
GPT 5.6 Luna gpt-5-6-luna
聊天GPT 5.5 gpt-5-5
GPT 6.1 Sol gpt-6.1-sol
VS代码

VS Code 原生 BYOK

关联

对于 VS Code 内置自定义端点,将模型添加到用户配置文件中。

  1. 1

    打开 VS Code 用户设置文件夹并创建 chatLanguageModels.json(如果不存在)。

  2. 2

    粘贴下面的 JSON 并将 YOUR_API_KEY 替换为您的 sk-hub 密钥。

  3. 3

    检查 url 是否以 /v1/chat/completions 结尾。

  4. 4

    运行开发人员:重新加载窗口。

  5. 5

    在 VS Code 聊天中,选择 Claude Sonnet 5 并发送测试回复即可。

%APPDATA%\Code\User\chatLanguageModels.json
[
  {
    "name": "ApiClo",
    "vendor": "customendpoint",
    "apiKey": "YOUR_API_KEY",
    "apiType": "chat-completions",
    "models": [
      {
        "id": "claude-sonnet-5",
        "name": "Claude Sonnet 5",
        "url": "https://apiclo.com/v1/chat/completions",
        "toolCalling": true,
        "vision": true,
        "maxInputTokens": 1000000,
        "maxOutputTokens": 64000,
        "streaming": true
      },
      {
        "id": "claude-opus-4-8",
        "name": "Claude Opus 4.8",
        "url": "https://apiclo.com/v1/chat/completions",
        "toolCalling": true,
        "vision": true,
        "maxInputTokens": 1000000,
        "maxOutputTokens": 64000,
        "streaming": true
      }
    ]
  }
]
Developer: Reload Window
模型 21 Model ID

复制 Model ID.

Claude
Claude Opus 5.5 claude-opus-5-5
Claude Fable 5.1 claude-fable-5-1
Claude Opus 5 claude-opus-5
Claude Sonnet 5.5 claude-sonnet-5-5
Claude Sonnet 5 claude-sonnet-5
Claude Fable 5 claude-fable-5
Claude Opus 4.8 claude-opus-4-8
Claude Opus 4.7 claude-opus-4-7
Claude Sonnet 4.6 claude-sonnet-4-6
Claude Haiku 4.5 claude-haiku-4-5
Claude Opus 4.6 claude-opus-4-6
Claude Sonnet 4.5 claude-sonnet-4-5
Claude Opus 4.5 claude-opus-4-5
GPT
GPT 6 Sol gpt-6-sol
GPT 6 Luna gpt-6-luna
GPT 6 Astra gpt-6-astra
GPT 5.6 Sol gpt-5-6-sol
GPT 5.6 Terra gpt-5-6-terra
GPT 5.6 Luna gpt-5-6-luna
聊天GPT 5.5 gpt-5-5
GPT 6.1 Sol gpt-6.1-sol
06

IDE 和桌面客户端

具有 OpenAI 兼容设置的客户端使用相同的基本 URL + API 密钥对。

AI代码编辑器

Cursor

关联

使用 Cursor 安全 ID,避免 Cursor 将其替换为内置模型。

  1. 1

    打开 Cursor Settings → Models → API Keys,并在 OpenAI API Key 中保存 ApiClo sk-hub 密钥。

  2. 2

    启用 Override OpenAI Base URL,并准确输入 https://apiclo.com/v1。

  3. 3

    添加下方任一准确的自定义 ID。它们会出现在 /v1/models 中,并与原始模型使用相同的路由、回退和计费。

  4. 4

    请选择准确的 apiclo-* 项,而不是 Cursor 内置的 GPT-5.6 Sol 或 Claude。

  5. 5

    macOS 和 Windows 的设置相同。Cursor Tab 和其他专用功能可能仍会使用 Cursor 自己的模型。

  6. 6

    发送“仅回复 OK”。如果 ApiClo Logs 中没有请求,请更新 Cursor 并确认已选择自定义 apiclo-* 模型。

OpenAI Base URL: https://apiclo.com/v1 OpenAI API Key: sk-hub-... Model: apiclo-gpt-5-6-sol
Images

Select a vision-capable custom model and enable Supports images / Vision / Attachments if your Cursor version exposes that switch. If the custom model has no attachment button, that is a client limitation; use OpenCode, Harness, OMP, or Crush with an explicit capability flag.

这些 ID 同时支持 /v1/chat/completions 和 /v1/responses。如果仍有错误,请向支持团队发送新的 Cursor Request ID 和准确的 UTC 时间。

模型 21 Model ID

复制 Model ID.

Claude
Claude Opus 5.5 apiclo-claude-opus-5-5
Claude Fable 5.1 apiclo-claude-fable-5-1
Claude Opus 5 apiclo-claude-opus-5
Claude Sonnet 5.5 apiclo-claude-sonnet-5-5
Claude Sonnet 5 apiclo-claude-sonnet-5
Claude Fable 5 apiclo-claude-fable-5
Claude Opus 4.8 apiclo-claude-opus-4-8
Claude Opus 4.7 apiclo-claude-opus-4-7
Claude Sonnet 4.6 apiclo-claude-sonnet-4-6
Claude Haiku 4.5 apiclo-claude-haiku-4-5
Claude Opus 4.6 apiclo-claude-opus-4-6
Claude Sonnet 4.5 apiclo-claude-sonnet-4-5
Claude Opus 4.5 apiclo-claude-opus-4-5
GPT
GPT 6 Sol apiclo-gpt-6-sol
GPT 6 Luna apiclo-gpt-6-luna
GPT 6 Astra apiclo-gpt-6-astra
GPT 5.6 Sol apiclo-gpt-5-6-sol
GPT 5.6 Terra apiclo-gpt-5-6-terra
GPT 5.6 Luna apiclo-gpt-5-6-luna
聊天GPT 5.5 apiclo-gpt-5-5
GPT 6.1 Sol apiclo-gpt-6.1-sol
桌面IDE

Trae

关联

Trae 通过设置 -> 模型 -> 添加模型 -> 自定义配置进行连接。

  1. 1

    安装 Trae 并登录;否则模型部分可能会被隐藏。

  2. 2

    打开设置 -> 模型 -> 添加模型 -> 自定义配置。

  3. 3

    对于 Claude,选择 API Format Anthropic Messages、URL https://apiclo.com 或 https://apiclo.com/v1(如果 Trae 要求完整的 /v1 端点)。

  4. 4

    对于 OpenAI 完成,请使用 https://apiclo.com/v1 和模型 ID claude-sonnet-5。

  5. 5

    粘贴 API 密钥,保存模型,然后运行仅回复 OK 测试。

  6. 6

    如果 Trae 显示空答案,请减少最大输出并检查确切的 API 格式。

API Format: OpenAI Completions Custom Request URL: https://apiclo.com/v1 Model ID: claude-sonnet-5

Images: select a vision-capable model and enable multimodal/vision/attachments in Custom Config if Trae exposes that option. After saving, always run a separate image + text test.

模型 21 Model ID

复制 Model ID.

Claude
Claude Opus 5.5 claude-opus-5-5
Claude Fable 5.1 claude-fable-5-1
Claude Opus 5 claude-opus-5
Claude Sonnet 5.5 claude-sonnet-5-5
Claude Sonnet 5 claude-sonnet-5
Claude Fable 5 claude-fable-5
Claude Opus 4.8 claude-opus-4-8
Claude Opus 4.7 claude-opus-4-7
Claude Sonnet 4.6 claude-sonnet-4-6
Claude Haiku 4.5 claude-haiku-4-5
Claude Opus 4.6 claude-opus-4-6
Claude Sonnet 4.5 claude-sonnet-4-5
Claude Opus 4.5 claude-opus-4-5
GPT
GPT 6 Sol gpt-6-sol
GPT 6 Luna gpt-6-luna
GPT 6 Astra gpt-6-astra
GPT 5.6 Sol gpt-5-6-sol
GPT 5.6 Terra gpt-5-6-terra
GPT 5.6 Luna gpt-5-6-luna
聊天GPT 5.5 gpt-5-5
GPT 6.1 Sol gpt-6.1-sol
自托管 UI

打开 WebUI / LibreChat

关联

将 ApiClo 连接为 OpenAI 兼容提供商。

  1. 1

    打开自托管 UI 的提供程序管理设置或环境配置。

  2. 2

    选择与 OpenAI 兼容的提供商。

  3. 3

    设置 OPENAI_API_BASE_URL=https://apiclo.com/v1 和 OPENAI_API_KEY=sk-hub-...

  4. 4

    添加 DEFAULT_MODEL=claude-sonnet-5 或在 UI 中选择模型。

  5. 5

    重新启动 UI 容器/进程并发送一个简短的测试。

OPENAI_API_BASE_URL=https://apiclo.com/v1 OPENAI_API_KEY=sk-hub-... DEFAULT_MODEL=claude-sonnet-5

Images: in Open WebUI or LibreChat enable vision capability on the custom model/connection. Having an API route alone does not make the UI attach a file.

如果 UI 添加 /v1 本身,请使用 root https://apiclo.com 或从设置中删除额外的 /v1。

模型 21 Model ID

复制 Model ID.

Claude
Claude Opus 5.5 claude-opus-5-5
Claude Fable 5.1 claude-fable-5-1
Claude Opus 5 claude-opus-5
Claude Sonnet 5.5 claude-sonnet-5-5
Claude Sonnet 5 claude-sonnet-5
Claude Fable 5 claude-fable-5
Claude Opus 4.8 claude-opus-4-8
Claude Opus 4.7 claude-opus-4-7
Claude Sonnet 4.6 claude-sonnet-4-6
Claude Haiku 4.5 claude-haiku-4-5
Claude Opus 4.6 claude-opus-4-6
Claude Sonnet 4.5 claude-sonnet-4-5
Claude Opus 4.5 claude-opus-4-5
GPT
GPT 6 Sol gpt-6-sol
GPT 6 Luna gpt-6-luna
GPT 6 Astra gpt-6-astra
GPT 5.6 Sol gpt-5-6-sol
GPT 5.6 Terra gpt-5-6-terra
GPT 5.6 Luna gpt-5-6-luna
聊天GPT 5.5 gpt-5-5
GPT 6.1 Sol gpt-6.1-sol
07

CLI 和终端代理

对于 CLI 工具,不要混合 OpenAI 兼容变量和 Anthropic 兼容变量尤其重要。

终端代理

OpenCode v2

关联

Recommended quick path: the custom provider lives in opencode.json, and vision is declared in model capabilities.

  1. 1

    Install OpenCode v2 from the official guide: macOS/Linux — npm install -g @opencode/cli; Windows — use the standalone CLI binary from OpenCode.

  2. 2

    Create opencode.json in the project root and paste the configuration below.

  3. 3

    Set APICLO_API_KEY in the OpenCode process environment; do not put the key in the project config.

  4. 4

    Declare each model's actual capabilities. OpenCode v2 assumes text+image for an unknown model, but that is a fallback assumption, not an API check.

  5. 5

    Run opencode, verify a short text response, then attach a small PNG/JPEG and ask it to read visible text.

macOS / Linux:

npm install -g @opencode/cli
{
  "$schema": "https://opencode.ai/config.json",
  "providers": {
    "apiclaude": {
      "name": "ApiClo",
      "env": ["APICLO_API_KEY"],
      "package": "@opencode/ai/providers/openai-compatible",
      "settings": {
        "baseURL": "https://apiclo.com/v1"
      },
      "models": {
        "gpt-6-astra": {
          "name": "GPT 6 Astra",
          "capabilities": {
            "tools": true,
            "input": ["text", "image"],
            "output": ["text"]
          },
          "limit": {
            "context": 200000,
            "output": 128000
          }
        },
        "claude-fable-5-1": {
          "name": "Claude Fable 5.1",
          "capabilities": {
            "tools": true,
            "input": ["text", "image"],
            "output": ["text"]
          },
          "limit": {
            "context": 1000000,
            "output": 128000
          }
        }
      }
    }
  },
  "model": "apiclaude/gpt-6-astra"
}
opencode

This example targets OpenCode v2. Declare actual capabilities for other models; the v1 config is not interchangeable. On Windows, download the standalone binary below. OpenCode v2

模型 21 Model ID

复制 Model ID.

Claude
Claude Opus 5.5 apiclaude/claude-opus-5-5
Claude Fable 5.1 apiclaude/claude-fable-5-1
Claude Opus 5 apiclaude/claude-opus-5
Claude Sonnet 5.5 apiclaude/claude-sonnet-5-5
Claude Sonnet 5 apiclaude/claude-sonnet-5
Claude Fable 5 apiclaude/claude-fable-5
Claude Opus 4.8 apiclaude/claude-opus-4-8
Claude Opus 4.7 apiclaude/claude-opus-4-7
Claude Sonnet 4.6 apiclaude/claude-sonnet-4-6
Claude Haiku 4.5 apiclaude/claude-haiku-4-5
Claude Opus 4.6 apiclaude/claude-opus-4-6
Claude Sonnet 4.5 apiclaude/claude-sonnet-4-5
Claude Opus 4.5 apiclaude/claude-opus-4-5
GPT
GPT 6 Sol apiclaude/gpt-6-sol
GPT 6 Luna apiclaude/gpt-6-luna
GPT 6 Astra apiclaude/gpt-6-astra
GPT 5.6 Sol apiclaude/gpt-5-6-sol
GPT 5.6 Terra apiclaude/gpt-5-6-terra
GPT 5.6 Luna apiclaude/gpt-5-6-luna
聊天GPT 5.5 apiclaude/gpt-5-5
GPT 6.1 Sol apiclaude/gpt-6.1-sol
Desktop / Web / CLI

DeepSeek Harness

关联

Harness supports ApiClo as a custom OpenAI-compatible provider. Image input is enabled separately on each model.

  1. 1

    Install DeepSeek Harness from its official instructions. In Settings → Models choose Add model provider → Custom model API.

  2. 2

    Provider ID: apiclo; Display name: ApiClo; Base URL: https://apiclo.com/v1; API protocol: openai-completions.

  3. 3

    Use the APICLO_API_KEY environment variable. If Fetch available models does not list an ID, add the model manually; configure its input types separately.

  4. 4

    In Model options enable Text and Image. In the profile this is input: [text, image] on that model.

  5. 5

    The change applies to the next request without a restart. If a problematic image remains in the session history, create a new session.

  6. 6

    Test text first, then PNG/JPEG. If Harness says model does not support images before the request, the capability still is not saved on the selected model.

For the standard dsh web launch, use $DSH_HOME/profiles/web/cordis.patch.yml; replace web with your profile name otherwise. Preserve other entries when editing an existing file.

$DSH_HOME/profiles/web/cordis.patch.yml
- id: llm-pi-ai
  config:
    providers:
      apiclo:
        apiKeyEnv: APICLO_API_KEY
        api: openai-completions
        baseURL: https://apiclo.com/v1
        models:
          - id: gpt-6-astra
            input: [text, image]
          - id: claude-fable-5-1
            input: [text, image]
# macOS / Linux
export APICLO_API_KEY="sk-hub-..."
dsh web

# Windows PowerShell
$env:APICLO_API_KEY="sk-hub-..."
dsh web
模型 21 Model ID

复制 Model ID.

Claude
Claude Opus 5.5 claude-opus-5-5
Claude Fable 5.1 claude-fable-5-1
Claude Opus 5 claude-opus-5
Claude Sonnet 5.5 claude-sonnet-5-5
Claude Sonnet 5 claude-sonnet-5
Claude Fable 5 claude-fable-5
Claude Opus 4.8 claude-opus-4-8
Claude Opus 4.7 claude-opus-4-7
Claude Sonnet 4.6 claude-sonnet-4-6
Claude Haiku 4.5 claude-haiku-4-5
Claude Opus 4.6 claude-opus-4-6
Claude Sonnet 4.5 claude-sonnet-4-5
Claude Opus 4.5 claude-opus-4-5
GPT
GPT 6 Sol gpt-6-sol
GPT 6 Luna gpt-6-luna
GPT 6 Astra gpt-6-astra
GPT 5.6 Sol gpt-5-6-sol
GPT 5.6 Terra gpt-5-6-terra
GPT 5.6 Luna gpt-5-6-luna
聊天GPT 5.5 gpt-5-5
GPT 6.1 Sol gpt-6.1-sol
CLI

克劳德·科德

关联

Claude Code 通常需要一个与 Anthropic 兼容的基本 URL,不带 /v1。

  1. 1

    检查 Node.js 18+:node --version。

  2. 2

    安装 Claude Code:npm install -g @anthropic-ai/claude-code@latest。

  3. 3

    检查安装:claude --version。

  4. 4

    对于 ApiClo,使用 ANTHROPIC_AUTH_TOKEN + ANTHROPIC_BASE_URL; ANTHROPIC_API_KEY 仅适用于需要 x-api-key 的客户端。

  5. 5

    Set CLAUDE_CODE_AUTO_COMPACT_WINDOW=180000 so Claude Code summarizes a long session before the 200k boundary. This does not limit response size.

  6. 6

    首先使用直接 /v1/messages 请求验证网关,然后从同一 shell 会话启动 claude。

  7. 7

    在 Claude Code 中,运行 /status 并确认它显示 ApiClo 基本 URL 和活动令牌源。

npm install -g @anthropic-ai/claude-code@latest
# macOS / Linux
export ANTHROPIC_AUTH_TOKEN="sk-hub-..."
export ANTHROPIC_BASE_URL="https://apiclo.com"
export ANTHROPIC_MODEL="claude-sonnet-5"
export CLAUDE_CODE_AUTO_COMPACT_WINDOW="180000"
claude
# Windows PowerShell
$env:ANTHROPIC_AUTH_TOKEN="sk-hub-..."
$env:ANTHROPIC_BASE_URL="https://apiclo.com"
$env:ANTHROPIC_MODEL="claude-sonnet-5"
$env:CLAUDE_CODE_AUTO_COMPACT_WINDOW="180000"
claude
~/.claude/settings.json
{
  "env": {
    "ANTHROPIC_BASE_URL": "https://apiclo.com",
    "ANTHROPIC_AUTH_TOKEN": "sk-hub-...",
    "CLAUDE_CODE_AUTO_COMPACT_WINDOW": "180000"
  }
}
curl /v1/messages smoke
# macOS / Linux
curl -X POST "$ANTHROPIC_BASE_URL/v1/messages" \
  -H "Authorization: Bearer $ANTHROPIC_AUTH_TOKEN" \
  -H "anthropic-version: 2023-06-01" \
  -H "content-type: application/json" \
  -d "{\"model\":\"$ANTHROPIC_MODEL\",\"max_tokens\":1,\"messages\":[{\"role\":\"user\",\"content\":\".\"}]}"

# Windows PowerShell
Invoke-RestMethod -Method Post -Uri "$($env:ANTHROPIC_BASE_URL)/v1/messages" `
  -Headers @{ "Authorization" = "Bearer $env:ANTHROPIC_AUTH_TOKEN"; "anthropic-version" = "2023-06-01" } `
  -ContentType "application/json" `
  -Body (@{ model = $env:ANTHROPIC_MODEL; max_tokens = 1; messages = @(@{ role = "user"; content = "." }) } | ConvertTo-Json -Depth 4)

如果烟雾返回带有 msg_ 的 JSON,则 URL 和密钥有效。如果返回401,则客户端发送的密钥带有错误的标头;仅将 ANTHROPIC_API_KEY 用于 x-api-key 场景。

Images: in Claude Code attach a local file with the native command/button and select a vision-capable model. A separate provider flag is normally unnecessary, but an image + text smoke is required after changing the endpoint.

模型 21 Model ID

复制 Model ID.

Claude
Claude Opus 5.5 claude-opus-5-5
Claude Fable 5.1 claude-fable-5-1
Claude Opus 5 claude-opus-5
Claude Sonnet 5.5 claude-sonnet-5-5
Claude Sonnet 5 claude-sonnet-5
Claude Fable 5 claude-fable-5
Claude Opus 4.8 claude-opus-4-8
Claude Opus 4.7 claude-opus-4-7
Claude Sonnet 4.6 claude-sonnet-4-6
Claude Haiku 4.5 claude-haiku-4-5
Claude Opus 4.6 claude-opus-4-6
Claude Sonnet 4.5 claude-sonnet-4-5
Claude Opus 4.5 claude-opus-4-5
GPT
GPT 6 Sol gpt-6-sol
GPT 6 Luna gpt-6-luna
GPT 6 Astra gpt-6-astra
GPT 5.6 Sol gpt-5-6-sol
GPT 5.6 Terra gpt-5-6-terra
GPT 5.6 Luna gpt-5-6-luna
聊天GPT 5.5 gpt-5-5
GPT 6.1 Sol gpt-6.1-sol
CLI / IDE extension

Codex

关联

Codex CLI and the IDE extension can use ApiClo through a custom provider in config.toml.

  1. 1

    In the Codex IDE extension, open Codex Settings → Open config.toml; the CLI uses the same ~/.codex/config.toml.

  2. 2

    将提供程序添加到用户级配置中,因为项目 .codex/config.toml 不应定义提供程序/身份验证。

  3. 3

    将 APICLAUDE_API_KEY 设置为您的 sk-hub 密钥。该变量名称由下面的 env_key 选择。

  4. 4

    保持wire_api=response:在当前的Codex中,这是支持的提供者协议。

  5. 5

    在测试文件夹中运行 codex 并验证仅回复 OK。

~/.codex/config.toml
model = "claude-sonnet-5"
model_provider = "apiclaude"

[model_providers.apiclaude]
name = "ApiClo"
base_url = "https://apiclo.com/v1"
env_key = "APICLAUDE_API_KEY"
wire_api = "responses"
APICLAUDE_API_KEY env
# macOS / Linux
export APICLAUDE_API_KEY="sk-hub-..."
codex

# Windows PowerShell
$env:APICLAUDE_API_KEY="sk-hub-..."
codex

如果 Codex 拒绝提供程序配置,请先更新 Codex。不要将wire_api切换为聊天完成:当前的Codex文档将响应描述为支持的提供者协议。

Images: in the IDE extension attach the image through the composer; in CLI provide the local path using the native flow. Test an image + text request separately: provider configuration alone does not prove delivery of the attachment.

模型 21 Model ID

复制 Model ID.

Claude
Claude Opus 5.5 claude-opus-5-5
Claude Fable 5.1 claude-fable-5-1
Claude Opus 5 claude-opus-5
Claude Sonnet 5.5 claude-sonnet-5-5
Claude Sonnet 5 claude-sonnet-5
Claude Fable 5 claude-fable-5
Claude Opus 4.8 claude-opus-4-8
Claude Opus 4.7 claude-opus-4-7
Claude Sonnet 4.6 claude-sonnet-4-6
Claude Haiku 4.5 claude-haiku-4-5
Claude Opus 4.6 claude-opus-4-6
Claude Sonnet 4.5 claude-sonnet-4-5
Claude Opus 4.5 claude-opus-4-5
GPT
GPT 6 Sol gpt-6-sol
GPT 6 Luna gpt-6-luna
GPT 6 Astra gpt-6-astra
GPT 5.6 Sol gpt-5-6-sol
GPT 5.6 Terra gpt-5-6-terra
GPT 5.6 Luna gpt-5-6-luna
聊天GPT 5.5 gpt-5-5
GPT 6.1 Sol gpt-6.1-sol
终端代理

OpenClaw

关联

OpenClaw 可以通过 models.json 与两种提供者模式连接。

  1. 1

    为您的平台安装 OpenClaw 并检查 openclaw --version。

  2. 2

    找到 OpenClaw 模型文件或在 config 文件夹中创建 models.json。

  3. 3

    对于 Claude Messages 模式,请使用提供程序 apiclaude-messages 和 baseUrl https://apiclo.com。

  4. 4

    对于 OpenAI Completions 模式,请使用提供程序 apiclaude-openai 和 baseUrl https://apiclo.com/v1。

  5. 5

    Add input: [text, image] to every vision model, otherwise OpenClaw passes only a text media reference or omits the image.

  6. 6

    Replace apiKey with an sk-hub key and run separate text, tool, and image tests in a project.

{
  "models": {
    "mode": "merge",
    "providers": {
      "apiclaude-messages": {
        "baseUrl": "https://apiclo.com",
        "apiKey": "sk-hub-...",
        "auth": "token",
        "api": "anthropic-messages",
        "models": [
          {
            "id": "claude-sonnet-5",
            "name": "claude-sonnet-5",
            "input": ["text", "image"],
            "contextWindow": 1000000,
            "maxTokens": 64000
          }
        ]
      },
      "apiclaude-openai": {
        "baseUrl": "https://apiclo.com/v1",
        "apiKey": "sk-hub-...",
        "auth": "token",
        "api": "openai-completions",
        "models": [
          { "id": "claude-opus-4-8", "name": "claude-opus-4-8", "input": ["text", "image"] }
        ]
      }
    }
  }
}
模型 21 Model ID

复制 Model ID.

Claude
Claude Opus 5.5 claude-opus-5-5
Claude Fable 5.1 claude-fable-5-1
Claude Opus 5 claude-opus-5
Claude Sonnet 5.5 claude-sonnet-5-5
Claude Sonnet 5 claude-sonnet-5
Claude Fable 5 claude-fable-5
Claude Opus 4.8 claude-opus-4-8
Claude Opus 4.7 claude-opus-4-7
Claude Sonnet 4.6 claude-sonnet-4-6
Claude Haiku 4.5 claude-haiku-4-5
Claude Opus 4.6 claude-opus-4-6
Claude Sonnet 4.5 claude-sonnet-4-5
Claude Opus 4.5 claude-opus-4-5
GPT
GPT 6 Sol gpt-6-sol
GPT 6 Luna gpt-6-luna
GPT 6 Astra gpt-6-astra
GPT 5.6 Sol gpt-5-6-sol
GPT 5.6 Terra gpt-5-6-terra
GPT 5.6 Luna gpt-5-6-luna
聊天GPT 5.5 gpt-5-5
GPT 6.1 Sol gpt-6.1-sol
CLI

奎文密码

关联

如果 Qwen Code 作为 OpenAI 兼容客户端安装,则 OPENAI_* 变量就足够了。

  1. 1

    检查 Node.js:node --version。

  2. 2

    安装 Qwen 代码:npm install -g @qwen-code/qwen-code@latest。

  3. 3

    检查 qwen --version 和 qwen --help。

  4. 4

    对于 OpenAI 兼容模式,设置 OPENAI_API_KEY、OPENAI_BASE_URL 和 OPENAI_MODEL。

  5. 5

    如果您的 Qwen Code 版本支持 Anthropic env,则可以对 Claude 模型使用 ANTHROPIC_AUTH_TOKEN + https://apiclo.com。

  6. 6

    Use images only if the installed Qwen Code version exposes attachment/image input for a custom endpoint; otherwise the client may send text only.

  7. 7

    运行 qwen 并执行 OK/只读测试。

npm install -g @qwen-code/qwen-code@latest
export OPENAI_API_KEY="sk-hub-..."
export OPENAI_BASE_URL="https://apiclo.com/v1"
export OPENAI_MODEL="claude-sonnet-5"
qwen
$env:OPENAI_API_KEY="sk-hub-..."
$env:OPENAI_BASE_URL="https://apiclo.com/v1"
$env:OPENAI_MODEL="claude-sonnet-5"
qwen
模型 21 Model ID

复制 Model ID.

Claude
Claude Opus 5.5 claude-opus-5-5
Claude Fable 5.1 claude-fable-5-1
Claude Opus 5 claude-opus-5
Claude Sonnet 5.5 claude-sonnet-5-5
Claude Sonnet 5 claude-sonnet-5
Claude Fable 5 claude-fable-5
Claude Opus 4.8 claude-opus-4-8
Claude Opus 4.7 claude-opus-4-7
Claude Sonnet 4.6 claude-sonnet-4-6
Claude Haiku 4.5 claude-haiku-4-5
Claude Opus 4.6 claude-opus-4-6
Claude Sonnet 4.5 claude-sonnet-4-5
Claude Opus 4.5 claude-opus-4-5
GPT
GPT 6 Sol gpt-6-sol
GPT 6 Luna gpt-6-luna
GPT 6 Astra gpt-6-astra
GPT 5.6 Sol gpt-5-6-sol
GPT 5.6 Terra gpt-5-6-terra
GPT 5.6 Luna gpt-5-6-luna
聊天GPT 5.5 gpt-5-5
GPT 6.1 Sol gpt-6.1-sol
CLI

Aider

关联

Aider 通过 OpenAI 兼容变量进行工作。

  1. 1

    安装 Aider:python -m pip install -U aider-chat。

  2. 2

    在 git 项目中打开一个终端,其中测试编辑是安全的。

  3. 3

    设置 OPENAI_API_BASE 和 OPENAI_API_KEY。

  4. 4

    运行 aider --model openai/claude-sonnet-5。

  5. 5

    For an image, run /add image.png or /paste, then ask a text question; the selected model must support vision.

  6. 6

    首先要求它解释一个文件;仅在验证连接后才允许编辑。

python -m pip install -U aider-chat OPENAI_API_BASE=https://apiclo.com/v1 OPENAI_API_KEY=sk-hub-... aider --model openai/claude-sonnet-5
模型 21 Model ID

复制 Model ID.

Claude
Claude Opus 5.5 openai/claude-opus-5-5
Claude Fable 5.1 openai/claude-fable-5-1
Claude Opus 5 openai/claude-opus-5
Claude Sonnet 5.5 openai/claude-sonnet-5-5
Claude Sonnet 5 openai/claude-sonnet-5
Claude Fable 5 openai/claude-fable-5
Claude Opus 4.8 openai/claude-opus-4-8
Claude Opus 4.7 openai/claude-opus-4-7
Claude Sonnet 4.6 openai/claude-sonnet-4-6
Claude Haiku 4.5 openai/claude-haiku-4-5
Claude Opus 4.6 openai/claude-opus-4-6
Claude Sonnet 4.5 openai/claude-sonnet-4-5
Claude Opus 4.5 openai/claude-opus-4-5
GPT
GPT 6 Sol openai/gpt-6-sol
GPT 6 Luna openai/gpt-6-luna
GPT 6 Astra openai/gpt-6-astra
GPT 5.6 Sol openai/gpt-5-6-sol
GPT 5.6 Terra openai/gpt-5-6-terra
GPT 5.6 Luna openai/gpt-5-6-luna
聊天GPT 5.5 openai/gpt-5-5
GPT 6.1 Sol openai/gpt-6.1-sol
CLI harness

Oh My Pi (OMP)

关联

OMP connects through ~/.omp/agent/models.yml. Vision capability is declared with the model input field.

  1. 1

    Install OMP with curl -fsSL https://omp.sh/install | sh; on Windows PowerShell use irm https://omp.sh/install.ps1 | iex.

  2. 2

    Create ~/.omp/agent/models.yml and add the apiclo custom provider.

  3. 3

    Set apiKey to the APICLO_API_KEY variable name instead of putting the secret in a repository.

  4. 4

    Keep input: [text, image] on vision models: OMP checks this field before sending an attachment.

  5. 5

    Run omp models find apiclo, then omp and test text, tools, and a separate image.

~/.omp/agent/models.yml
providers:
  apiclo:
    baseUrl: https://apiclo.com/v1
    api: openai-completions
    apiKey: APICLO_API_KEY
    models:
      - id: gpt-6-astra
        name: GPT 6 Astra
        input: [text, image]
        contextWindow: 200000
        maxTokens: 128000
      - id: claude-fable-5-1
        name: Claude Fable 5.1
        input: [text, image]
        contextWindow: 1000000
        maxTokens: 128000
export APICLO_API_KEY="sk-hub-..." omp models find apiclo
模型 21 Model ID

复制 Model ID.

Claude
Claude Opus 5.5 claude-opus-5-5
Claude Fable 5.1 claude-fable-5-1
Claude Opus 5 claude-opus-5
Claude Sonnet 5.5 claude-sonnet-5-5
Claude Sonnet 5 claude-sonnet-5
Claude Fable 5 claude-fable-5
Claude Opus 4.8 claude-opus-4-8
Claude Opus 4.7 claude-opus-4-7
Claude Sonnet 4.6 claude-sonnet-4-6
Claude Haiku 4.5 claude-haiku-4-5
Claude Opus 4.6 claude-opus-4-6
Claude Sonnet 4.5 claude-sonnet-4-5
Claude Opus 4.5 claude-opus-4-5
GPT
GPT 6 Sol gpt-6-sol
GPT 6 Luna gpt-6-luna
GPT 6 Astra gpt-6-astra
GPT 5.6 Sol gpt-5-6-sol
GPT 5.6 Terra gpt-5-6-terra
GPT 5.6 Luna gpt-5-6-luna
聊天GPT 5.5 gpt-5-5
GPT 6.1 Sol gpt-6.1-sol
CLI harness

Pi

关联

Pi supports custom OpenAI-compatible models through models.json; declare image capability explicitly.

  1. 1

    Install Pi using its official instructions and create ~/.pi/agent/models.json.

  2. 2

    Set APICLO_API_KEY in the environment; do not store the key in a project file.

  3. 3

    In /model, select apiclo/gpt-6-astra or apiclo/claude-fable-5-1.

  4. 4

    Test a short text request, a tool call, and a separate image with a text question. Declaring input: image alone does not prove delivery.

~/.pi/agent/models.json
{
  "providers": {
    "apiclo": {
      "baseUrl": "https://apiclo.com/v1",
      "api": "openai-completions",
      "apiKey": "$APICLO_API_KEY",
      "models": [
        { "id": "gpt-6-astra", "input": ["text", "image"], "contextWindow": 200000 },
        { "id": "claude-fable-5-1", "input": ["text", "image"], "contextWindow": 1000000 }
      ]
    }
  }
}
模型 21 Model ID

复制 Model ID.

Claude
Claude Opus 5.5 claude-opus-5-5
Claude Fable 5.1 claude-fable-5-1
Claude Opus 5 claude-opus-5
Claude Sonnet 5.5 claude-sonnet-5-5
Claude Sonnet 5 claude-sonnet-5
Claude Fable 5 claude-fable-5
Claude Opus 4.8 claude-opus-4-8
Claude Opus 4.7 claude-opus-4-7
Claude Sonnet 4.6 claude-sonnet-4-6
Claude Haiku 4.5 claude-haiku-4-5
Claude Opus 4.6 claude-opus-4-6
Claude Sonnet 4.5 claude-sonnet-4-5
Claude Opus 4.5 claude-opus-4-5
GPT
GPT 6 Sol gpt-6-sol
GPT 6 Luna gpt-6-luna
GPT 6 Astra gpt-6-astra
GPT 5.6 Sol gpt-5-6-sol
GPT 5.6 Terra gpt-5-6-terra
GPT 5.6 Luna gpt-5-6-luna
聊天GPT 5.5 gpt-5-5
GPT 6.1 Sol gpt-6.1-sol
CLI harness

Kimi Code

关联

Kimi Code accepts a custom OpenAI-compatible provider; ApiClo compatibility is still undergoing our test matrix.

  1. 1

    Install Kimi Code and open ~/.kimi-code/config.toml; preserve your existing settings.

  2. 2

    Set APICLO_API_KEY in the environment and add an openai provider with a /v1 base URL.

  3. 3

    Register the required model with image_in and tool_use, then select it in the client.

  4. 4

    Test text, tools, reasoning, and images separately. Do not treat this integration as validated for autonomous tasks until the tests pass.

~/.kimi-code/config.toml
[providers.apiclo]
type = "openai"
base_url = "https://apiclo.com/v1"
api_key_env = "APICLO_API_KEY"

[models."apiclo/gpt-6-astra"]
provider = "apiclo"
model = "gpt-6-astra"
max_context_size = 200000
capabilities = ["image_in", "tool_use"]
模型 21 Model ID

复制 Model ID.

Claude
Claude Opus 5.5 claude-opus-5-5
Claude Fable 5.1 claude-fable-5-1
Claude Opus 5 claude-opus-5
Claude Sonnet 5.5 claude-sonnet-5-5
Claude Sonnet 5 claude-sonnet-5
Claude Fable 5 claude-fable-5
Claude Opus 4.8 claude-opus-4-8
Claude Opus 4.7 claude-opus-4-7
Claude Sonnet 4.6 claude-sonnet-4-6
Claude Haiku 4.5 claude-haiku-4-5
Claude Opus 4.6 claude-opus-4-6
Claude Sonnet 4.5 claude-sonnet-4-5
Claude Opus 4.5 claude-opus-4-5
GPT
GPT 6 Sol gpt-6-sol
GPT 6 Luna gpt-6-luna
GPT 6 Astra gpt-6-astra
GPT 5.6 Sol gpt-5-6-sol
GPT 5.6 Terra gpt-5-6-terra
GPT 5.6 Luna gpt-5-6-luna
聊天GPT 5.5 gpt-5-5
GPT 6.1 Sol gpt-6.1-sol
Agent orchestrator

Orca

关联

Orca manages multiple CLI agents and isolated git worktrees. It does not replace the child agent's provider configuration.

  1. 1

    First configure one working ApiClo executor: Codex, Claude Code, OpenCode, or OMP, including a separate vision test.

  2. 2

    Install Orca Desktop/ADE from the official release for your OS and open the target git repository.

  3. 3

    Add the already configured CLI as an agent runtime. The ApiClo key stays in the CLI's secure store or environment, not in Orca project files.

  4. 4

    Use a separate worktree per agent for parallel work and cap the number of concurrent workers.

  5. 5

    Send images to the specific child CLI session. Support is determined by that CLI's model capability: OpenCode modalities, Harness/OMP input, or Crush supports-images.

Important

Orca is an orchestrator, not an OpenAI-compatible provider. Do not put the Base URL and API key into Orca instead of configuring Codex/OpenCode/OMP.

CLI harness

Crush

关联

Crush supports OpenAI-compatible providers and a per-model supports-images flag.

  1. 1

    Install current Crush and open the global crushrc at ~/.config/crush/crushrc or %USERPROFILE%\.config\crush\crushrc.

  2. 2

    Add an apiclo provider of type openai-compat and disable automatic addition of unknown models.

  3. 3

    Register each model with model add and set --supports-images true only for vision models.

  4. 4

    Select the large model with model large and start Crush in a test project.

  5. 5

    On Windows, include a text question with the image: some Crush versions reject an image-only prompt.

~/.config/crush/crushrc
provider add apiclo \
  --name "ApiClo" \
  --type openai-compat \
  --base-url "https://apiclo.com/v1" \
  --api-key "$APICLO_API_KEY" \
  --discover-models false

model add apiclo/gpt-6-astra \
  --name "GPT 6 Astra" \
  --context-window 200000 \
  --default-max-tokens 128000 \
  --can-reason true \
  --supports-images true

model large apiclo/gpt-6-astra
模型 21 Model ID

复制 Model ID.

Claude
Claude Opus 5.5 claude-opus-5-5
Claude Fable 5.1 claude-fable-5-1
Claude Opus 5 claude-opus-5
Claude Sonnet 5.5 claude-sonnet-5-5
Claude Sonnet 5 claude-sonnet-5
Claude Fable 5 claude-fable-5
Claude Opus 4.8 claude-opus-4-8
Claude Opus 4.7 claude-opus-4-7
Claude Sonnet 4.6 claude-sonnet-4-6
Claude Haiku 4.5 claude-haiku-4-5
Claude Opus 4.6 claude-opus-4-6
Claude Sonnet 4.5 claude-sonnet-4-5
Claude Opus 4.5 claude-opus-4-5
GPT
GPT 6 Sol gpt-6-sol
GPT 6 Luna gpt-6-luna
GPT 6 Astra gpt-6-astra
GPT 5.6 Sol gpt-5-6-sol
GPT 5.6 Terra gpt-5-6-terra
GPT 5.6 Luna gpt-5-6-luna
聊天GPT 5.5 gpt-5-5
GPT 6.1 Sol gpt-6.1-sol
Desktop / CLI harness

Goose

关联

Goose supports custom OpenAI-compatible providers in Desktop and CLI. Verify image capability in the installed version with a separate test.

  1. 1

    Open Settings → Models → Configure providers → Add Custom Provider.

  2. 2

    Provider Type: OpenAI Compatible; Display Name: ApiClo; API URL: https://apiclo.com/v1/chat/completions.

  3. 3

    Enable Authentication, save the sk-hub key, and add gpt-6-astra and claude-fable-5-1.

  4. 4

    Enable Streaming Support and verify a short text request.

  5. 5

    The current Goose custom-provider screen has no universal per-model vision flag. If the attachment button is hidden or the file is removed before the request, use OpenCode, Harness, OMP, or Crush where the capability is explicit.

API URL: https://apiclo.com/v1/chat/completions Models: gpt-6-astra, claude-fable-5-1
模型 21 Model ID

复制 Model ID.

Claude
Claude Opus 5.5 claude-opus-5-5
Claude Fable 5.1 claude-fable-5-1
Claude Opus 5 claude-opus-5
Claude Sonnet 5.5 claude-sonnet-5-5
Claude Sonnet 5 claude-sonnet-5
Claude Fable 5 claude-fable-5
Claude Opus 4.8 claude-opus-4-8
Claude Opus 4.7 claude-opus-4-7
Claude Sonnet 4.6 claude-sonnet-4-6
Claude Haiku 4.5 claude-haiku-4-5
Claude Opus 4.6 claude-opus-4-6
Claude Sonnet 4.5 claude-sonnet-4-5
Claude Opus 4.5 claude-opus-4-5
GPT
GPT 6 Sol gpt-6-sol
GPT 6 Luna gpt-6-luna
GPT 6 Astra gpt-6-astra
GPT 5.6 Sol gpt-5-6-sol
GPT 5.6 Terra gpt-5-6-terra
GPT 5.6 Luna gpt-5-6-luna
聊天GPT 5.5 gpt-5-5
GPT 6.1 Sol gpt-6.1-sol
CLI

双子座命令行界面

关联

Gemini CLI 目前不是一个好的直接 ApiClo 目标,除非您的构建允许您设置自定义 OpenAI/Anthropic 端点​​。

  1. 1

    首先检查您的 Gemini CLI 版本是否有自定义基本 URL 设置。

  2. 2

    如果自定义端点不可用,请勿尝试覆盖 Google 系统变量:使用 Cline、Roo、Kilo 或 Qwen Code。

  3. 3

    如果自定义 OpenAI 兼容端点可用,请使用基本 URL https://apiclo.com/v1、sk-hub API 密钥和模型 claude-sonnet-5。

  4. 4

    Verify images with a separate test: the custom endpoint must receive an image part, not only a local path. If that Gemini CLI version cannot do this, use OpenCode, Harness, OMP, or Crush.

  5. 5

    设置后,仅运行只读测试。如果客户端仍然调用 Google 端点,请切换到支持的 CLI。

Recommended alternative: Qwen Code, Cline, Roo Code, Kilo Code
08

代理和本地路由器

对于托管代理,请使用 ApiClo 接口,而不是外部 API 中的免费模型。

管理助理

爱马仕代理

关联

内置 Hermes 位于 ApiClo 内部:平衡、模型、内存和历史记录均由代理管理。

  1. 1

    打开代理并选择 Hermes。

  2. 2

    从付费列表中选择一个模型:claude-sonnet-5、claude-opus-4-8、claude-sonnet-4-6。

  3. 3

    对于网页,在聊天中启用网络上下文; URL 将通过 ApiClo 阅读器/浏览器后备读取。

  4. 4

    For an image, use the composer attachment and a vision-capable model; after upload ask a text question to distinguish real image input from a filename.

  5. 5

    要让 Hermes 使用您的计算机,请下载 Desktop Bridge,创建配对代码,然后仅授予所需的文件或文件夹权限。

  6. 6

    对于长任务,避免无缘无故地在链中切换模型;它有助于缓存和上下文。

Windows应用程序

ApiClo 桌面/本地路由器

关联

当客户端仅与本地主机通信或您想要将密钥集中在计算机上时,本地路由器非常有用。

  1. 1

    下载 ApiClo Desktop Bridge 并在与 IDE/CLI 相同的计算机上运行它。

  2. 2

    将上游 sk-hub 密钥粘贴到 Desktop Bridge 中。

  3. 3

    单击“获取模型”并确保加载模型列表。

  4. 4

    单击启动路由器。

  5. 5

    在 IDE/CLI 中,设置本地基本 URL http://127.0.0.1:18441/v1 和任何非空客户端 API 密钥。

  6. 6

    For images, enable the capability in the IDE/CLI itself: Desktop Router transparently forwards multipart/base64 image content but does not create an attachment button or declare vision for the client.

  7. 7

    仅测试回复即可;如果没有应答,请检查本地路由器是否正在运行以及端口 18441 是否空闲。

Download Windows: https://apiclo.com/downloads/ApiCloDesktopBridge.exe Python app: https://apiclo.com/downloads/desktop-bridge-app.pyw Python script: https://apiclo.com/downloads/desktop-bridge.py Local Base URL: http://127.0.0.1:18441/v1 Client API Key: any non-empty value Upstream key in Desktop Bridge: sk-hub-...

首先单击“获取模型”,然后单击“启动路由器”。在 IDE 中,使用本地基本 URL,而不是公共 URL。

模型 21 Model ID

复制 Model ID.

Claude
Claude Opus 5.5 claude-opus-5-5
Claude Fable 5.1 claude-fable-5-1
Claude Opus 5 claude-opus-5
Claude Sonnet 5.5 claude-sonnet-5-5
Claude Sonnet 5 claude-sonnet-5
Claude Fable 5 claude-fable-5
Claude Opus 4.8 claude-opus-4-8
Claude Opus 4.7 claude-opus-4-7
Claude Sonnet 4.6 claude-sonnet-4-6
Claude Haiku 4.5 claude-haiku-4-5
Claude Opus 4.6 claude-opus-4-6
Claude Sonnet 4.5 claude-sonnet-4-5
Claude Opus 4.5 claude-opus-4-5
GPT
GPT 6 Sol gpt-6-sol
GPT 6 Luna gpt-6-luna
GPT 6 Astra gpt-6-astra
GPT 5.6 Sol gpt-5-6-sol
GPT 5.6 Terra gpt-5-6-terra
GPT 5.6 Luna gpt-5-6-luna
聊天GPT 5.5 gpt-5-5
GPT 6.1 Sol gpt-6.1-sol
09

原始 API 和 SDK

ApiClo 通过 public /v1 接受 OpenAI 兼容、Anthropic 兼容和响应式请求。

发布/聊天/完成

OpenAI-compatible

关联

IDE、SDK 和大多数自托管接口的主要路线。

curl https://apiclo.com/v1/chat/completions \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "claude-sonnet-5",
    "messages": [{"role": "user", "content": "Hi"}],
    "max_tokens": 512,
    "stream": true
  }'
发布/消息

Anthropic-compatible

关联

将此用于需要 Claude Messages API 的客户端。

curl https://apiclo.com/v1/messages \
  -H "x-api-key: YOUR_API_KEY" \
  -H "anthropic-version: 2023-06-01" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "claude-sonnet-5",
    "max_tokens": 512,
    "messages": [{"role": "user", "content": "Hi"}]
  }'
发布/回复

响应API

关联

将此用于需要响应有线 API 的客户端。

curl https://apiclo.com/v1/responses \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "claude-sonnet-5",
    "input": "Write a short checklist for release QA."
  }'
OpenAI客户端

Python SDK

关联

适合脚本、后端作业和测试。

from openai import OpenAI

client = OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://apiclo.com/v1",
)

response = client.chat.completions.create(
    model="claude-sonnet-5",
    messages=[{"role": "user", "content": "Hi"}],
    max_tokens=512,
)

print(response.choices[0].message.content)
开放式封装

JavaScript / TypeScript

关联

适合前端支持的 API 路由和 Node.js 服务。

import OpenAI from "openai";

const client = new OpenAI({
  apiKey: process.env.APICLAUDE_API_KEY,
  baseURL: "https://apiclo.com/v1",
});

const response = await client.chat.completions.create({
  model: "claude-sonnet-5",
  messages: [{ role: "user", content: "Hi" }],
  max_tokens: 512,
});

console.log(response.choices[0].message.content);
10

Verify before real work

First prove that the client is connected correctly. This takes a minute and saves money on broken IDE requests.

1. /models

Open the model list with the same key used by the client. If it does not open, fix the key or Base URL first.

https://apiclo.com/v1/models
2. Non-stream OK

Send a short non-stream request: Reply only OK. This checks the key, model, and base chat route.

Reply only OK
3. Stream OK

If the client supports streaming, repeat the same short test with stream. This catches SSE issues before a large task.

stream: true
4. Read-only folder

For an IDE agent, ask it to read the current folder and say whether README.md exists, without editing files.

Look at the current folder and say whether README.md exists. Do not change anything.
5. Tool call

If the client uses tools, run a small read-only tool task before heavy coding. Success should include a normal answer, not an empty tool result.

6. Long context

Test long context only after basic checks pass. Start with specific files, not the whole repository.

11

Keys, usage, and logs

One balance can serve many clients, but separate keys by project make debugging and cost control easier.

One key per project

Create a separate API key for each IDE, CLI, backend, or test environment. Then Usage and Logs show exactly what spent tokens.

Where to check spend

Balance and top-up are in Dashboard. Detailed requests, tokens, cost, status, and errors are in Logs.

Why IDE calls can cost more than chat

Coding extensions often send tool schemas, terminal output, diffs, history, file maps, and a large system prompt. This is normal agent behavior. To reduce spend, ask for specific files, exclude node_modules/dist/logs/dumps, and do not raise maxTokens without a reason.

Stream aborts and retries

If you stop a stream after the model has started replying, part of the request may already be counted. Do not blindly retry file-changing tool calls; check Logs and file state first.

Referral wheel

After a valid registration through a referral link, the invited user receives one free spin. The referrer does not receive a registration spin; referral rewards are 10% from the first level and 3% from the second level under the referral program rules. Quest spins use a separate prize pool. Every spin wins non-withdrawable ApiClo service credit; current odds are always published in the full rules.

12

模型

对于 IDE 和 API,请使用付费模型 ID。为网络聊天留下免费别名。

GPT 6.1 Sol · API / IDE / Hermes / Web

输入、输出和提示缓存价格与 GPT 6 Sol 相同。具体价格见下表。

  • API / IDE — 使用您的 API 密钥并选择 gpt-6.1-sol。按下方示例向 /v1/chat/completions 或 /v1/responses 发送请求。
  • 网络聊天 — 打开模型选择器,选择 GPT 6.1 Sol 并发送消息。推理强度默认为 high。
  • Hermes — 在智能体设置或聊天模型选择器中选择 GPT 6.1 Sol,然后运行任务。工具使用相同的 API 路由。

请明确选择 gpt-6.1-sol。ApiClo 默认使用 high,并保留指定的 low、medium、high、xhigh 或 max。不支持 none 和 minimal。支持文本和图像输入。GPT 6 Sol 仍是独立模型。

IDE 和智能体工具可使用 ApiClo Chat Completions 或 Responses。ApiClo 将 Chat 工具转换为上游 Responses。返回结果时保留原始 tool_call_id 或 call_id 及对话顺序。输出限制由订阅提供商控制。

{"model":"gpt-6.1-sol","reasoning_effort":"high","messages":[{"role":"user","content":"Hello"}],"stream":true}
{"model":"gpt-6.1-sol","reasoning":{"effort":"high"},"input":"Hello","stream":true}
Claude Sonnet 5.5 · API / Hermes / Web

使用 claude-sonnet-5-5。推理强度为 low、medium、high(默认)、xhigh 或 max。Messages 支持 adaptive,以及 low/medium/high 的 between_tools。不支持手动思考预算、disabled、强制工具调用和助手预填充。工具循环中请原样保留带签名的思考块及前文,不要将这些块传给其他模型。使用默认采样设置。Claude Code 需要 2.1.284 或更新版本。

claude-sonnet-5-5
Model ID Recommended for Provider context Provider output ApiClo output 工具 Vision Notes
claude-opus-5-5 默认推理强度为 medium;价格与 Opus 5 相同 1M 128k 128k max · 64k default yes yes Use the exact model ID
gpt-6-sol 默认推理强度为 high;价格与 Sol 5.6 相同 1.05M 128k 128k max · 64k default yes client-dependent Use the exact model ID
gpt-6-luna 价格为 Sol 的十分之一 1.05M 128k 128k max · 64k default yes client-dependent Use the exact model ID
gpt-6-astra high effort by default; ApiClo input up to 200k 1.05M 128k Responses: provider-managed output limit yes client-dependent Use the exact model ID
claude-fable-5-1 latest Fable version 1M 128k 128k max · 64k default yes yes Use the exact model ID
gpt-5-6-sol flagship preview route 1.05M 128k 128k max · 64k default yes client-dependent Use the exact model ID
claude-opus-5 new flagship route 1M 128k 128k max · 64k default yes yes Use the exact model ID
claude-sonnet-5-5 默认 high;自适应思考 1M 128k 128k max · 64k default yes yes Use the exact model ID
claude-sonnet-5 balanced paid route 1M 128k 128k max · 64k default yes yes Use the exact model ID
gpt-5-6-terra balanced preview route 1.05M 128k 128k max · 64k default yes client-dependent Use the exact model ID
gpt-5-6-luna fast preview route 1.05M 128k 128k max · 64k default yes client-dependent Use the exact model ID
claude-fable-5 previous Fable version 1M 128k 128k max · 64k default yes yes Use the exact model ID
claude-opus-4-8 strong coding and reasoning 1M 128k 128k max · 64k default yes yes Use the exact model ID
claude-opus-4-7 strong coding and reasoning 1M 128k 128k max · 64k default yes yes Use the exact model ID
claude-sonnet-4-6 stable default 1M 128k 128k max · 64k default yes yes Use the exact model ID
gpt-5-5 GPT paid route 1.05M 128k 128k max · 64k default yes client-dependent Use the exact model ID
claude-haiku-4-5 fast and cheaper 200k 64k 64k yes yes Use the exact model ID
claude-opus-4-6 legacy strong route 1M 128k 128k max · 64k default yes yes Use the exact model ID
claude-sonnet-4-5 stable fallback 200k 64k 64k yes yes Use the exact model ID
claude-opus-4-5 legacy strong route 200k 64k 64k yes yes Use the exact model ID
gpt-6.1-sol 默认 high;通过 Responses 调用工具 1.05M 128k 输出限制由提供商管理 yes client-dependent Use the exact model ID
What these limits mean

Context and provider output are the model's official limits. ApiClo no longer applies the old 128k/184k input-token cap: requests are bounded by the selected model's window and the general safe request-size limit. The public API uses a safe 64k output-token default; a client can explicitly request up to 128k on models whose provider limit supports it. On fallback, ApiClo automatically clamps the request to the actual target model's maximum.

Anthropic model limits · OpenAI model limits

模型与提示缓存费率

所有金额均为每百万 token 的美元价格。只有供应商明确报告缓存写入或读取 token 时,才适用相应缓存费率。

比较包含提示缓存的 API 费用时,应对所有模型使用相同的 token 构成。以下示例共计一百万 token:40 万普通输入、40 万缓存读取输入和 20 万输出。无缓存对照为 80 万普通输入和 20 万输出。这是计算示例,并非用户实测平均费用或 API 供应商排名。缓存写入和刷新另行计费;实际费用取决于缓存命中情况和模型用量。

每百万总 token 的计算公式: 0.4 × 普通输入费率 + 0.4 × 缓存读取费率 + 0.2 × 输出费率。

模型 普通输入 缓存读取 缓存写入 输出 每百万总 token 示例:含缓存/无缓存
Claude Opus 5.5
claude-opus-5-5
$0.40 $0.04 · 0.10× $0.50 · 1.25× · 5 min
$0.80 · 2.00× · 1 h
$0.40 $0.256
对比 $0.400
GPT 6 Sol
gpt-6-sol
$0.40 $0.04 · 0.10× $0.50 · 1.25× $0.40 $0.256
对比 $0.400
GPT 6 Luna
gpt-6-luna
$0.04 $0.004 · 0.10× $0.05 · 1.25× $0.04 $0.026
对比 $0.040
GPT 6 Astra
gpt-6-astra
$0.60 $0.12 · 0.20× $0.75 · 1.25× $0.60 $0.408
对比 $0.600
Claude Fable 5.1
claude-fable-5-1
$1.20 $0.16 · 0.13× $1.50 · 1.25× · 5 min
$2.40 · 2.00× · 1 h
$1.20 $0.784
对比 $1.200
GPT 5.6 Sol
gpt-5-6-sol
$0.40 $0.04 · 0.10× $0.50 · 1.25× $0.40 $0.256
对比 $0.400
Claude Opus 5
claude-opus-5
$0.40 $0.04 · 0.10× $0.50 · 1.25× · 5 min
$0.80 · 2.00× · 1 h
$0.40 $0.256
对比 $0.400
Claude Sonnet 5.5
claude-sonnet-5-5
$0.35 $0.035 · 0.10× $0.4375 · 1.25× · 5 min
$0.70 · 2.00× · 1 h
$0.35 $0.224
对比 $0.350
Claude Sonnet 5
claude-sonnet-5
$0.38 $0.038 · 0.10× $0.475 · 1.25× · 5 min
$0.76 · 2.00× · 1 h
$0.38 $0.243
对比 $0.380
GPT 5.6 Terra
gpt-5-6-terra
$0.30 $0.03 · 0.10× $0.375 · 1.25× $0.30 $0.192
对比 $0.300
GPT 5.6 Luna
gpt-5-6-luna
$0.19 $0.019 · 0.10× $0.238 · 1.25× $0.19 $0.122
对比 $0.190
Claude Fable 5
claude-fable-5
$0.80 $0.08 · 0.10× $1.00 · 1.25× · 5 min
$1.60 · 2.00× · 1 h
$0.80 $0.512
对比 $0.800
Claude Opus 4.8
claude-opus-4-8
$0.40 $0.04 · 0.10× $0.50 · 1.25× · 5 min
$0.80 · 2.00× · 1 h
$0.40 $0.256
对比 $0.400
Claude Opus 4.7
claude-opus-4-7
$0.29 $0.029 · 0.10× $0.363 · 1.25× · 5 min
$0.58 · 2.00× · 1 h
$0.29 $0.186
对比 $0.290
Claude Sonnet 4.6
claude-sonnet-4-6
$0.32 $0.032 · 0.10× $0.40 · 1.25× · 5 min
$0.64 · 2.00× · 1 h
$0.32 $0.205
对比 $0.320
聊天GPT 5.5
gpt-5-5
$0.40 $0.04 · 0.10× — $0.40 $0.256
对比 $0.400
Claude Haiku 4.5
claude-haiku-4-5
$0.32 $0.032 · 0.10× $0.40 · 1.25× · 5 min
$0.64 · 2.00× · 1 h
$0.32 $0.205
对比 $0.320
Claude Opus 4.6
claude-opus-4-6
$0.29 $0.029 · 0.10× $0.363 · 1.25× · 5 min
$0.58 · 2.00× · 1 h
$0.29 $0.186
对比 $0.290
Claude Sonnet 4.5
claude-sonnet-4-5
$0.32 $0.032 · 0.10× $0.40 · 1.25× · 5 min
$0.64 · 2.00× · 1 h
$0.32 $0.205
对比 $0.320
Claude Opus 4.5
claude-opus-4-5
$0.40 $0.04 · 0.10× $0.50 · 1.25× · 5 min
$0.80 · 2.00× · 1 h
$0.40 $0.256
对比 $0.400
GPT 6.1 Sol
gpt-6.1-sol
$0.40 $0.04 · 0.10× $0.50 · 1.25× $0.40 $0.256
对比 $0.400
缓存计费方式

Claude Fable 5.1 的缓存读取费率为输入费率的 2/15(约 13.33%),GPT 6 Astra 为 20%,当前目录中的其他模型为 10%。5 分钟缓存写入费率为输入费率的 125%,Claude 的 1 小时写入为 200%。供应商未报告某类缓存读取或写入 token 时,不收取该类缓存费用。自动回退仍按用户所选模型的费率计费。

Claude 将普通输入、缓存读取和缓存写入报告为独立且互斥的用量类别。因此,普通输入可能为零,而提示词用量出现在缓存读取或写入中;这些输入 token 并未丢失。编程客户端更改缓存前缀或自行发送新的 cache_control 块时,可能重新创建缓存。

每次请求的具体计算、缓存读取/写入 token 数和所用费率可在 Logs → Why charged? 中查看。

Anthropic pricing · OpenAI GPT-5.6 pricing

Jev · typed decisions API (beta)

Jev evaluates state and returns typed noul, choice, or score answers. It is not a chat model: /chat/completions, /responses, /messages, streaming, tools, and prose generation are unsupported.

Model ID: jev-latest · POST: https://apiclo.com/v1/decisions · compatible alias https://apiclo.com/v1/systemone · GET: https://apiclo.com/v1/models?type=decision

ApiClo price: $0.0525 per 1M input tokens; output tokens appear in usage but cost $0. Venice beta. Limits: state plus the longest question up to 32K tokens; state plus all questions up to 64K tokens. Evaluate decision quality on your own data.

Send Authorization: Bearer with your ApiClo key, Content-Type: application/json, and a unique Idempotency-Key (8–128 printable ASCII characters) for each logical request. Repeating the same key and body returns the saved answer; a timeout is never automatically resent.

curl -X POST https://apiclo.com/v1/decisions \
  -H 'Authorization: Bearer YOUR_APICLO_KEY' \
  -H 'Content-Type: application/json' \
  -H 'Idempotency-Key: ticket-123-v1' \
  -d '{"model":"jev-latest","state":"Payout failed","questions":{"urgent":{"type":"noul","instructions":"Is this urgent?"}}}'

Choice example: {"model":"jev-latest","state":{"ticket":"Duplicate charge"},"questions":{"team":{"type":"choice","instructions":"Which team?","criteria":{"billing":"Payments","technical":"Bugs"}}}}

Score example: {"model":"jev-latest","state":"Service unavailable","questions":{"severity":{"type":"score","instructions":"How severe?","criteria":["Low","Medium","High"]}}}

The TypeSafe Python SDK uses TYPESAFE_BASE_URL=https://apiclo.com and TYPESAFE_API_KEY=your ApiClo key. Pass an Idempotency-Key through extra_headers and disable automatic retries with RetryPolicy(max_retries=0); the SDK calls /v1/systemone.

from typesafe_sdk import Noul, RetryPolicy, TypeSafeClient

with TypeSafeClient(retry=RetryPolicy(max_retries=0)) as client:
    result = client.system_one(
        "Payout failed three times",
        {"urgent": Noul(instructions="Is this urgent?")},
        extra_headers={"Idempotency-Key": "ticket-123-v1"},
    )

Errors: invalid_decision_request — fix the JSON; balance_too_low — top up ApiClo; provider_credit_exhausted — temporary provider credit issue, no ApiClo charge; provider_rate_limited — Venice limit; provider_completion_unknown — outcome unknown, keep the Idempotency-Key; provider_response_unverified — invalid answer or usage, no charge.

Claude Opus 5.5 claude-opus-5-5 默认推理强度为 medium;价格与 Opus 5 相同 · 1M context · 128k provider output · 128k max · 64k default ApiClo output
GPT 6 Sol gpt-6-sol 默认推理强度为 high;价格与 Sol 5.6 相同 · 1.05M context · 128k provider output · 128k max · 64k default ApiClo output
GPT 6 Luna gpt-6-luna 价格为 Sol 的十分之一 · 1.05M context · 128k provider output · 128k max · 64k default ApiClo output
GPT 6 Astra gpt-6-astra high effort by default; ApiClo input up to 200k · 1.05M context · 128k provider output · Responses: provider-managed output limit ApiClo output
Claude Fable 5.1 claude-fable-5-1 latest Fable version · 1M context · 128k provider output · 128k max · 64k default ApiClo output
GPT 5.6 Sol gpt-5-6-sol flagship preview route · 1.05M context · 128k provider output · 128k max · 64k default ApiClo output
Claude Opus 5 claude-opus-5 new flagship route · 1M context · 128k provider output · 128k max · 64k default ApiClo output
Claude Sonnet 5.5 claude-sonnet-5-5 默认 high;自适应思考 · 1M context · 128k provider output · 128k max · 64k default ApiClo output
Claude Sonnet 5 claude-sonnet-5 balanced paid route · 1M context · 128k provider output · 128k max · 64k default ApiClo output
GPT 5.6 Terra gpt-5-6-terra balanced preview route · 1.05M context · 128k provider output · 128k max · 64k default ApiClo output
GPT 5.6 Luna gpt-5-6-luna fast preview route · 1.05M context · 128k provider output · 128k max · 64k default ApiClo output
Claude Fable 5 claude-fable-5 previous Fable version · 1M context · 128k provider output · 128k max · 64k default ApiClo output
Claude Opus 4.8 claude-opus-4-8 strong coding and reasoning · 1M context · 128k provider output · 128k max · 64k default ApiClo output
Claude Opus 4.7 claude-opus-4-7 strong coding and reasoning · 1M context · 128k provider output · 128k max · 64k default ApiClo output
Claude Sonnet 4.6 claude-sonnet-4-6 stable default · 1M context · 128k provider output · 128k max · 64k default ApiClo output
聊天GPT 5.5 gpt-5-5 GPT paid route · 1.05M context · 128k provider output · 128k max · 64k default ApiClo output
Claude Haiku 4.5 claude-haiku-4-5 fast and cheaper · 200k context · 64k provider output · 64k ApiClo output
Claude Opus 4.6 claude-opus-4-6 legacy strong route · 1M context · 128k provider output · 128k max · 64k default ApiClo output
Claude Sonnet 4.5 claude-sonnet-4-5 stable fallback · 200k context · 64k provider output · 64k ApiClo output
Claude Opus 4.5 claude-opus-4-5 legacy strong route · 200k context · 64k provider output · 64k ApiClo output
GPT 6.1 Sol gpt-6.1-sol 默认 high;通过 Responses 调用工具 · 1.05M context · 128k provider output · 输出限制由提供商管理 ApiClo output

GPT 6 Astra /v1/responses: max_output_tokens, max_completion_tokens and max_tokens are unsupported on the current route and are not forwarded. X-ApiClo-Ignored-Parameters lists these fields when present. They do not guarantee a maximum response length or cost. JSON and SSE preserve the complete response, history, tools and usage/cache. Billing uses actual usage, which may exceed the requested limit. Use balance and key-access settings for budgeting instead of these fields.

The route retains metadata and user locally for request history and billing, but does not forward them to the provider. Client-supplied fields are also listed in X-ApiClo-Ignored-Parameters. Message contents and tools are unchanged. The client cache key partitions the session and is converted into an attested route key, as with GPT-5.6.

现场模特名单

如果客户端显示 Model not found,请先用您的密钥打开 /models 并检查确切的 id。

https://apiclo.com/v1/models
13

Troubleshooting

常见错误几乎总是归结为密钥、基本 URL、模型 ID 或协议不匹配。

401 / API 密钥无效

检查粘贴的完整 sk-hub 密钥是否不含空格。如果密钥已显示一次并丢失,请创建一个新密钥。

404 / 找不到型号

将模型 ID 与 /models 进行比较。不要使用显示名称代替 ID。

403 / model access denied

Most often this is the wrong model id for the client. In Continue, SDKs, and raw API calls, use claude-sonnet-5, not apiclaude/claude-sonnet-5.

连接失败

检查客户端是否添加了第二个/v1。 OpenAI兼容需要/v1; Anthropic Messages/自定义库通常需要不带 /v1 的根目录。

上下文太大

排除node_modules、dist、日志、二进制文件和长转储。对于长期任务,创建移交摘要。

429 / 暂时不可用

使用退避重试。如果这是 IDE,请保留相同的密钥和模型 ID 以保留会话关联性。

图片不被接受

某些 IDE 会限制兼容模式下的视野。首先测试纯文本请求,然后单独测试图像。