新我们如何抓出挂错模型的卖家,并在发生时为你退款。
UberLLM
Anthropic 标志

如何在Codex CLI中使用Claude Fable 5.2?

anthropic/claude-fable-5.2

Codex CLI 通过 UberLLM 的 Responses API 访问Claude Fable 5.2。在~/.codex/config.toml中,添加一个模型提供商,将base_url设置为https://api.uberllm.dev/v1和wire_api = "responses",将您的 UberLLM 密钥放入UBERLLM_API_KEY环境变量中,并将model设置为anthropic/claude-fable-5.2。 model_context_window被设置为1,000,000,即Claude Fable 5.2的上下文大小,因为 Codex 对它所知的 OpenAI 模型列表之外的模型假定为272,000个 token。

toml
model = "anthropic/claude-fable-5.2"
model_provider = "uberllm"
model_context_window = 1000000
web_search = "disabled"

[model_providers.uberllm]
name = "UberLLM"
base_url = "https://api.uberllm.dev/v1"
env_key = "UBERLLM_API_KEY"
wire_api = "responses"

Codex CLI 调用:OpenAI Responses API https://api.uberllm.dev/v1/responses · 完整的Codex CLI指南

把 ull_your_key 换成你的 UberLLM API 密钥。一个密钥可用于所有工具和所有模型。

通过 API,Claude Fable 5.2 在三个地址上响应,使用相同的 UberLLM 密钥和模型 ID anthropic/claude-fable-5.2:位于https://api.uberllm.dev/v1/chat/completions的 OpenAI 聊天补全、位于https://api.uberllm.dev/v1/responses的 OpenAI Responses API 以及位于https://api.uberllm.dev/v1/messages的 Anthropic Messages API。

Claude Fable 5.2 API 多少钱?

在 2026年11月19日,Claude Fable 5.2 通过 UberLLM 的价格是每百万输入 token $2.1549,每百万输出 token $10.7745,这比其标价 $8.00 和 $40.00 低 73.1%。市场上只有 53 家卖家可以提供此服务。在之前的 7 天里,其 398 次流式请求中有一半在 3.5 秒内获得了第一个 token,典型 prompt 为 57,505 个 token。它最多可读取 1,000,000 个 token 的上下文。UberLLM 不会在此价格上收取任何额外费用,失败的请求不收费。

价格更新于 UTC 08:00。

在其他工具中使用 Claude Fable 5.2

Codex CLI 中的其他模型