模型与价格

输入 $1.91 / 输出 $9.56,单位 USD / 1M tokens。官方参考价与公开目录用于对账。

获取 API Key 返回模型价格

能力与接口

目录公开声明的接口:

  • Chat Completions:POST /chat/completions
  • Responses:POST /responses
  • Messages:POST /messages

上下文窗口:1000000 tokens;最大输出:128000 tokens。

客户端限制:该模型只提供 Anthropic Messages 协议,可在 Claude Code、Claude 桌面端和 Anthropic SDK 里调用;Codex、OpenCode 等 Responses 客户端不可用(详见 Codex 能用 Claude 吗)。

发送请求

Base URL:https://api.latentide.com。Key 只需创建一次,原有 SDK 改一行地址即可。

Chat Completions

curl https://api.latentide.com/chat/completions -H "Authorization: Bearer $LATENTIDE_API_KEY" -H "Content-Type: application/json" -d '{"model":"claude-fable-5-2","messages":[{"role":"user","content":"Hello"}]}'

Responses

curl https://api.latentide.com/responses -H "Authorization: Bearer $LATENTIDE_API_KEY" -H "Content-Type: application/json" -d '{"model":"claude-fable-5-2","input":"Hello"}'

Messages

curl https://api.latentide.com/messages -H "x-api-key: $LATENTIDE_API_KEY" -H "anthropic-version: 2023-06-01" -H "Content-Type: application/json" -d '{"model":"claude-fable-5-2","max_tokens":256,"messages":[{"role":"user","content":"Hello"}]}'