返回模型列表

Fable 5 API可用

claude-fable-5

Anthropic 叙事与长文档模型,1M 上下文,适合超长仓库分析、规格整理和连续多轮改写。

来自:Anthropic输入类型:输出类型:

AI Code With 渠道可用性

同一模型按渠道折扣计费。复制渠道 code 可指定偏好。

渠道缓存命中率上下文
第三方claude3.9折
73.0%¥28.08/ M tokens¥140.4/ M tokens读取:¥2.808/ M tokens写入:¥35.1/ M tokens1M0.0s
企业混合池6.5折
73.0%¥46.8/ M tokens¥234/ M tokens读取:¥4.68/ M tokens写入:¥58.5/ M tokens1M0.0s

相关模型

来自 Anthropic

对比其他厂商的模型

Fable 5 API:价格、Model ID 与调用方式

通过 AI Code With 调用 Fable 5。Model ID 为 claude-fable-5,上下文 1M。标价约 $10.00 / $50.00 / 1M tokens,渠道折扣另计。 按 100,000 输入 / 10,000 输出 tokens 估算约 $0.5850。

Model IDclaude-fable-5
协议OpenAI Chat Completions · Anthropic Messages
上下文1M
最大输出128K

下一步:获取 API Key · Claude Code 接入教程 · Claude 模型对比 · 全部模型价格

费用估算

按当前渠道最低价 $3.90 / $19.50 / 1M tokens,cache 读 $0.3900,cache 写 $4.88 估算。实际扣费以账户余额和实时渠道为准。

估算费用$0.5850

cURL 示例

把 model 设为 claude-fable-5。页面 slug 只用于 URL,不能当作 API 参数。

curl https://api.aicodewith.ai/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $AICODEWITH_API_KEY" \
  -d '{
    "model": "claude-fable-5",
    "messages": [
      { "role": "user", "content": "What is the meaning of life?" }
    ]
  }'

常见问题

Fable 5 的 Model ID 是什么?

API 的 model 参数必须用 claude-fable-5。页面路径 /claude-fable-5 只是 URL,不能当作 model 值。

Fable 5 怎么调用?

用同一把 AI Code With API Key,请求 https://api.aicodewith.ai/v1/chat/completions(OpenAI Chat Completions)和 https://api.aicodewith.ai/v1/messages(Anthropic Messages,Authorization: Bearer),并把 model 设为 claude-fable-5。支持 OpenAI Chat Completions / Anthropic Messages。接入步骤见 Claude Code 接入教程。

Fable 5 的价格怎么算?

Fable 5 标价约 $10.00 / $50.00 / 1M tokens,渠道折扣另计。公开页展示可用渠道折扣;实际扣费以账户余额和当前渠道为准。 按 100,000 输入 / 10,000 输出 tokens 估算约 $0.5850。

Fable 5 的上下文有多长?

Fable 5 的输入上下文约为 1M,最大输出约 128K。把它当作容量上限,而不是每次都要填满的目标。