Redeem voucher

Anthropic

Claude Fable 5.2

anthropic/claude-fable-5.2
/v1/chat/completions/v1/messages/v1/responses/v1beta/models/*/v1/models/*

Claude Fable 5.2是Anthropic面向高难度技术任务打造的最强模型,相比Fable 5.1,它在代码编写、逻辑推理与视觉能力方面均有提升。在预发布测试中,它完成了原本难以实现的软件迁移工作,从零设计出可正常运行的电子设备,并在物理与数学领域的开放性难题上取得进展。该模型的表达清晰度优于早期Fable系列模型,输出速度最高比Fable 5.1快30%。自适应深度思考功能默认持续开启,推理强度分为低至最高多个档位(默认档位为高),并且能够在多轮对话中保留推理过程。Anthropic建议,大多数代码和知识类日常工作可选用Opus 5.5,而Fable 5.2适用于挑战性最高、开放性强的复杂问题。

Input / output modalities
文本 · 图像 to 文本
Reference input / output price
Input¥56Output¥280per 1M tokens
Context window
1M
Added to catalog
Nov 10, 2026

Providers and pricing

ProviderInput /MOutput /MCached /MContextMax outputDetails
Amazon Bedrock¥56¥280¥1.41M128K

Amazon Bedrock

Latency
2.83s
Throughput
47 tokens/s
Context
1M

Pricing

Input
¥56/M tokens
Output
¥280/M tokens
Cached
¥1.4/M tokens
Cache write (1 hour)
¥112/M tokens
Cache write (5 minutes)
¥70/M tokens

Additional pricing

Cache write
¥70
Cache read
¥1.4
Cache write price 5m
¥70
Cache write price 1h
¥112

Specifications

Context
1M
Max output
128K
Supported APIs
/v1/chat/completions/v1/messages/v1/responses/v1beta/models/*/v1/models/*

Claude Fable 5.2 code examples and API guide

Modelmesh normalizes requests and responses across service providers behind one consistent API.

Modelmesh provides an OpenAI-compatible Completion API for more than 300 models and service providers. Call it directly, through the OpenAI SDK, or with supported third-party SDKs.

Modelmesh-specific request headers in these examples are optional. When supplied, your application can appear on the Modelmesh rankings.

Supported endpointsSelect an endpoint to switch the example below.
/v1/chat/completions
from openai import OpenAI API_KEY = "$SSY_API_KEY" client = OpenAI( base_url="https://router.shengsuanyun.com/api/v1", api_key=API_KEY, ) try: completion = client.chat.completions.create( model="anthropic/claude-fable-5.2", messages=[{"role": "user", "content": "Which number is larger, 9.11 or 9.8?"}], temperature=0.6, top_p=0.7, stream=True, ) response_text = "" for chunk in completion: if chunk.choices and chunk.choices[0].delta.content is not None: content = chunk.choices[0].delta.content print(content, end="", flush=True) response_text += content except Exception as error: print(f"Request failed: {error}")
                
              

Related Models