Anthropic
Claude Fable 5
Anthropic 最强公开可用模型,首个 Mythos 级(高于 Opus),面向最高难度推理与长程智能体任务
上下文长度1M tokens
模型类型大语言模型 (LLM)
多模态支持文本、图像输入
定价与规格
💰 定价
输入$10 / M tokens
输出$50 / M tokens
缓存创建5m: $12.50 / MTok;1h: $20 / MTok
缓存命中$1 / MTok
⚙️ 规格
上下文长度1M tokens
模型类型大语言模型 (LLM)
多模态支持文本、图像输入
自适应思考始终开启(不可关闭)
最大输出128K tokens
发布时间2026年6月9日
知识截止2026年1月
API 兼容性Claude、Claude Code、OpenAI
API 调用示例
Python
import anthropic
client = anthropic.Anthropic(
api_key="your-api-key"
)
message = client.messages.create(
model="claude-fable-5",
max_tokens=1024,
messages=[
{"role": "user", "content": "Hello, Claude!"}
]
)
print(message.content[0].text)cURL
curl https://api.xairouter.com/v1/messages
-H "Content-Type: application/json"
-H "x-api-key: YOUR_API_KEY"
-H "anthropic-version: 2023-06-01"
-d '{
"model": "claude-fable-5",
"max_tokens": 1024,
"messages": [
{"role": "user", "content": "Hello, Claude!"}
]
}'开发者辅助
# Linux/macOS
export ANTHROPIC_AUTH_TOKEN=sk-Xvs... # 你的 API Key
export ANTHROPIC_BASE_URL=https://api.xairouter.com
# Windows CMD
set ANTHROPIC_AUTH_TOKEN=sk-Xvs...
set ANTHROPIC_BASE_URL=https://api.xairouter.com
# Windows PowerShell
$env:ANTHROPIC_AUTH_TOKEN="sk-Xvs..."
$env:ANTHROPIC_BASE_URL="https://api.xairouter.com"
# 启动 Claude Code
claude
# 现在可以直接使用 claude-fable-5 模型进行开发