Anthropic

Claude Fable 5.1

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

Claude Fable 5.1 在各方面均对 Claude Fable 5 进行了优化提升,在智能体编码、长时间运行的智能体工作流以及知识工作场景下提升最为显著:具体体现在大规模代码重构、前端与可视化代码生成,以及金融和分析类任务方面。相比 Fable 5,它输出的方案与摘要也往往更加简洁。建议你在当前使用 Fable 5 的所有场景直接升级试用该版本,同时在高推理强度任务中搭配 Opus 5 一同使用。

Input / output modalities
文本 · 图像 to 文本
Reference input / output price
Input¥70Output¥350per 1M tokens
Context window
1M
Added to catalog
Sep 2, 2026

Providers and pricing

ProviderInput /MOutput /MCached /MContextMax outputDetails
Amazon Bedrock¥70¥350¥1.751M128K

Amazon Bedrock

Latency
2.58s
Throughput
50 tokens/s
Context
1M

Pricing

Input
¥70/M tokens
Output
¥350/M tokens
Cached
¥1.75/M tokens
Cache write (1 hour)
¥140/M tokens
Cache write (5 minutes)
¥87.5/M tokens

Additional pricing

Cache write
¥87.5
Cache read
¥1.75
Cache write price 5m
¥87.5
Cache write price 1h
¥140

Specifications

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

Claude Fable 5.1 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.1", 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